Skip to exam content
← All Exams
Techclick Infosec

AWS DVA-C02 Practice Test

Developer Associate · Lambda · DynamoDB · API Gateway · IAM

120 scenario questions · 180 min · 70% Techclick practice target

120
Questions
180
Minutes
70%
Techclick Practice Target

⚠️ Exam Rules

  • Once started, the timer cannot be paused
  • You can navigate freely — use Previous or the Navigator panel to revisit any question
  • Tab-switching triggers warnings (3 strikes = auto-submit)
  • Right-click and copy disabled during exam
  • If you fail, retry — questions and options reshuffle

DVA-C02 practice test: what's covered

Questions in this Techclick bank120
Timer180 min
Techclick practice target70%
Official exam codeDVA-C02

Free DVA-C02 sample questions

  1. A developer is creating a serverless application using AWS Lambda in Python 3.12. The application requires the external `requests` library, which is not included in the standard Lambda execution environment. Which packaging strategy represents the recommended AWS best practice?

    • A. Option A: Build a custom Lambda Layer containing the requests library and attach it to the function
    • B. Option B: Include pip install commands directly inside the Lambda handler function logic
    • C. Option C: Rewrite the entire application HTTP handling logic using the standard Python urllib library
    • D. Option D: Provision an Amazon EC2 instance to run the Python script continuously instead of serverless
    Show answer

    Correct: A. Option A is correct because building a custom Lambda Layer separates third-party dependencies from function deployment packages, keeping deployment ZIPs small, fast to deploy, and reusable across multiple Lambda functions. Option B is incorrect because installing dependencies at runtime adds execution latency and violates read-only container file system constraints. Option C is incorrect because refactoring core logic avoids dependency management at the cost of developer velocity. Option D is incorrect because introducing EC2 instances eliminates serverless automatic scaling and increases maintenance overhead.

  2. An e-commerce company requires immediate read consistency after writing customer order records to an Amazon DynamoDB table. Which trade-off must the developer account for when choosing strongly consistent reads over eventually consistent reads?

    • A. Option A: Strongly consistent reads double Write Capacity Unit (WCU) consumption across global secondary indexes
    • B. Option B: Strongly consistent reads consume 2× Read Capacity Units (RCUs) and may incur slightly higher latency to return the latest committed write
    • C. Option C: Strongly consistent reads are completely free of extra cost but require an active ElastiCache cluster
    • D. Option D: Strongly consistent reads and eventually consistent reads have identical performance and RCU consumption
    Show answer

    Correct: B. Option B is correct because strongly consistent reads consume double the Read Capacity Units (1 RCU per 4 KB item compared to 0.5 RCU for eventually consistent reads) and require a response from all storage nodes. Option A is incorrect because read consistency settings do not alter WCU consumption. Option C is incorrect because consistent reads carry a financial cost and do not rely on ElastiCache. Option D is incorrect because consistency models differ significantly in cost and latency guarantees.

  3. A developer has configured an AWS Lambda function to consume records from an Amazon DynamoDB Stream. How does the Lambda runtime handle record batch execution and retry failures during stream processing?

    • A. Option A: Lambda requires manual deletion of stream records after processing each individual event payload
    • B. Option B: Lambda requires an Amazon SQS queue in front of DynamoDB Streams to manage message acknowledgments
    • C. Option C: Lambda automatically advances the shard iterator on success, or retries the entire batch until success or expiration on thrown exceptions
    • D. Option D: Lambda automatically drops failed stream records without retrying to preserve high throughput processing
    Show answer

    Correct: C. Option C is correct because stream event source mappings automatically retry failing batches until records expire (up to 7 days) or reach max retry limits, and bisect-on-failure can isolate failing records. Option A is incorrect because stream records cannot be manually deleted by Lambda code. Option B is incorrect because DynamoDB Streams integrate directly with Lambda without needing SQS. Option D is incorrect because unhandled errors trigger continuous retries rather than silent record drops.

  4. A developer is designing a serverless HTTP API fronting AWS Lambda functions for a public mobile app. The developer must implement JWT-based user authentication and rate limiting while minimizing cost. Which TWO AWS service configurations satisfy these requirements? (Choose TWO)

    • A. Option A: Deploy an Amazon API Gateway HTTP API with a native JWT Authorizer for Cognito authentication
    • B. Option B: Configure API Gateway usage plans and throttling limits to protect backend Lambda functions
    • C. Option C: Configure direct Lambda Function URLs with public unauthenticated access and in-memory rate limiting
    • D. Option D: Provision an Application Load Balancer with custom EC2 reverse proxies for token validation
    Show answer

    Correct: A and B. Options A and B are correct because API Gateway HTTP APIs provide lightweight JWT authorization natively without Lambda invocation overhead, and usage plans/throttling enforce rate limits efficiently at the API tier. Option C is incorrect because Function URLs lack native usage plans and built-in Cognito JWT authorizers. Option D is incorrect because deploying EC2 reverse proxies adds unnecessary infrastructure cost and maintenance overhead to a serverless architecture.

  5. A cloud developer is provisioning a write-heavy Amazon DynamoDB table for an application that demands single-digit millisecond latency at scale. How should table capacity be configured to maintain optimal performance?

    • A. Option A: Always select provisioned capacity with static manual limits to prevent unexpected scaling costs
    • B. Option B: Always select On-Demand capacity because Provisioned mode cannot achieve single-digit millisecond latency
    • C. Option C: Deploy Amazon ElastiCache for Redis in front of the table because DynamoDB alone cannot deliver millisecond writes
    • D. Option D: Select either On-Demand capacity or Provisioned capacity with Application Auto Scaling based on workload predictability
    Show answer

    Correct: D. Option D is correct because DynamoDB natively delivers single-digit millisecond latency regardless of capacity mode; On-Demand handles unpredictable traffic bursts automatically, while Provisioned mode with auto-scaling optimizes cost for predictable workloads. Option A is incorrect because static manual provisioned capacity risks throttling during traffic spikes. Option B is incorrect because provisioned tables deliver identical latency. Option C is incorrect because DynamoDB natively achieves single-digit millisecond write performance without caching.

Last updated:

DVA-C02 practice test FAQ

Is this DVA-C02 practice test free?

Yes. You can start, finish and score it for free, and download the Techclick practice certificate.

How many questions are in the Techclick DVA-C02 practice test?

This bank has 120 original scenario-based questions with a 180-minute timer and a 70% Techclick practice target.

What is the official exam code and format?

The official exam code is DVA-C02 (AWS).

Are these real DVA-C02 exam questions or dumps?

No. They are original practice questions written by Techclick. This is not the vendor's official exam and not leaked dumps.

Do I get a certificate?

Score 70% or higher to get a Techclick practice certificate and LinkedIn badge. It is not an official AWS certification.

What should I take after DVA-C02?

Related practice tests: AWS SAA-C03, AWS DOP-C02, AWS CLF-C02, AWS SOA-C02, Azure AZ-204, Terraform Associate (linked below).

Techclick Infosec
TECHCLICK INFOSEC
CYBERSECURITY · PRACTICE ASSESSMENT
☁️
PRACTICE ASSESSMENT
AWS DVA-C02
Developer Associate · Lambda · DynamoDB · API Gateway · IAM
AWARDED TO
{NAME}
SCORE
0%
DATE
--
TC-DVA-C02-XXX
Practice certificate · not independently verified · Techclick Infosec Pvt Ltd · +91 92772 29456