Amazon AWS Certified Associate

Amazon DVA-C02 Exam Dumps

AWS Certified Developer - Associate

Exam code
DVA-C02
Questions
608
Updated
25 Nov 2026
  • Instant access from My Account after payment
  • 90 days of free updates
  • Money-back guarantee – see conditions
  • Help by live chat or email
Choose a format
Try free sample questions

Prices in USD. Downloads appear in My Account once your order is complete.

  • Instant access from My Account after payment
  • 90 days of free updates
  • Money-back guarantee – see conditions
  • Help by live chat or email
Free demo

DVA-C02 sample questions

Check the style and quality of the material before you buy.

Question 1

A company has an application that runs across multiple AWS Regions. The application isexperiencing performance issues at irregular intervals. A developer must use AWS X-Ray to implement distributed tracing for the application to troubleshoot the root cause of theperformance issues.What should the developer do to meet this requirement?

  • A. Use the X-Ray console to add annotations for AWS services and user-defined services
  • B. Use Region annotation that X-Ray adds automatically for AWS services Add Regionannotation for user-defined services
  • C. Use the X-Ray daemon to add annotations for AWS services and user-defined services
  • D. Use Region annotation that X-Ray adds automatically for user-defined servicesConfigure X-Ray to add Region annotation for AWS services

Answer: B

Explanation

AWS X-Ray automatically adds Region annotation for AWS services that are integrated with X-Ray. This annotation indicates the AWS Region where the service is running. The developer can use this annotation to filter and group traces by Region and identify any performance issues related to cross-Region calls. The developer can also add Region annotation for user-defined services by using the X-Ray SDK. This option enables the developer to implement distributed tracing for the application that runs across multiple AWS Regions. References AWS X-Ray Annotations AWS X-Ray Concepts

Question 2

A company is using AWS CloudFormation to deploy a two-tier application. The applicationwill use Amazon RDS as its backend database. The company wants a solution that willrandomly generate the database password during deployment. The solution also mustautomatically rotate the database password without requiring changes to the application.What is the MOST operationally efficient solution that meets these requirements'?

  • A. Use an AWS Lambda function as a CloudFormation custom resource to generate androtate the password.
  • B. Use an AWS Systems Manager Parameter Store resource with the SecureString datatype to generate and rotate the password.
  • C. Use a cron daemon on the application s host to generate and rotate the password.
  • D. Use an AWS Secrets Manager resource to generate and rotate the password.

Answer: D

Explanation

This solution will meet the requirements by using AWS Secrets Manager, which is a service that helps protect secrets such as database credentials by encrypting them with AWS Key Management Service (AWS KMS) and enabling automatic rotation of secrets. The developer can use an AWS Secrets Manager resource in AWS CloudFormation template, which enables creating and managing secrets as part of a CloudFormation stack. The developer can use an AWS::SecretsManager::Secret resource type to generate and rotate the password for accessing RDS database during deployment. The developer can also specify a RotationSchedule property for the secret resource, which defines how often to rotate the secret and which Lambda function to use for rotation logic. Option A is not optimal because it will use an AWS Lambda function as a CloudFormation custom resource, which may introduce additional complexity and overhead for creating and managing a custom resource and implementing rotation logic. Option B is not optimal because it will use an AWS Systems Manager Parameter Store resource with the SecureString data type, which does not support automatic rotation of secrets. Option C is not optimal because it will use a cron daemon on the application’s host to generate and rotate the password, which may incur more costs and require more maintenance for running and securing a host.

References

[AWS Secrets Manager], [AWS::SecretsManager::Secret]

Question 3

