Skip to main content
Cloud Computing ⭐ Premium

AWS Certified Developer Associate (DVA-C02) - 340 Questions

By Webmaster Certland ❤️ 0 likes

Practice exam for the AWS Certified Developer Associate (DVA-C02). Covers development with AWS services, security, deployment, and troubleshooting and optimization of serverless and cloud-native applications.

🔒

Premium Content

This exam is exclusive to Premium users. Upgrade to get unlimited access!

Become Premium

👁️ Free Preview (5 of 340 questions)

1. A developer is configuring an AWS Lambda function that processes images uploaded to Amazon S3. The function requires 1.5 GB of memory to run its image transformation logic. What is the maximum timeout value the developer can set for this Lambda function?

A 60 seconds
B 300 seconds
C 900 seconds
D 3600 seconds

2. A developer needs to store a database connection string securely and make it available to an AWS Lambda function at runtime without hardcoding it in the function code. The value rarely changes. What is the simplest approach?

A Hardcode the connection string directly in the Lambda function source code
B Store the connection string as a Lambda environment variable encrypted with AWS KMS
C Use AWS Secrets Manager and call the GetSecretValue API from within the Lambda function
D Store the connection string in an Amazon S3 object and read it on every Lambda invocation

3. A developer is building a serverless API using Amazon API Gateway and AWS Lambda. The team wants to expose a public HTTPS endpoint that invokes a Lambda function directly without needing a full API Gateway setup. Which feature enables this?

A API Gateway REST API with a Lambda integration
B API Gateway HTTP API with a Lambda integration
C Lambda@Edge configured on a CloudFront distribution
D Lambda Function URL configured directly on the Lambda function

4. A developer is creating an Amazon DynamoDB table to store user session data. Each session is identified by a userId and a sessionId. The primary access pattern is to retrieve all sessions for a specific user. What table key design should the developer use?

A Partition key: userId, Sort key: sessionId
B Partition key: sessionId (simple primary key)
C Partition key: userId (simple primary key)
D Partition key: randomly generated UUID, Sort key: userId

5. A developer needs to share a common set of Python libraries across multiple AWS Lambda functions to avoid bundling duplicate code in each deployment package. What is the recommended approach?

A Include the shared libraries in every Lambda function's deployment package
B Create a Lambda Layer containing the shared Python libraries and attach it to all functions
C Store the libraries in an S3 bucket and download them during Lambda initialization
D Package all Lambda functions as container images that include the shared libraries

Want to test yourself for real?

Create a free account and run our exam simulation engine.

Free No credit card
  • Simulation engine
  • Up to 10 questions per attempt
  • Score & basic stats
Create free account Already have an account? Sign in
Best
Premium 7-day trial
  • All 340 questions
  • Detailed explanations
  • Smart Practice + Focus Mode
⭐ Start 7-day free trial

Information

Questions 340
Time 2h 10min
Difficulty Medium
Minimum Score 72.00%

🤍 Like

Related Exams

Discussion

No comments yet. Be the first to start the discussion!

Sign in to join the discussion.