Question 16
Question#16Topic1
A developer has written an AWS Lambda function. The function is CPU-bound. The developer wants to ensure that the function returns responses quickly.
How can the developer improve the function's performance?
AWS Certified Developer – Associate
DVA-C02 English PDF practice questions: 557 questions in source order, with options supported by the source format, answers and available explanations. Access covers this exam only. One-time payment; no automatic renewal.
For developers implementing, securing, deploying and troubleshooting applications that use AWS services.
AWS lists November 30, 2026 as the last testing day for DVA-C02, ahead of DVA-C03.
Official exam languages and practice-question file languages are listed separately. Confirm the exam version and available languages when booking with the provider.
Official sources: Provider reference
Information checked: 2026-10-20
557 total questions
Questions follow the source order. Expand each answer to see its explanation.
Disclaimer: All questions on ExamPico are compiled from internet sources and are provided for study reference only.
Question#16Topic1
A developer has written an AWS Lambda function. The function is CPU-bound. The developer wants to ensure that the function returns responses quickly.
How can the developer improve the function's performance?
Question#17Topic1
For a deployment using AWS Code Deploy, what is the run order of the hooks for in-place deployments?
Question#18Topic1
A company is building a serverless application on AWS. The application uses an AWS Lambda function to process customer orders 24 hours a day, 7 days a week. The Lambda function calls an external vendor's HTTP API to process payments.
During load tests, a developer discovers that the external vendor payment processing API occasionally times out and returns errors. The company expects that some payment processing API calls will return errors.
The company wants the support team to receive notifications in near real time only when the payment processing external API error rate exceed 5% of the total number of transactions in an hour. Developers need to use an existing Amazon Simple Notification Service (Amazon SNS) topic that is configured to notify the support team.
Which solution will meet these requirements?
Question#19Topic1
A company is offering APIs as a service over the internet to provide unauthenticated read access to statistical information that is updated daily. The company uses Amazon API Gateway and AWS Lambda to develop the APIs. The service has become popular, and the company wants to enhance the responsiveness of the APIs.
Which action can help the company achieve this goal?
Question#20Topic1
A developer wants to store information about movies. Each movie has a title, release year, and genre. The movie information also can include additional properties about the cast and production crew. This additional information is inconsistent across movies. For example, one movie might have an assistant director, and another movie might have an animal trainer.
The developer needs to implement a solution to support the following use cases:
For a given title and release year, get all details about the movie that has that title and release year.
For a given title, get all details about all movies that have that title.
For a given genre, get all details about all movies in that genre.
Which data store configuration will meet these requirements?