Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Welcome to QA4Exam

Free practice questions with explanations

Pass Amazon DVA-C03 Exam on First Try: 100% Real DVA-C03 Dumps 2026

13 original AWS Certified Developer - Associate Exams practice questions with answers and explanations.

Covers Development With AWS Services, Security, Testing And Deployment and Troubleshooting And Optimization.

Question types: single answer, drag and drop, multiple answers, dropdown and order list. A new question is added every 15 days.

DVA-C03 Practice Set Details

Vendor
Amazon
Exam Code
DVA-C03
Questions On This Page
13
Exam Topics Covered
4 of 4
Question Types
5
Newest Question
New Question
Every 15 days
Full Question Set
543
Certification
Amazon Associate
13 questions

Amazon DVA-C03 Practice Questions by Exam Topics

Development with AWS Services

30% of the exam

4 practice questions on this topicWhat this topic covers

Question 1

Added

Single Answer

A ticketing platform receives short bursts of 20,000 reservation requests per minute. The reservation API currently invokes a pricing service synchronously, and pricing slowdowns cause client timeouts and duplicate submissions. The pricing team needs to process each request eventually, but clients should receive an acknowledgement quickly. The platform must preserve request order for each customer, while different customers can be processed concurrently. Which design best meets these requirements?

Correct answer: C

An SQS FIFO queue decouples the API from pricing and preserves order within each customer message group, while allowing separate groups to be processed concurrently. Returning after SendMessage succeeds gives clients a fast acknowledgement without waiting for pricing. An SNS standard topic does not provide the required per-customer ordering. Extending a synchronous API timeout retains the coupling and does not solve duplicate submissions. Separate Kinesis consumers do not by themselves guarantee that workers process a customer's records sequentially.

Question 2

Added

Single Answer

A Lambda function processes records from an Amazon Kinesis Data Stream. A downstream inventory service sometimes returns HTTP 503 during deployments. The function must avoid losing records, must not repeatedly hammer the dependency during an outage, and must continue with later records when one record is permanently invalid. The team wants to retain the native Lambda event source mapping rather than implement a custom polling loop. What should the team configure?

Correct answer: A

Partial batch responses let the event source mapping retry failed records without replaying successful records in the batch. Bounded exponential backoff reduces pressure on the unavailable inventory service, and distinguishing transient failures from invalid records supports deliberate handling rather than silent loss. Bisecting batches can help isolate failures but does not itself supply the required record-level failure reporting and retry policy. Returning success after logging advances the checkpoint and loses failed work. Indefinite whole-batch retries can stall progress and repeatedly replay successful records.

Question 3

Added

Multiple Answers

A company exposes a REST API backed by Lambda. A new endpoint accepts customer-supplied search expressions, but malformed expressions currently reach the function and consume concurrency. The API must reject invalid requests before invocation and return a consistent client error without changing the Lambda code. The request body is JSON, and the team uses an API Gateway REST API with a Lambda proxy integration. Which two changes meet the requirements? (Choose two.)

Correct answer: A, B

A REST API request model defines the expected JSON structure, and a request validator enforces body validation before API Gateway invokes the Lambda proxy integration. Together, these changes reject malformed requests at the API boundary without modifying function code. A Lambda authorizer is intended for authorization, not request-body schema validation. An integration response runs after the backend has already been invoked. Response caching does not validate requests and cannot prevent the first invalid request from reaching the function.

Question 4

Added

Drag And Drop

A media application needs three distinct ingestion paths. One path must distribute a published notification to multiple independent subscribers. Another must retain ordered records per device identifier for consumers to process as a stream. A third must hold background work until a worker is available and provide visibility-timeout-based redelivery. Match each requirement to the most suitable AWS service.

Drag each item onto its matching target. On a phone: tap an item, then tap a target.

Buffer background tasks for worker processing and redelivery
Retain ordered device records for stream consumers
Fan out a published notification to independent subscribers
Amazon Kinesis Data Streams
Amazon SNS
Amazon SQS
Correct answer:
  • Fan out a published notification to independent subscribers → Amazon SNS
  • Retain ordered device records for stream consumers → Amazon Kinesis Data Streams
  • Buffer background tasks for worker processing and redelivery → Amazon SQS