A developer is designing a serverless application for a game in which users register andlog in through a web browser The application makes requests on behalf of users to a set ofAWS Lambda functions that run behind an Amazon API Gateway HTTP APIThe developer needs to implement a solution to register and log in users on theapplication's sign-in page. The solution must minimize operational overhead and mustminimize ongoing management of user identities.Which solution will meet these requirements'?

  • A. Create Amazon Cognito user pools for external social identity providers Configure 1AMroles for the identity pools.
  • B. Program the sign-in page to create users' 1AM groups with the 1AM roles attached tothe groups
  • C. Create an Amazon RDS for SQL Server DB instance to store the users and manage thepermissions to the backend resources in AWS
  • D. Configure the sign-in page to register and store the users and their passwords in anAmazon DynamoDB table with an attached IAM policy.
Question 4

A developer needs to build an AWS CloudFormation template that self-populates the AWSRegion variable that deploys the CloudFormation templateWhat is the MOST operationally efficient way to determine the Region in which thetemplate is being deployed?

  • A. Use the AWS:.Region pseudo parameter
  • B. Require the Region as a CloudFormation parameter
  • C. Find the Region from the AWS::Stackld pseudo parameter by using the Fn::Split intrinsic function
  • D. Dynamically import the Region by referencing the relevant parameter in AWS SystemsManager Parameter Store
Question 5

An Amazon Simple Queue Service (Amazon SQS) queue serves as an event source for anAWS Lambda function In the SQS queue, each item corresponds to a video file that theLambda function must convert to a smaller resolution The Lambda function is timing out onlonger video files, but the Lambda function's timeout is already configured to its maximumvalueWhat should a developer do to avoid the timeouts without additional code changes'?

  • A. Increase the memory configuration of the Lambda function
  • B. Increase the visibility timeout on the SQS queue
  • C. Increase the instance size of the host that runs the Lambda function.
  • D. Use multi-threading for the conversion.

Answer: A

Explanation

Increasing the memory configuration of the Lambda function will also increase the CPU and network throughput available to the function. This can improve the performance of the video conversion process and reduce the execution time of the function. This solution does not require any code changes or additional resources. It is also recommended to follow the best practices for preventing Lambda function timeouts1. References Troubleshoot Lambda function invocation timeout errors | AWS re:Post

Question 6

A company needs to deploy all its cloud resources by using AWS CloudFormationtemplates A developer must create an Amazon Simple Notification Service (Amazon SNS)automatic notification to help enforce this rule. The developer creates an SNS topic andsubscribes the email address of the company's security team to the SNS topic.The security team must receive a notification immediately if an 1AM role is created withoutthe use of CloudFormation.Which solution will meet this requirement?

  • A. Create an AWS Lambda function to filter events from CloudTrail if a role was createdwithout CloudFormation Configure the Lambda function to publish to the SNS topic. Createan Amazon EventBridge schedule to invoke the Lambda function every 15 minutes
  • B. Create an AWS Fargate task in Amazon Elastic Container Service (Amazon ECS) tofilter events from CloudTrail if a role was created without CloudFormation Configure theFargate task to publish to the SNS topic Create an Amazon EventBridge schedule to runthe Fargate task every 15 minutes
  • C. Launch an Amazon EC2 instance that includes a script to filter events from CloudTrail ifa role was created without CloudFormation. Configure the script to publish to the SNStopic. Create a cron job to run the script on the EC2 instance every 15 minutes.
  • D. Create an Amazon EventBridge rule to filter events from CloudTrail if a role was createdwithout CloudFormation Specify the SNS topic as the target of the EventBridge rule.

Answer: D

Explanation

Creating an Amazon EventBridge rule is the most efficient and scalable way to monitor and react to events from CloudTrail, such as the creation of an IAM role without CloudFormation. EventBridge allows you to specify a filter pattern to match the events you are interested in, and then specify an SNS topic as the target to send notifications. This solution does not require any additional resources or code, and it can trigger notifications in near real-time. The other solutions involve creating and managing additional resources, such as Lambda functions, Fargate tasks, or EC2 instances, and they rely on polling CloudTrail events every 15 minutes, which can introduce delays and increase costs. References Using Amazon EventBridge rules to process AWS CloudTrail events Using AWS CloudFormation to create and manage AWS Batch resources How to use AWS CloudFormation to configure auto scaling for Amazon Cognito and AWS AppSync Using AWS CloudFormation to automate the creation of AWS WAF web ACLs, rules, and conditions

