EXAMINATION PRACTICE EXAM (DVA-
C02) QUESTIONS AND CORRECT
ANSWERS (VERIFIED ANSWERS) PLUS
RATIONALES 2026 Q&A | INSTANT
DOWNLOAD PDF
1. Which AWS service is best for storing session data in a highly scalable web
application?
A. Amazon S3
B. Amazon DynamoDB
C. AWS CloudFormation
D. AWS CloudTrail
Correct Answer: B. Amazon DynamoDB
Rationale: DynamoDB is a fully managed NoSQL database designed for low-
latency, highly scalable workloads. It is commonly used for session storage
because it supports fast read/write operations and can handle large amounts of
concurrent traffic without performance degradation.
2. Which AWS service allows you to run code without provisioning servers?
A. Amazon EC2
B. AWS Lambda
C. Amazon ECS
D. AWS Elastic Beanstalk
Correct Answer: B. AWS Lambda
Rationale: AWS Lambda is a serverless compute service that automatically runs
,code in response to events. Developers do not manage servers, and scaling is
handled automatically, making it ideal for event-driven architectures.
3. Which service is used to securely store API keys and database credentials?
A. AWS Secrets Manager
B. AWS KMS
C. Amazon S3
D. AWS CloudTrail
Correct Answer: A. AWS Secrets Manager
Rationale: Secrets Manager is designed specifically for securely storing, rotating,
and retrieving sensitive credentials such as API keys and database passwords. It
integrates with many AWS services to enhance security.
4. Which AWS service is used for asynchronous messaging between
microservices?
A. Amazon RDS
B. Amazon SQS
C. Amazon CloudFront
D. AWS IAM
Correct Answer: B. Amazon SQS
Rationale: Amazon Simple Queue Service (SQS) enables decoupled,
asynchronous communication between distributed systems. It ensures reliable
message delivery even under heavy load.
5. What is the main benefit of using Amazon API Gateway?
A. Data storage
B. Managing IAM roles
C. Creating and managing APIs
D. Running container workloads
Correct Answer: C. Creating and managing APIs
, Rationale: API Gateway allows developers to create, publish, secure, and
monitor APIs at scale, often used with Lambda for serverless applications.
6. Which AWS service is best suited for caching frequently accessed data?
A. Amazon RDS
B. Amazon ElastiCache
C. AWS Lambda
D. AWS Step Functions
Correct Answer: B. Amazon ElastiCache
Rationale: ElastiCache provides in-memory caching using Redis or Memcached,
significantly improving application performance by reducing database load.
7. What does AWS IAM primarily manage?
A. Networking
B. Identity and access control
C. Data storage
D. Serverless execution
Correct Answer: B. Identity and access control
Rationale: IAM (Identity and Access Management) controls user permissions,
authentication, and authorization across AWS resources.
8. Which service is used for deploying containerized applications?
A. AWS Fargate
B. Amazon Glacier
C. AWS CloudTrail
D. AWS IAM
Correct Answer: A. AWS Fargate
Rationale: Fargate allows running containers without managing servers,
abstracting infrastructure management for ECS and EKS workloads.