DVA-C02 Domain 1—Development with AWS Services
Explore critical AWS development practices to prepare for the DVA-C02 exam. Learn to design stateless APIs with Lambda, choose appropriate asynchronous messaging services, and improve system resilience. Understand how to implement idempotency and handle high-throughput event-driven architectures effectively.
We'll cover the following...
Question 1
A developer is building a stateless REST API using AWS Lambda as the backend for Amazon API Gateway. The API must scale automatically and should not store any user session data between requests.
Which design principle best supports this requirement?
A. Use Lambda environment variables to store session state.
B. Store session data in the /tmp directory.
C. Design the API to be stateless and externalize state.
D. Enable Sticky Sessions at the API Gateway level.