Question 7

A company has an application that is hosted on Amazon EC2 instances The applicationstores objects in an Amazon S3 bucket and allows users to download objects from the S3bucket A developer turns on S3 Block Public Access for the S3 bucket After this change,users report errors when they attempt to download objects The developer needs to implement a solution so that only users who are signed in to the application can accessobjects in the S3 bucket.Which combination of steps will meet these requirements in the MOST secure way? (SelectTWO.)

  • A. Create an EC2 instance profile and role with an appropriate policy Associate the rolewith the EC2 instances
  • B. Create an 1AM user with an appropriate policy. Store the access key ID and secretaccess key on the EC2 instances
  • C. Modify the application to use the S3 GeneratePresignedUrl API call
  • D. Modify the application to use the S3 GetObject API call and to return the object handleto the user
  • E. Modify the application to delegate requests to the S3 bucket.

Answer: A,C

Explanation

The most secure way to allow the EC2 instances to access the S3 bucket is to use an EC2 instance profile and role with an appropriate policy that grants the necessary permissions. This way, the EC2 instances can use temporary security credentials that are automatically rotated and do not need to store any access keys on the instances. To allow the users who are signed in to the application to download objects from the S3 bucket, the application can use the S3 GeneratePresignedUrl API call to create a pre-signed URL that grants temporary access to a specific object. The pre-signed URL can be returned to the user, who can then use it to download the object within a specified time period. References Use Amazon S3 with Amazon EC2 How to Access AWS S3 Bucket from EC2 Instance In a Secured Way Sharing an Object with Others

Question 8

A company runs a payment application on Amazon EC2 instances behind an ApplicationLoad Balance The EC2 instances run in an Auto Scaling group across multiple AvailabilityZones The application needs to retrieve application secrets during the application startup and export the secrets as environment variables These secrets must be encrypted at restand need to be rotated every month.Which solution will meet these requirements with the LEAST development effort?

  • A. Save the secrets in a text file and store the text file in Amazon S3 Provision a customermanaged key Use the key for secret encryption in Amazon S3 Read the contents of thetext file and read the export as environment variables Configure S3 Object Lambda torotate the text file every month
  • B. Save the secrets as strings in AWS Systems Manager Parameter Store and use thedefault AWS Key Management Service (AWS KMS) key Configure an Amazon EC2 userdata script to retrieve the secrets during the startup and export as environment variablesConfigure an AWS Lambda function to rotate the secrets in Parameter Store every month.
  • C. Save the secrets as base64 encoded environment variables in the applicationproperties. Retrieve the secrets during the application startup. Reference the secrets in theapplication code. Write a script to rotate the secrets saved as environment variables.
  • D. Store the secrets in AWS Secrets Manager Provision a new customer master key Usethe key to encrypt the secrets Enable automatic rotation Configure an Amazon EC2 userdata script to programmatically retrieve the secrets during the startup and export asenvironment variables

Answer: D

Explanation

AWS Secrets Manager is a service that enables the secure management and rotation of secrets, such as database credentials, API keys, or passwords. By using Secrets Manager, the company can avoid hardcoding secrets in the application code or properties files, and instead retrieve them programmatically during the application startup. Secrets Manager also supports automatic rotation of secrets by using AWS Lambda functions or built-in rotation templates. The company can provision a customer master key (CMK) to encrypt the secrets and use the AWS SDK or CLI to export the secrets as environment variables. References: What Is AWS Secrets Manager? - AWS Secrets Manager Rotating Your AWS Secrets Manager Secrets - AWS Secrets Manager Retrieving a Secret - AWS Secrets Manager

