DVA-C01 Sample Questions

DVA-C01 Sample Questions & Answers

Free Developer - Associate practice questions with worked answers and explanations. See how the ExamJungle simulator prepares you — then jump into the full test.

Launch the full DVA-C01 simulator →

Showing 10 of 20 free samples.

  1. Question 1

    You have an AWS Elastic Beanstalk application environment that is currently coupled with an Amazon RDS database instance. Due to changing requirements, you need to remove the database from the Elastic Beanstalk environment while keeping the application running. The database should remain operational and be managed independently. What is the recommended approach to achieve this?

    Show answer & explanation

    Correct answer: A

    The Elastic Beanstalk CLI provides the eb config command to modify environment configuration and decouple RDS instances while preserving both the application and database.

  2. Question 2

    A Developer has created an S3 bucket s3://mycoolapp and has enabled server across logging that points to the folder s3://mycoolapp/logs. The Developer moved 100 KB of Cascading Style Sheets (CSS) documents to the folder s3://mycoolapp/css, and then stopped work. When the developer came back a few days later, the bucket was 50 GB.
    What is the MOST likely cause of this situation?

    Show answer & explanation

    Correct answer: C

    S3 Cross-Region Replication automatically copies objects to another bucket, which would cause additional storage costs beyond the expected 100 KB.

  3. Question 3

    A developer is building an application using an Amazon API Gateway REST API backend by an AWS Lambda function that interacts with an Amazon DynamoDB table. During testing, the developer observes high latency when making requests to the API.
    How can the developer evaluate the end-to-end latency and identify performance bottlenecks?

    Show answer & explanation

    Correct answer: D

    AWS X-Ray provides distributed tracing capabilities that allow you to track requests across API Gateway, Lambda, and DynamoDB, identifying performance bottlenecks and latency issues throughout the entire request path.

  4. Question 4

    AWS CodeBuild builds code for an application, creates the Docker image, pushes the image to Amazon Elastic Container Registry (Amazon ECR), and tags the image with a unique identifier.
    If the Developers already have AWS CLI configured on their workstations, how can the Docker images be pulled to the workstations?

    Show answer & explanation

    Correct answer: D

    The get-login command provides a temporary authentication token that allows Docker to authenticate with ECR and pull images from the registry.

  5. Question 5

    An on-premises application makes repeated calls to store files to Amazon S3. As usage of the application has increased, “LimitExceeded” errors are being logged.
    What should be changed to fix this error?

    Show answer & explanation

    Correct answer: C

    Exponential backoff is the AWS recommended best practice for handling rate limiting errors like LimitExceeded, gradually increasing delays between retries to reduce load on S3.

  6. Question 6

    An application is being developed to audit several AWS accounts. The application will run in Account A and must access AWS services in Accounts B and C.
    What is the MOST secure way to allow the application to call AWS services in each audited account?

    Show answer & explanation

    Correct answer: C

    Cross-account IAM roles provide secure temporary credentials through AssumeRole, eliminating the need for long-term access keys and following AWS security best practices.

  7. Question 7

    A Company runs continuous integration/continuous delivery (CI/CD) pipelines for its application on AWS CodePipeline. A Developer must write unit tests and run them as part of the pipelines before staging the artifacts for testing.
    How should the Developer incorporate unit tests as part of CI/CD pipelines?

    Show answer & explanation

    Correct answer: B

    CodeBuild buildspec.yml can include test phases that run unit tests as part of the CI/CD pipeline before artifacts are passed to subsequent stages.

  8. Question 8

    An ecommerce startup is preparing for an annual sales event. As the traffic to the company’s application increases, the development team wants to be notified when the Amazon EC2 instance’s CPU utilization exceeds 80%.
    Which solution will meet this requirement?

    Show answer & explanation

    Correct answer: B

    CloudWatch alarms can monitor EC2 metrics like CPU utilization and trigger SNS notifications when thresholds are exceeded, providing automated monitoring for traffic increases.

  9. Question 9

    A company is using Amazon API Gateway to manage its public-facing API. The CISO requires that the APIs be used by test account users only.
    What is the MOST secure way to restrict API access to users of this particular AWS account?

    Show answer & explanation

    Correct answer: B

    API Gateway resource policies enable fine-grained access control based on IP addresses, VPC endpoints, or IAM conditions, providing additional security layers beyond authentication. Reference: https://aws.amazon.com/blogs/compute/control-access-to-your-apis-using-amazon-api-gateway-resource-policies/

  10. Question 10

    A nightly batch job loads 1 million new records into a DynamoDB table. The records are only needed for one hour, and the table needs to be empty by the next night’s batch job.
    Which is the MOST efficient and cost-effective method to provide an empty table?

    Show answer & explanation

    Correct answer: D

    Deleting and recreating the table is the most cost-effective approach for clearing large amounts of temporary data, avoiding millions of individual delete operations.

Ready for the real thing?

The full DVA-C01 simulator has every exam-style question, timed mode, and instant scoring.