Easy DVA-C02 practice questions
Direct recall — confirm you know the core facts and definitions. 3 easy questions available — no sign-up, always free.
A developer is building a web application that stores user session tokens in a DynamoDB table. Each session should automatically be removed 24 hours after creation to reduce storage costs and keep the table clean. The developer wants a solution that requires minimal ongoing operational effort and no scheduled cleanup jobs. Which approach should the developer implement?
A developer is building an order-processing feature. When a customer submits an order through a web frontend, the frontend calls a Lambda function directly using the AWS SDK and must display the calculated order total to the customer immediately. The developer wants the SDK call to wait for the function to finish and return its result in the response. Which Lambda invocation type should the developer use?
A development team builds a serverless application using AWS SAM. Before deploying to the cloud, they want to run and debug their Lambda function handler logic locally, invoking it with a sample API Gateway event payload to verify the response, without incurring AWS charges or deploying anything. Which approach best supports this requirement during development?