logo
Exam overview and study plan

Developer Associate DVA-C02 Practice Questions

AWS Certified Developer - Associate

Read questions, check verified answers and discuss the reasoning. Use reading options to shape your revision, or switch to the simulator for timed practice.

View 106 free questions

106 questions in this view

Page 1 of 18

Question 1

A developer is designing an AWS Lambda function that creates temporary files that are less than 10 MB during invocation. The temporary files will be accessed and modified multiple times during invocation. The developer has no need to save or retrieve these files in the future.


Where should the temporary files be stored?


Select an answer above, then submit your vote. Reading or practicing does not cast a vote.

Question 2

A company has an Amazon S3 bucket that contains sensitive data. The data must be encrypted in transit and at rest. The company encrypts the data in the S3 bucket by using an AWS KMS key. A developer needs to grant several other AWS accounts the permission to use the S3 GetObject operation to retrieve the data from the S3 bucket.


How can the developer enforce that all requests to retrieve the data provide encryption in transit?


Select an answer above, then submit your vote. Reading or practicing does not cast a vote.

Question 3

A company has many microservices that are comprised of AWS Lambda functions. Multiple teams within the company split ownership of the microservices.


An application reads configuration values from environment variables that are contained in the Lambda functions. During a security audit, the company discovers that some of the environment variables contain sensitive information.


The company's security policy requires each team to have full control over the rotation of AWS KMS keys that the team uses for its respective microservices.


Which solution will meet these requirements?


Select an answer above, then submit your vote. Reading or practicing does not cast a vote.

Question 4

A company has multiple development teams. Each development team runs its own cloud development environment. Each development environment is isolated to its own AWS account. All of the team AWS accounts belong to the same organization in AWS Organizations.


A development team federates into Account A. The development team must copy objects from Amazon S3 buckets that are in Account B and Account C to an S3 bucket that is in Account A.


Which solution will meet these requirements in the MOST operationally efficient way?


Select an answer above, then submit your vote. Reading or practicing does not cast a vote.

Question 5

A company is using an Amazon API Gateway REST API endpoint as a webhook to publish events from an on-premises source control management (SCM) system to Amazon EventBridge. The company has configured an EventBridge rule to listen for the events and to control application deployment in a central AWS account. The company needs to receive the same events across multiple receiver AWS accounts.


How can a developer meet these requirements without changing the configuration of the SCM system?


Select an answer above, then submit your vote. Reading or practicing does not cast a vote.

Question 6

A company created AWS Lambda functions to support event-driven tasks for an application. After testing the application code, the company wants to validate the application data against a private Amazon RDS DB instance. The DB instance is located in a VPC in the company's AWS account. The DB instance usage is low to moderate, depending on the application traffic. The Lambda functions will use credentials that are stored in AWS Secrets Manager to connect to the DB instance. The company wants to minimize implementation efforts.


Which combination of steps will allow the Lambda functions to access this DB instance? (Select TWO.)


Select an answer above, then submit your vote. Reading or practicing does not cast a vote.