AWS · DVA-C02
DVA-C02 exam questions and answers
67 free AWS Certified Developer – Associate practice questions, one per page, grouped by the exam's official domains. Each page has the correct answer and an explanation of why every option is right or wrong.
Before you start: DVA-C02 cheat sheet, Lambda, DynamoDB, API Gateway, IAM and Cognito, messaging, CI/CD and X-Ray in tables, plus what DVA-C03 changes.
Development with AWS Services 32%
What Development with AWS Services covers, with 10 more questions
- A Lambda function needs to share a common logging library and a set of utility functions across multiple functions…
- A developer wants to query a DynamoDB table efficiently using an attribute that is not the table's partition key…
- An application needs to decouple a producer service from multiple independent consumer services, so that each consumer…
- Which AWS service lets you coordinate multiple Lambda functions and other AWS services into a visual, serverless…
- Which SQS queue attribute controls how long a message is invisible to other consumers after one consumer has received…
- A developer wants an SQS queue that preserves the exact order messages were sent and guarantees each message is…
- Which Lambda configuration setting most directly controls how many concurrent function invocations are allowed for a…
- An application needs to upload very large files (multiple gigabytes) to S3 reliably, ideally uploading parts in parallel…
- Which API Gateway feature lets a developer run custom authentication logic in a Lambda function to validate a bearer…
- An API Gateway endpoint serves data that changes infrequently, and the team wants to reduce both backend load and…
- What is the benefit of enabling SNS "raw message delivery" for an SQS queue subscribed to an SNS topic?
- A Step Functions workflow needs to run the same processing steps for each item in a dynamically sized array of input…
- An on-premises order system runs a self-managed, open source message broker cluster.
- A developer wants to reduce the number of separate GetItem calls needed to retrieve 50 specific items with known keys…
- A Lambda function needs to publish a custom CloudWatch metric, such as "OrdersProcessed", from within its handler code.
- A team wants to add cross-cutting functionality to their Lambda functions — like sending telemetry to a third-party…
- A developer wants a Step Functions state machine to run several independent branches of work — like calling three…
- A team needs to apply the same operation (such as copying or tagging) to millions of existing objects already in an S3…
- After deploying an update to a static asset in S3, users behind CloudFront continue seeing the old cached version until…
- A company wants their API Gateway REST API to be reachable at api.example.com/v1/...
- A DynamoDB PutItem call should only succeed if an item with that primary key doesn't already exist (to avoid…
Security 26%
What Security covers, with 10 more questions
- Which AWS service should a developer use to manage user sign-up, sign-in, and access control for a mobile or web…
- A web application stores session tokens and needs to prevent them from being read by client-side JavaScript in the…
- A Lambda function's execution role has the AWS managed AmazonS3FullAccess policy attached.
- A developer is deploying an application to Amazon EC2 and plans to put an IAM user's access key in the application's…
- A developer is comparing AWS managed KMS keys (such as aws/s3) with customer managed KMS keys (symmetric, with key…
- An IAM policy needs to restrict access so that a set of API calls can only succeed when made over an encrypted (HTTPS)…
- A developer configures an Amazon ECR private registry to use basic scanning with scan on push.
- A company wants API Gateway to strongly authenticate client devices using X.509 client certificates, in addition to (or…
- A team stores database credentials in AWS Secrets Manager in us-east-1 with automatic rotation turned on.
- A company wants its Lambda functions to accept only deployment packages that its approved CI/CD pipeline has signed.
- A company's compliance requirement states that CloudTrail logs must not be deletable or modifiable by any user…
- A Lambda function's resource-based policy allows the s3.amazonaws.com service principal to invoke the function in…
- A mobile application authenticates users via a third-party OpenID Connect provider directly (not through Cognito user…
- A company wants Cognito to support a custom, non-password authentication flow, such as a one-time code sent via a…
- A security team wants to be alerted automatically to unusual AWS API activity, such as a sudden spike in IAM policy…
- A developer is writing a custom AWS Lambda rotation function for an AWS Secrets Manager secret that stores credentials…
- A developer's application runs under an IAM role in a member account of an AWS Organizations organization.
Deployment 24%
What Deployment covers, with 10 more questions
- A team moves its CodeBuild build instructions from the repository root to config/buildspec-release.yml.
- Which AWS service is specifically designed to orchestrate the end-to-end release process — source, build, test, and…
- During a CodeDeploy deployment to EC2 instances, which file in the application's deployment bundle defines the lifecycle…
- In a CodeDeploy AppSpec file for an EC2/on-premises deployment, in which lifecycle event should a developer typically…
- A large CloudFormation template is becoming difficult to maintain because it defines dozens of unrelated resources in…
- A team's buildspec.yml, committed to the source repository, holds a third-party API token in plain text under…
- A team wants their internal Node.js library packages, shared across several projects, hosted privately with versioning…
- A pipeline in CodePipeline in Account A has a CodeDeploy action that deploys into Account B.
- A CodeBuild project builds a container image from a CodeCommit repository and pushes it to Amazon ECR.
- A CodeBuild project needs to build a Docker image and push it to ECR as part of a CI pipeline running inside CodeBuild's…
- A web application on AWS Elastic Beanstalk puts video-transcoding jobs in an Amazon SQS queue.
- A frontend single-page application needs continuous deployment directly from a Git repository, including preview…
- A team's AWS CodeBuild builds often sit for a while before any build commands run, because CodeBuild must provision…
- A developer starts AWS CodeBuild builds directly (not from AWS CodePipeline).
- A company wants one managed service for internal packages. Its teams use npm, pip, Maven, and the NuGet CLI, and want to…
- Drift detection shows that an engineer manually changed a property on a resource in an AWS CloudFormation stack.
Troubleshooting and Optimization 18%
What Troubleshooting and Optimization covers, with 10 more questions
- A developer wants to trace a request as it flows through multiple microservices (API Gateway, Lambda, DynamoDB) to…
- Where would a developer look first to see the console.log output and runtime errors from a specific AWS Lambda function…
- Which CloudWatch feature lets a developer run SQL-like queries directly against log data to quickly find patterns, such…
- An API Gateway endpoint backed by Lambda is returning a high rate of 429 (Too Many Requests) errors to clients during a…
- A developer is unsure whether a specific IAM policy actually grants a particular action on a particular resource…
- An asynchronously invoked Lambda function keeps failing, and after its configured retries are exhausted, the event seems…
- A Lambda function that processes messages from an SQS queue in batches fails when just one message in a batch of 10 is…
- An application publishes custom CloudWatch metrics for request count, error rate, and p99 latency.
- An application intermittently receives ThrottlingException errors from an AWS service API that it calls through the AWS…
- A single-page app hosted at https://app.example.com sends a PUT request with a custom X-Request-Id header to an API…
- Users of a website served through Amazon CloudFront keep receiving outdated versions of pages for days after updates are…
- An API's request count follows a predictable pattern: it is high during weekday business hours and low at night and on…
- A developer runs aws ecs describe-services for a replica service and sees desiredCount: 4, runningCount: 2, and…
Ready for a full DVA-C02 practice exam?
These questions are a free sample of the CertRidge DVA-C02 bank. Full practice exams match the real exam's length, time limit and domain weights, with every answer explained.
Original questions written from the official exam guide. Not affiliated with AWS; never copied from the real exam.