Amazon DVA-C03 Practice Exam Questions & Answers
Amazon DVA-C03 Exam Details
Key details for this exam, checked against the published exam outline
- Exam Code
- DVA-C03
- Full Name
- AWS Certified Developer - Associate
- Issuing Body
- Amazon Web Services
- Delivery
- Taken at a Pearson VUE testing center or as an online proctored exam
- Eligibility
- None. There are no prerequisites or required prior certifications.
- Validity
- 3 years
- Full Question Set
- 543 questions Get All Questions
Free DVA-C03 Practice Questions
Answer each question, then see the correct answer and why it is right
Question 1 Domain 4 Troubleshooting and Optimization
A developer intermittently gets HTTP 400: ThrottlingException errors when making requests to the Amazon CloudWatch API. Whenever a request fails, no data is returned.
Which best practice should be applied first to resolve this problem?
Question 2 Domain 1 Development with AWS Services
An organization stores information in an Amazon S3 bucket. An on-premises application running on a server in the company's data center changes this data several times each day. The organization has turned on S3 Versioning for the bucket. Over time, the team sees many versions of the same objects in the bucket. The organization wants the bucket to keep the present version of every object along with the version directly before it. Which approach meets these needs?
The correct answer is B because Amazon S3 Lifecycle rules can manage versioned objects, including noncurrent object versions. In a bucket with versioning enabled, the newest object version is the current version, and earlier versions become noncurrent. The goal is to keep the current version and only the version immediately before it. S3 Lifecycle is the built-in feature made to expire or retain noncurrent versions based on a policy.
AWS documentation states that a lifecycle configuration for a versioned bucket can specify how many newer noncurrent versions to keep before Amazon S3 permanently deletes older noncurrent versions. This matches the requirement to preserve only the latest prior version while removing older historical versions automatically.
Option A is incorrect because an S3 bucket policy controls access permissions, not how object versions are retained. Option C is incorrect because S3 Object Lock is meant for write-once-read-many retention and legal hold use cases, not for keeping only one previous object version. Option D is not suitable because suspending versioning would stop creating new full versions going forward, but it would not provide an automated retention policy for existing versions, and changing the application adds unnecessary complexity.
An S3 Lifecycle rule is the most operationally efficient, AWS-native choice. The bucket keeps versioning enabled to guard against accidental overwrites, while retained noncurrent versions are automatically limited to what the business needs. Therefore, B is the correct answer.
Question 3 Domain 1 Development with AWS Services
A developer built an AWS Lambda function that sends a notification through Amazon Simple Notification Service (Amazon SNS) each time a file over 50 MB is uploaded to Amazon S3. The developer tested the function from the CLI and it worked. After the event notification was attached to the S3 bucket, a 3.000 MB file was uploaded, but the Lambda function never started.
Which of the following could be the cause of the Lambda function failing to start?
Get the complete DVA-C03 question set
$20$40
Question 4 Domain 2 Security
An application is being rolled out on Amazon EC2 instances that operate inside Account
For cross-account access from EC2 in Account A to a Kinesis data stream in Account B, the recommended secure approach is to use STS AssumeRole to obtain a role in the resource-owning account (Account B). This keeps Account B in control of which permissions external principals receive and lets workloads in Account A obtain temporary credentials limited to the required actions.
First, create an IAM role in Account B with the necessary Kinesis read permissions (such as kinesis:GetRecords, kinesis:GetShardIterator, kinesis:DescribeStream, and other read actions as needed). That corresponds to option B. This role represents the permission boundary that Account B controls for access to its stream.
Second, set the role's trust policy in Account B so that the instance profile role (or another IAM principal) from Account A is allowed to assume it. In practice, the trust relationship is defined on the Account B role and names the Account A role as the trusted principal, enabling sts:AssumeRole. This corresponds to option C (the intent is ''permit the instance profile role to assume the IAM role in Account B'').
Option A alone is insufficient because permissions in Account A do not grant access to resources owned by Account B without an explicit cross-account authorization path. Option D is incorrect because trust policies do not ''permit reading from the stream''; they allow principals to assume roles, while permissions policies allow service actions. Option E (a resource-based policy) is not the primary mechanism for cross-account access to Kinesis Data Streams in this scenario compared with the standard role assumption model; the secure and common approach is to assume a role in the owning account.
Therefore, the correct actions are B (create the role with read permissions in Account B) and C (configure trust so Account A's instance role can assume it).
Question 5 Domain 2 Security
A social media firm is building a platform where users can upload files that are kept in Amazon S3. Users may upload content encrypted with a public key. The firm needs to make certain that only the firm itself can decrypt the uploaded content by using an asymmetric encryption key. The data has to remain encrypted at all times, both while in transit and at rest.
Options:
Step 1: Problem Understanding
Asymmetric Encryption Requirement: Users encrypt data with a public key, and only the firm can decrypt it using the private key.
Data Encryption at Rest and In Transit: The data must be protected during upload (in transit) and while it is stored in Amazon S3 (at rest).
Step 2: Solution Analysis
Option A: Server-side encryption with Amazon S3 managed keys (SSE-S3).
Amazon S3 handles both the encryption and decryption keys.
This does not satisfy the asymmetric encryption requirement, in which the firm relies on a private key.
Not suitable.
Option B: Server-side encryption with customer-provided keys (SSE-C).
The user must supply the encryption keys during the upload process.
This does not fit the asymmetric encryption requirement.
Not suitable.
Option C: Client-side encryption with a data key.
Encryption with a data key is symmetric, not asymmetric.
It does not meet the requirement for a public-private key pair.
Not suitable.
Option D: Client-side encryption with a customer-managed encryption key.
Data is encrypted on the client side using the public key.
Only the firm can decrypt the data using the corresponding private key.
Data stays encrypted during upload (in transit) and in S3 (at rest).
Correct option.
Step 3: Implementation Steps for Option D
Generate Key Pair:
The firm creates an RSA key pair (public and private) for encryption and decryption.
Encrypt Data on Client Side:
Use the public key to encrypt the data before it is uploaded to S3.
S3 Upload:
Upload the encrypted data to S3 over an HTTPS connection.
Decrypt Data on the Server:
Use the private key to decrypt the data when it is needed.
AWS Developer References:
Amazon S3 Encryption Options
Asymmetric Key Cryptography in AWS
Question 6 Domain 3 Testing and Deployment
A developer is building an ecommerce platform that interacts with several third-party payment processing APIs. None of the third-party payment services offer a sandbox environment.
The developer must verify the ecommerce platform's integration with the third-party payment processing APIs. The developer must test the API integration code while avoiding any calls to the third-party payment processing APIs.
Which solution will meet these requirements'?
Simulating API Responses: API Gateway's Mock integration type lets the API mimic backend behavior without calling backend services.
Testing with Sample Data: Using responses captured from the actual third-party API keeps the testing of the integration code realistic.
Focus on Integration Logic: This approach lets the developer isolate and test the application's interaction with the payment APIs, even without a test environment from the third-party providers.
References:
Amazon API Gateway Mock Integrations:https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-mock-integration.html
Question 7 Domain 4 Troubleshooting and Optimization
A company is developing a serverless application on AWS. An AWS Lambda function handles customer orders around the clock, every day of the week. This function sends requests to an external vendor's HTTP API to handle payments.
During load testing, a developer finds that the external vendor's payment processing API sometimes times out and returns errors. The company anticipates that a number of payment processing API calls will return errors.
The company wants the support team to be notified in near real time, but only when the error rate of the external payment processing API goes above 5% of the total number of transactions within an hour. Developers must use an existing Amazon Simple Notification Service (Amazon SNS) topic that is already set up to alert the support team.
Which solution will meet these requirements?
Amazon CloudWatch is a service that tracks AWS resources and applications. A developer can publish custom metrics to CloudWatch that record the failures of the external payment processing API calls. The developer can then set up a CloudWatch alarm to notify the existing SNS topic once the error rate rises above 5% of the total number of transactions within an hour. This approach meets the requirements in a near real-time and scalable manner.
References:
[What Is Amazon CloudWatch? - Amazon CloudWatch]
[Publishing Custom Metrics - Amazon CloudWatch]
[Creating Amazon CloudWatch Alarms - Amazon CloudWatch]
Question 8 Domain 4 Troubleshooting and Optimization
A company built an API application on AWS using Amazon CloudFront, Amazon API Gateway, and AWS Lambd
a. The API gets a minimum of four requests per second.
A developer sees that numerous API clients send the same query using the POST method. The developer
wants to store POST requests in a cache to make the API resources more efficient.
Which option satisfies these requirements?
Amazon API Gateway offers features for building and documenting web APIs that send HTTP requests to Lambda functions2. You can control access to your API through authentication and authorization mechanisms. Your APIs can handle traffic from the internet or be reachable only inside your VPC2. You can change the cache method for the chosen stage in API Gateway2. As a result, option B is the correct answer.
Practice every DVA-C03 question in the full set, each one with its verified answer and a detailed explanation
Get Full AccessWhat the Amazon DVA-C03 Exam Covers
Exam domains verified against the Official Amazon DVA-C03 exam guide, last checked November 2026.
Domain 1 Development with AWS Services
30%Practise building Lambda functions with event source mappings, destinations and dead-letter queues, and wire them to API Gateway, DynamoDB, SQS, SNS and EventBridge. Spend time on DynamoDB key design, read consistency, query versus scan, and choosing between S3, ElastiCache, DynamoDB and RDS for a given access pattern.
Domain 2 Security
26%Work through IAM roles, resource policies and temporary credentials, and practise assuming a role from code with the AWS SDK. Build a presigned URL for S3 and a CloudFront-served object, then cover KMS envelope encryption, Secrets Manager and Parameter Store for sensitive values.
Domain 3 Testing and Deployment
22%Package a Lambda function as a zip file and as a container image, then deploy it with AWS SAM or CloudFormation. Practise a CodePipeline and CodeDeploy release with blue/green or canary traffic shifting, and test rollback behaviour when a deployment fails.
Above Practice Question from this Domain: Q6
Domain 4 Troubleshooting and Optimization
22%Use CloudWatch Logs Insights to query Lambda and API Gateway logs, and enable AWS X-Ray tracing to find slow service calls. Practise emitting custom CloudWatch metrics, tuning Lambda memory and provisioned concurrency, and using DynamoDB Accelerator or ElastiCache to reduce read latency.
DVA-C03 Exam FAQ
Common questions about the exam itself
Which DVA-C03 objective area is the hardest and how should I approach it?
What hands-on background does DVA-C03 assume?
How does the Security domain test IAM knowledge on DVA-C03?
Which AWS tools for troubleshooting should I know for the Troubleshooting and Optimization domain?
Does DVA-C03 test AI services and AI-assisted development tools?
What does the Testing and Deployment domain expect me to build?
Which job role does DVA-C03 map to?
How does DVA-C03 relate to the other associate-level AWS exams?
Other Amazon Exams
Free practice questions for more Amazon certification exams
