AmazonFree

AWS Certified Developer Associate DVAC02 AWS Certified Developer Associate DVAC02 Free Practice Test — 30 Questions

This practice bank exercises your ability to design and troubleshoot serverless and microservices architectures on AWS. Key decisions involve Lambda concurrency models (reserved vs. provisioned), stateless session management, asynchronous integration with SQS/SNS, secure handling of sensitive data with encryption and Secrets Manager, and implementing resilience patterns like retries, circuit breakers, and DLQs. You must also demonstrate behavioral competencies such as adaptability when integrating unfamiliar services. Mastery of these scenarios prepares you for scenario-based questions on the DVA-C02 exam.

30
practice questions
20
recall cards
30
explanations
0
sign-ups required
Exam-focused analysis

What this AWS Certified Developer Associate DVAC02 AWS Certified Developer Associate DVAC02 practice set measures

This is an analysis of the practice bank, not a claim about the vendor's live exam blueprint. Use it to identify the knowledge, judgment, and recall patterns exercised here, then verify your coverage against the current official exam guide.

Serverless Compute and Concurrency

The practice bank emphasizes understanding AWS Lambda's concurrency models, including reserved and provisioned concurrency. You must know how throttling occurs when invocations exceed limits. Additionally, Lambda execution environment characteristics (stateless, temporary storage) require external state management like ElastiCache for session data. Memory configuration impacts CPU allocation, and counter-intuitive performance issues require tuning. Mastery of these concepts is essential for designing scalable serverless applications.

  • Reserved concurrency limits concurrent executions; excess invocations are throttled.
  • Provisioned concurrency pre-warms environments to eliminate cold starts and throttle at provisioned limit.
  • Lambda functions are stateless; use external services like ElastiCache for session state.
  • Increasing memory also increases CPU; performance tuning may require testing different values.

Security and Data Protection

Multiple questions focus on securing sensitive data processed by Lambda and stored in S3 or DynamoDB. Key strategies include server-side encryption with AWS KMS, enforcing HTTPS for API Gateway endpoints, and using IAM roles with least privilege. AWS Secrets Manager securely handles secrets like API keys and supports automatic rotation. Compliance with regulations like GDPR requires data masking before logging to CloudWatch. You must also configure S3 bucket policies with explicit denies to restrict public access.

  • Use AWS KMS for server-side encryption of data at rest in S3 and in transit with HTTPS.
  • Store configuration secrets (database strings, API keys) in AWS Secrets Manager, not code.
  • Implement IAM roles with granular permissions; deny public access via bucket policies.
  • Mask or redact PII before writing to CloudWatch Logs to meet privacy regulations.

Microservices Architecture and Integration

The practice bank covers decoupling services using SQS and SNS for asynchronous communication, with DLQs for failed message handling. Step Functions orchestrate complex workflows with retry and error handling. Blue/green deployments via CodePipeline and ALB weighted target groups enable zero-downtime migrations. Feature flags with AppConfig allow gradual rollout. Understanding these patterns is crucial for building resilient, independently deployable microservices on AWS.

  • Use SQS queues with Lambda event source mappings for reliable, decoupled processing.
  • Configure DLQs on SQS to capture messages that exceed maximum receive count.
  • Step Functions provide built-in retry with exponential backoff for transient failures.
  • Blue/green deployments shift traffic gradually using ALB weighted target groups.

Observability and Troubleshooting

To diagnose intermittent failures in distributed systems, AWS X-Ray provides end-to-end tracing across services like API Gateway, Lambda, and DynamoDB. It helps identify latency bottlenecks and error sources. CloudWatch Logs and metrics monitor function invocations and errors. When facing unexplainable failures during traffic spikes, implementing retry with exponential backoff and jitter for API calls can mitigate throttling. Behavioral questions test your ability to adapt and use these tools under pressure.

  • AWS X-Ray traces requests across microservices to pinpoint failures and latency.
  • CloudWatch Logs store execution details; avoid logging PII for compliance.
  • Implement exponential backoff and jitter for retries to handle transient throttling.
  • Use CloudWatch alarms and dashboards to monitor concurrency and error rates.