Amazon SNS is designed to publish a notification to multiple subscribers. Kinesis Data Streams retains records and supports ordered processing within a shard, making it suitable for device event streams. Amazon SQS holds messages for asynchronous worker processing and makes an unacknowledged message available again after its visibility timeout. SQS is not the streaming retention service here, Kinesis is not a substitute for a visibility-timeout task queue, and SNS alone does not provide durable worker task buffering with that redelivery model.

Security

26% of the exam

3 practice questions on this topicWhat this topic covers

Question 5

Added

Single Answer

A server-side application in Account A must read objects from one S3 bucket in Account B. The application runs on EC2 and already has an instance profile role. The security team prohibits long-lived access keys and requires access to be limited to one bucket's object prefix. The bucket owner must retain control of the bucket policy. Which approach is best?

Correct answer: B

A role in Account B can trust the specific Account A instance role, and the application can obtain temporary credentials by assuming it. The assumed role's identity policy can limit reads to the required bucket prefix, avoiding long-lived keys and keeping the bucket owner's resource policy under Account B's control. Storing an IAM user key remains long-lived credential management. The broad bucket grant in the second approach exceeds the stated scope and cannot be narrowed by an identity policy as a substitute for the resource-side grant. An access point in Account A does not independently grant cross-account bucket access.

Question 6

Added

Dropdown

A Lambda function in Account A must call an AWS service using a role in Account B. The target role trusts the Lambda execution role, and the execution role already has permission to call STS for that target role. The function must use temporary credentials returned by STS for subsequent service requests. Complete the SDK credential-provider configuration conceptually.

Choose the correct value for each blank.

The function should call for the target role and use the returned as credentials for the subsequent AWS service client.
Correct answer:

The function should call AssumeRole for the target role and use the returned access key ID, secret access key, and session token as credentials for the subsequent AWS service client.

The function should call STS AssumeRole because the target role trusts the Lambda execution role and the caller has permission to assume it. AssumeRole returns temporary credentials consisting of an access key ID, secret access key, and session token; all three are needed to authenticate subsequent requests. GetCallerIdentity only reports the caller identity. GetSessionToken does not switch to the target role, and AssumeRoleWithWebIdentity is for web identity federation. A role ARN and external ID are inputs or trust controls, not the returned AWS credentials.

Question 7

Added

Multiple Answers

A web application lets authenticated users download private reports from an S3 bucket. The browser must download directly from S3, access must expire after ten minutes, and the application must not expose AWS credentials. Reports are encrypted with SSE-KMS, and each user may access only reports they are authorized to retrieve. Which two implementation choices satisfy these requirements? (Choose two.)

Correct answer: B, C

A presigned GET URL grants time-limited access to a particular object using the signing principal's permissions; the signing role must be allowed to read the object and use the relevant KMS key. The application must first verify the authenticated user's entitlement, since a presigned URL is a bearer capability rather than a user-aware authorization check. Returning access keys exposes reusable credentials. An S3 website endpoint does not enforce the application's login cookie for private objects. A PUT URL grants upload capability, not the required read access.

Testing and Deployment

22% of the exam

3 practice questions on this topicWhat this topic covers

Question 8

Added

Single Answer

A development team deploys a containerized service to Amazon ECS. Builds currently tag every image as latest, and a rollback sometimes deploys different bytes from those used in the previous test run. The team needs repeatable promotion from test to production and wants old images to remain available only as long as needed for rollback. Which approach is best?

Correct answer: D

A unique immutable tag or digest identifies the exact image artifact tested, so promoting that reference preserves the bytes across environments. An ECR lifecycle policy can remove older images after the rollback retention window. Scanning can identify vulnerabilities but does not make a mutable tag reproducible, and rebuilding per environment can produce different artifacts. ECS does not natively pull an image from an S3 bucket as a container registry. A mutable tag can be retargeted, and ECS task history does not guarantee that the old ECR image remains available.

Question 9

Added

Order List

A team is introducing AWS SAM to validate a Lambda-backed API before deployment. The pipeline must catch template and packaging problems before creating or updating the CloudFormation stack, and it must deploy only the packaged artifact produced by the same pipeline run. Arrange the steps in the order they must be performed.

Drag the steps into the correct order, or use the arrows.

  1. Run sam package to upload artifacts and produce a packaged template
  2. Deploy the packaged template with sam deploy
  3. Run sam build to prepare the application artifacts
  4. Run sam validate on the application template
