DVA-C02 Exam Details

  • Exam Code
    :DVA-C02
  • Exam Name
    :AWS Certified Developer - Associate (DVA-C02)
  • Certification
    :Amazon Certifications
  • Vendor
    :Amazon
  • Total Questions
    :574 Q&As
  • Last Updated
    :May 27, 2026

Amazon DVA-C02 Online Questions & Answers

  • Question 331:

    A developer used the AWS SDK to create an application that aggregates and produces log records for 10 services. The application delivers data to an Amazon Kinesis Data Streams stream.

    Each record contains a log message with a service name, creation timestamp, and other log information. The stream has 15 shards in provisioned capacity mode. The stream uses service name as the partition key.

    The developer notices that when all the services are producing logs, Provisioned Through put Exceeded Exception errors occur during PutRecord requests. The stream metrics show that the write capacity the applications use is below the provisioned capacity.

    What should the developer do to resolve this issue?

    A. Change the capacity mode from provisioned to on-demand.
    B. Double the number of shards until the throttling errors stop occurring.
    C. Change the partition key from service name to creation timestamp.
    D. Use a separate Kinesis stream for each service to generate the logs.

  • Question 332:

    A company is creating an AWS Step Functions state machine to run a set of tests for an application. The tests need to run when a specific AWS CloudFormation stack is deployed.

    Which combination of steps will meet these requirements? (Select TWO.)

    A. Create an AWS Lambda function to invoke the state machine.
    B. Create an Amazon EventBridge rule on the default bus that matches on a detail type of CloudFormation Stack Status Change, a status of UPDATE_IN_PROGRESS, and the stack ID of the CloudFormation stack.
    C. Create a pipe in Amazon EventBridge Pipes that has a source of the default event bus. Set the Lambda function as a target. Filter on a detail type of CloudFormation Stack Status Change, a status of UPDATE_IN_PROGRESS, and the stack ID of the CloudFormation stack.
    D. Create a pipe in Amazon EventBridge Pipes that has a source of the EventBridge rule. Set the state machine as a target.
    E. Add the state machine as a target of the EventBridge rule.

  • Question 333:

    An e-commerce web application that shares session state on-premises is being migrated to AWS. The application must be fault tolerant, natively highly scalable, and any service interruption should not affect the user experience. What is the best option to store the session state?

    A. Store the session state in Amazon ElastiCache.
    B. Store the session state in Amazon CloudFront.
    C. Store the session state in Amazon S3.
    D. Enable session stickiness using elastic load balancers.

  • Question 334:

    A developer is building a new containerized application by using AWS Copilot. The developer uses the AWS Copilot command line interface (CLI) to deploy the application during development. The developer committed the application code to a new AWS CodeCommit repository. The developer must create an automated deployment process before releasing the new application to production.

    What should the developer do to meet these requirements in the MOST operationally efficient way?

    A. Create a buildspec file that invokes the AWS Copilot CLI commands to build and deploy the application. Use the AWS Copilot CLI to create an AWS CodePipeline that uses the CodeCommit repository in the source stage and AWS CodeBuild in the build stage.
    B. Use the AWS Serverless Application Model (AWS SAM) CLI to bootstrap and initialize an AWS CodePipeline configuration. Use the CodeCommit repository as the source. Invoke the AWS Copilot CLI to build and deploy the application.
    C. Use the AWS Copilot CLI to define the AWS Copilot pipeline and to deploy the AWS CodePipeline. Select CodeCommit as the source for the AWS CodePipeline.
    D. Define an AWS CloudFormation template for an AWS CodePipeline with CodeCommit as the source. Configure the template as an AWS Copilot CLI add-on. Use the AWS Copilot CLI to deploy the application.

  • Question 335:

    A company is releasing a new feature. Users can request early access to the new feature by using an application form. The company expects a surge of requests when the application form becomes available. Each request will be stored as an item in an Amazon DynamoDB table.

    Each item will contain the user's username, the submission date, and a validation status of UNVALIDATED. VALID, or NOT VALID. Each item also will contain the user's rating of the process on a scale of 1 to 5. Each user can submit one request. For the DynamoDB table, the developer must choose a partition key that will give the workload well-distributed records across partitions.

    Which DynamoDB attribute will meet these requirements?

    A. Username
    B. Submission date
    C. Validation status
    D. Rating of the process on a scale of 1 to 5

  • Question 336:

    A developer is migrating a containerized application from an on-premises environment to the AWS Cloud. The developer is using the AWS CDK to provision a container in Amazon ECS on AWS Fargate. The container is behind an Application Load Balancer (ALB).

    When the developer deploys the stack, the deployment fails because the ALB fails health checks. The developer needs to resolve the failed health checks.

    Which solutions will meet this requirement? (Select TWO.)

    A. Confirm that the capacity providers for the container have been provisioned and are properly sized.
    B. Confirm that the target group port matches the port mappings in the ECS task definition.
    C. Confirm that a hosted zone associated with the ALB matches a hosted zone that is referenced in the ECS task definition.
    D. Confirm that the ALB listener on the mapped port has a default action that redirects to the application's health check path endpoint.
    E. Confirm that the ALB listener on the mapped port has a default action that forwards to the correct target group.

  • Question 337:

    A company offers a business-to-business software service that runs on dedicated infrastructure deployed in each customer's AWS account. Before a feature release, the company needs to run integration tests on real AWS test infrastructure.

    The test infrastructure consists of Amazon EC2 instances and an Amazon RDS database.

    A developer must set up a continuous delivery process that will provision the test infrastructure across the different AWS accounts. The developer then must run the integration tests.

    Which solution will meet these requirements with the least administrative effort?

    A. Use AWS CodeDeploy with AWS CloudFormation StackSets to deploy the infrastructure. Use Amazon CodeGuru to run the tests.
    B. Use AWS CodePipeline with AWS CloudFormation StackSets to deploy the infrastructure. Use AWS CodeBuild to run the tests.
    C. Use AWS CodePipeline with AWS CloudFormation change sets to deploy the infrastructure. Use a CloudFormation custom resource to run the tests.
    D. Use AWS Serverless Application Model (AWS SAM) templates with AWS CloudFormation change sets to deploy the infrastructure. Use AWS CodeDeploy to run the tests.

  • Question 338:

    A developer is writing an application for a company. The application will be deployed on Amazon EC2 and will use an Amazon RDS for Microsoft SQL Server database. The company's security team requires that database credentials are rotated at least weekly.

    How should the developer configure the database credentials for this application?

    A. Create a database user. Store the user name and password in an AWS Systems Manager Parameter Store secure string parameter. Enable rotation of the AWS Key Management Service (AWS KMS) key that is used to encrypt the parameter.
    B. Enable IAM authentication for the database. Create a database user for use with IAM authentication. Enable password rotation.
    C. Create a database user. Store the user name and password in an AWS Secrets Manager secret that has daily rotation enabled.
    D. Use the EC2 user data to create a database user. Provide the user name and password in environment variables to the application.

  • Question 339:

    A real-time messaging application uses Amazon API Gateway WebSocket APIs with backend HTTP service. A developer needs to build a feature in the application to identify a client that keeps connecting to and disconnecting from the WebSocket connection. The developer also needs the ability to remove the client.

    Which combination of changes should the developer make to the application to meet these requirements? (Choose two.)

    A. Switch to HTTP APIs in the backend service.
    B. Switch to REST APIs in the backend service.
    C. Use the callback URL to disconnect the client from the backend service.
    D. Add code to track the client status in Amazon ElastiCache in the backend service.
    E. Implement $connect and $disconnect routes in the backend service.

  • Question 340:

    A company has a development team that uses AWS CodeCommit for version control. The development team has CodeCommit repositories in multiple AWS accounts. The team is expanding to include developers who work in various

    locations.

    The company must ensure that the developers have secure access to the repositories.

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

    A. Configure IAM roles for each developer and grant access individually.
    B. Configure permission sets in AWS IAM Identity Center to grant access to the accounts.
    C. Share AWS access keys with the development team for direct repository access.
    D. Use public SSH keys for authentication to the CodeCommit repositories.

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Amazon exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your DVA-C02 exam preparations and Amazon certification application, do not hesitate to visit our Vcedump.com to find your solutions here.