Active recall deck

Practice AWS Certified Developer Associate DVAC02 AWS Certified Developer Associate DVAC02 with real flashcards

Read the prompt, commit to an answer, then flip the card. Move through the deck at your own pace and repeat any topic that does not come back quickly.

20 free cards

Card 1 of 20

1 reviewed this session

Static practice bank

Start the 30-question diagnostic

The complete question bank is embedded in this pre-rendered page. There is no database request or second content download when you begin.

Question 1 of 30

Consider a scenario where a critical AWS Lambda function, designed to process incoming user requests, has been configured with a reserved concurrency of 10. A sudden surge in user activity results in 15 simultaneous invocations of this function. What is the most likely outcome regarding the execution of these invocations?

1 correct answers

Study workflow

Turn one AWS Certified Developer Associate DVAC02 AWS Certified Developer Associate DVAC02 attempt into a study plan

  1. 1

    Master Lambda Concurrency Models

    Study reserved vs. provisioned concurrency. Understand that reserved concurrency limits total concurrent executions while provisioned concurrency pre-warms. Practice calculating throttling scenarios when invocations exceed limits.

  2. 2

    Set Up Secure Data Handling

    Implement end-to-end encryption: enable S3 SSE-KMS, enforce HTTPS on API Gateway, use Secrets Manager for credentials, and mask PII before logging. Review IAM policies for least privilege.

  3. 3

    Decouple Services with Queues

    Design asynchronous communication using SQS and SNS. Configure Lambda event source mappings with DLQs. Practice setting max receive count and handling poison pill messages.

  4. 4

    Implement CI/CD for Microservices

    Use CodePipeline, CodeBuild, and ECS with blue/green deployments. Leverage ALB weighted target groups to shift traffic gradually. Incorporate feature flags via AppConfig for controlled rollouts.

  5. 5

    Use X-Ray for Troubleshooting

    Instrument Lambda functions with X-Ray SDK. Analyze service maps and traces to identify latency bottlenecks. Implement retry logic with exponential backoff for downstream calls.

FAQ

Questions about this exam practice page

Clear boundaries on what the bank covers, how to use it, and where official vendor information still matters.

What is the difference between reserved and provisioned concurrency in Lambda?+

Reserved concurrency sets a limit on concurrent executions for a function, ensuring it doesn't compete with others. Provisioned concurrency pre-warms a specified number of execution environments to eliminate cold starts, but the function can still burst beyond that up to the account limit, though additional invocations are throttled when the provisioned level is exceeded.

How can I securely store API keys and database credentials for Lambda?+

Use AWS Secrets Manager to store secrets. Attach an IAM role to the Lambda function with permissions to retrieve the secret. Call the Secrets Manager API in the function code to fetch the secret at runtime. Avoid hardcoding secrets or storing them in environment variables.

What AWS service provides end-to-end tracing for microservices?+

AWS X-Ray. It traces requests as they travel through your application, showing a map of services and their interactions. You can instrument Lambda, API Gateway, DynamoDB, and other services to identify performance bottlenecks and errors.

How do I ensure zero downtime when migrating from a monolith to microservices?+

Use a phased migration: run the monolith and new services in parallel. Implement blue/green deployments via CodePipeline and ALB weighted target groups to gradually shift traffic. Validate new services against the monolith's output before full cutover.

What should I do when a Lambda function fails to process an SQS message?+

Configure a Dead-Letter Queue (DLQ) on the SQS queue. Set a maximum receive count; after the count is exceeded, the message is sent to the DLQ. This prevents repeated processing failures and allows offline analysis of problematic messages.

Keep studying

Build the next review session

Browse another free bank or use the study strategy guide to turn your misses into spaced review.