Correct answer:
  1. Run sam validate on the application template
  2. Run sam build to prepare the application artifacts
  3. Run sam package to upload artifacts and produce a packaged template
  4. Deploy the packaged template with sam deploy

SAM validation checks the template before packaging. The build step prepares function artifacts, after which sam package uploads local artifacts and generates a template referencing them. Deploying that packaged template ensures the deployment uses the artifacts produced by this pipeline run. Packaging before building can leave the package step without the prepared build output. Deploying the original template before packaging can fail when it refers to local artifacts, and validating after deployment detects problems too late.

Question 10

Added

Single Answer

A service deployed to multiple AWS accounts needs environment-specific database endpoints and credentials. Endpoints change occasionally, while credentials must be encrypted and rotated without rebuilding the container image. The application runs on ECS and should retrieve configuration at runtime with least operational overhead. Which design is best?

Correct answer: D

Systems Manager Parameter Store is suitable for environment-specific configuration, while Secrets Manager is designed for sensitive credentials and supports rotation workflows. The task role can be limited to the exact parameters and secret, allowing runtime retrieval without embedding values in the image. Baking values into an image forces rebuilds and risks distributing credentials. An encrypted file bundled in the deployment is not a managed rotation pattern. Placing secrets directly in a task definition and granting administrator access unnecessarily expands exposure and permissions.

Troubleshooting and Optimization

22% of the exam

3 practice questions on this topicWhat this topic covers

Question 11

Added

Single Answer

A production Lambda function processes API requests and emits structured JSON logs to CloudWatch Logs. During a two-hour incident, the team must identify which customer IDs received a dependency timeout and compare the affected request IDs, without changing the function or downloading the full log stream. The log events include customerId, requestId, and errorType fields. Which action is most effective?

Correct answer: A

CloudWatch Logs Insights can query the existing structured log events over the incident time range, filter by errorType, and return customerId and requestId without modifying the function or exporting all logs. Metric filters are better for turning matching log patterns into metrics and are awkward for ad hoc customer-level investigation. Increasing X-Ray sampling now cannot create traces retroactively for the past incident. CloudTrail records AWS API activity, not the Lambda application's structured log events.

Question 12

Added

Drag And Drop

A team is instrumenting a distributed application and needs to assign each observability requirement to the AWS feature that directly provides it. They need end-to-end request path visualization across instrumented services, a graph of service dependencies and latency, and ad hoc SQL-like analysis of application log events. Match each requirement to the appropriate feature.

Drag each item onto its matching target. On a phone: tap an item, then tap a target.

Visualize service dependencies and latency
Trace a request across instrumented components
Run ad hoc queries over application log events
CloudWatch Logs Insights
AWS X-Ray service map
AWS X-Ray traces
Correct answer:
  • Trace a request across instrumented components → AWS X-Ray traces
  • Visualize service dependencies and latency → AWS X-Ray service map
  • Run ad hoc queries over application log events → CloudWatch Logs Insights

AWS X-Ray traces record a request's path through instrumented components and expose timing and fault information. The X-Ray service map summarizes service dependencies and latency based on trace data. CloudWatch Logs Insights queries log events interactively using fields and query commands. A service map is not the raw per-request trace view, and Logs Insights does not construct distributed traces. X-Ray traces are not a general-purpose ad hoc query engine for arbitrary application log events.

Question 13

Added

Single Answer

An API's Lambda integration is intermittently throttled during predictable weekday peaks. The function's average duration is stable, downstream services have capacity, and application logs show no exceptions. CloudWatch metrics show a sharp rise in ConcurrentExecutions alongside Throttles, while the account has substantial unallocated concurrency. The team wants to reduce customer-facing throttling without reserving capacity away from unrelated functions. What should the team do first?

Correct answer: B

Reserved concurrency allocates and caps concurrency for a function, protecting it from being starved by other functions and allowing the team to size it to the observed peak while staying within available account capacity. The metrics point to function-level concurrency pressure rather than duration or downstream errors. Raising the account quota is not the first step when substantial account capacity is already unallocated and does not reserve capacity for this function. A longer timeout does not make throttled invocations obtain concurrency. Batch size is not relevant to a direct API invocation pattern.

More Amazon Practice Questions

The Full Amazon DVA-C03 Question Set

13 questions are free on this page and the full set has 543. It comes as a PDF and an online practice test, with 90 days of free updates.