Question 9

A developer is creating a simple proof-of-concept demo by using AWS CloudFormation andAWS Lambda functions The demo will use a CloudFormation template to deploy anexisting Lambda function The Lambda function uses deployment packages anddependencies stored in Amazon S3 The developer defined anAWS Lambda Functionresource in a CloudFormation template. The developer needs to add the S3 bucket to theCloudFormation template.What should the developer do to meet these requirements with the LEAST developmenteffort?

  • A. Add the function code in the CloudFormation template inline as the code property
  • B. Add the function code in the CloudFormation template as the ZipFile property.
  • C. Find the S3 key for the Lambda function Add the S3 key as the ZipFile property in theCloudFormation template.
  • D. Add the relevant key and bucket to the S3Bucket and S3Key properties in theCloudFormation template

Answer: D

Explanation

The easiest way to add the S3 bucket to the CloudFormation template is to use the S3Bucket and S3Key properties of the AWS::Lambda::Function resource. These properties specify the name of the S3 bucket and the location of the .zip file that contains the function code and dependencies. This way, the developer does not need to modify the function code or upload it to a different location. The other options are either not feasible or not efficient. The code property can only be used for inline code, not for code stored in S3. The ZipFile property can only be used for code that is less than 4096 bytes, not for code that has dependencies. Finding the S3 key for the Lambda function and adding it as the ZipFile property would not work, as the ZipFile property expects a base64-encoded .zip file, not an S3 location. References AWS::Lambda::Function - AWS CloudFormation Deploying Lambda functions as .zip file archives AWS Lambda Function Code - AWS CloudFormation

Question 10

A company has a web application that is hosted on Amazon EC2 instances The EC2instances are configured to stream logs to Amazon CloudWatch Logs The company needsto receive an Amazon Simple Notification Service (Amazon SNS) notification when thenumber of application error messages exceeds a defined threshold within a 5-minuteperiodWhich solution will meet these requirements?

  • A. Rewrite the application code to stream application logs to Amazon SNS Configure anSNS topic to send a notification when the number of errors exceeds the defined thresholdwithin a 5-minute period
  • B. Configure a subscription filter on the CloudWatch Logs log group. Configure the filter tosend an SNS notification when the number of errors exceeds the defined threshold within a5-minute period.
  • C. Install and configure the Amazon Inspector agent on the EC2 instances to monitor forerrors Configure Amazon Inspector to send an SNS notification when the number of errorsexceeds the defined threshold within a 5-minute period
  • D. Create a CloudWatch metric filter to match the application error pattern in the log data. Set up a CloudWatch alarm based on the new custom metric. Configure the alarm to sendan SNS notification when the number of errors exceeds the defined threshold within a 5-minute period.

Answer: D

Explanation

The best solution is to create a CloudWatch metric filter to match the application error pattern in the log data. This will allow you to create a custom metric that tracks the number of errors in your application. You can then set up a CloudWatch alarm based on this metric and configure it to send an SNS notification when the number of errors exceeds a defined threshold within a 5-minute period. This solution does not require any changes to your application code or installing any additional agents on your EC2 instances. It also leverages the existing integration between CloudWatch and SNS for sending notifications. References Create Metric Filters - Amazon CloudWatch Logs Creating Amazon CloudWatch Alarms - Amazon CloudWatch How to send alert based on log message on CloudWatch - Stack Overflo

Many candidates find the AWS Certified Developer - Associate exam hard to prepare for. The syllabus covers development, security, deployment and troubleshooting, and it is easy to spend too much time on familiar topics and too little on weaker ones. The exam is 130 minutes long and mixes multiple choice and multiple response questions, so pacing matters too. If you are looking for DVA-C02 exam dumps to support your revision, it helps to know what the exam involves before you start. It suits developers who want to earn the AWS Certified Associate credential.

Dumpsforsure offers three formats so you can study the way that suits you: a PDF, a Test Engine, or the PDF + Test Engine bundle. Once your order is processed, log in to your account and download your files. You can read the PDF on a laptop, tablet or phone, or practise on screen with the Test Engine. When an exam file is updated, customers with active access are emailed so they can download the latest version. If you have a question about your order, our support team is on hand.

DVA-C02 Exam Overview

Questions in the actual exam65 (50 scored, 15 unscored)
Exam duration130 minutes
Passing score720 on a scaled score of 100-1000
Exam cost150 USD
Question formatMultiple choice and multiple response
DeliveryPearson VUE testing center or online proctored exam
Certification validity3 years

DVA-C02 Exam Topics

The DVA-C02 exam is organised around these 4 topics:

  1. Domain 1: Development with AWS Services (32%)
  2. Domain 2: Security (26%)
  3. Domain 3: Deployment (24%)
  4. Domain 4: Troubleshooting and Optimization (18%)

How to Register for the DVA-C02 Exam

  1. Sign in to your AWS Certification account, or create one if you don't have one.
  2. Select the AWS Certified Developer - Associate (DVA-C02) exam.
  3. Choose a Pearson VUE testing center or online proctored delivery.
  4. Pick an available date, time, and language.
  5. Pay the exam fee and confirm the booking.

For the latest details, see the official exam page.

Benefits of Buying DVA-C02 from Dumpsforsure

  • Three formats to suit how you study — Choose a PDF, a Test Engine, or the PDF + Test Engine bundle.
  • Download from your account — Once your order is processed, log in to your account and download your files.
  • Updated files — When an exam file is updated, customers with active access are emailed so they can download the latest version.
  • Study your way — Read the PDF on a laptop, tablet or phone, or practise on screen with the Test Engine.
  • Customer support — Our support team is on hand if you have a question about your order.

How to Prepare for the DVA-C02 Exam

  • Start with the four exam domains and their weightings. Development with AWS Services is 32% and Security is 26%, so give those areas plenty of time.
  • Build a simple weekly plan that gives each domain regular attention, and review the weaker ones more often.
  • Practise in the services themselves. Writing, deploying and debugging small applications turns theory into understanding.
  • Practise answering under time pressure. You have 130 minutes, so get used to reading each question carefully and moving on when you are stuck.
  • Practise multiple response questions with care, because they ask you to choose more than one answer. Read every option before deciding.

DVA-C02 Exam FAQs

How much does the DVA-C02 exam cost?
The exam fee is 150 USD. You pay it when you confirm your booking.
How many questions are on the exam, and how long do I have?
The exam has 65 questions, of which 50 are scored and 15 are unscored. You have 130 minutes to complete it. The questions are multiple choice and multiple response.
What is the passing score for AWS Certified Developer - Associate?
The passing score is 720 on a scaled score of 100-1000.
What topics does the DVA-C02 exam cover?
The exam covers four domains: Development with AWS Services (32%), Security (26%), Deployment (24%), and Troubleshooting and Optimization (18%).
How do I register for the exam?
Sign in to your AWS Certification account, or create one if you don't have one. Select the AWS Certified Developer - Associate (DVA-C02) exam, then choose a Pearson VUE testing center or online proctored delivery. Pick an available date, time and language, then pay the exam fee and confirm the booking. The official exam page is https://aws.amazon.com/certification/certified-developer-associate/
Which formats does Dumpsforsure offer, and how do I get my files?
You can choose a PDF, a Test Engine, or the PDF + Test Engine bundle. Once your order is processed, log in to your account and download your files. You can read the PDF on a laptop, tablet or phone, or practise on screen with the Test Engine.

Dumpsforsure provides exam-preparation and practice material. It is independent and is not endorsed by or affiliated with Amazon. Product and exam names are trademarks of their respective owners.

Ready to prepare?

Amazon DVA-C02 · 608 questions

Choose a format