AWS Certified Developer Associate DVA-C02 Practice Question

Your company's cloud architecture leans heavily on AWS Lambda to process e-commerce transactions. The functions must scale automatically and remain unaffected by the state of previous invocations. A payment-processing function calls an external gateway and must reliably handle transactions during peak hours. To ensure the function adheres to a stateless design, what should you do?

  • Store transaction state data in an external database or caching service such as Amazon DynamoDB or Amazon ElastiCache.

  • Use environment variables to store transaction state between invocations.

  • Configure the Lambda function to process transactions asynchronously using an internal queue.

  • Enable automatic scaling on the Lambda function to handle the increased number of transactions.

AWS Certified Developer Associate DVA-C02
Development with AWS Services
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot