Practice Lambda Questions Now
Start a timed practice session focusing on AWS Lambda topics from the DVA-C02 question bank.
Start DVA-C02 Practice Quiz →DVA-C02 Lambda Question Bank (96 Questions)
Browse all 96 practice questions covering AWS Lambda for the DVA-C02 certification exam. Answers are intentionally hidden on this page so you can self-test first before checking results in quiz mode.
- Question 1Deployment
A developer wants to version their Lambda function and create a stable alias 'production' that points to a tested version. If a new version has issues, they want to instantly roll back with zero downtime. Which Lambda feature enables this?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 2Deployment
A developer wants to test a new Lambda function alias configuration without affecting production traffic. Which Lambda feature allows routing a percentage of traffic to a new version?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 3Development with AWS Services
A developer creates a Lambda function and deploys it with an alias 'prod' pointing to version 5. They update the function and publish version 6. Does the 'prod' alias automatically point to version 6?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 4Troubleshooting and Optimization
A developer notices their Lambda function is experiencing cold starts in production. What is the MOST effective way to reduce cold start latency for critical functions?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 5Development with AWS Services
A developer wants to reduce Lambda function cold start times by keeping execution environments warm. Which approach is production-appropriate?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 6Deployment
A developer deploys a new Lambda function version using CodeDeploy Canary10Percent5Minutes. What happens after 5 minutes?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 7Troubleshooting and Optimization
A developer discovers that their Lambda function's reserved concurrency is 10, but the function receives bursts of 100 concurrent requests. What happens to the excess requests?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 8Troubleshooting and Optimization
A developer deploys a new Lambda function version. Users report 5xx errors from API Gateway. Without redeploying, how can they roll back instantly?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 9Development with AWS Services
A developer builds a Lambda function that must not exceed a specific concurrency to protect a downstream database. Which Lambda feature limits concurrent executions?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 10Development with AWS Services
A developer wants to trigger a Lambda function whenever a new object is uploaded to a specific S3 prefix. Which Lambda configuration enables this?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 11Development with AWS Services
A developer needs to call multiple AWS services from within a Lambda function using temporary credentials without hardcoding access keys. Which approach follows AWS best practices?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 12Security
A developer stores database passwords and API keys. They need these values to be encrypted, automatically rotated, and retrieved by Lambda at runtime. Which service is most appropriate?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 13Security
A developer needs to grant a Lambda function read access to a specific S3 bucket. Following least privilege, which approach is best?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 14Deployment
A developer uses AWS SAM to define Lambda functions and API Gateway resources as code. Which AWS service does SAM use to deploy the infrastructure?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 15Troubleshooting and Optimization
A Lambda function intermittently throws timeouts when connecting to an RDS database. Analysis shows it takes 2-3 seconds to establish a new connection on each invocation. Which optimization reduces this overhead?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 16Troubleshooting and Optimization
A Lambda function processes messages from an SQS queue. Messages are being processed multiple times, causing duplicate operations. Which approach prevents duplicate processing?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 17Troubleshooting and Optimization
A Lambda function processes images uploaded to S3. Processing time ranges from 2-8 seconds, causing some invocations to time out with a 5-second limit. What is the most appropriate fix?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 18Development with AWS Services
A Lambda function needs to process messages from an SQS queue but should stop processing when the queue is empty. Which Lambda trigger behavior handles this automatically?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 19Development with AWS Services
A Lambda function requires access to a relational database. The function runs 500 concurrent executions and is causing too many database connections. What is the BEST solution?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 20Development with AWS Services
An S3 event triggers a Lambda function whenever a new object is uploaded. A developer notices some events are being processed twice. What should they implement?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 21Development with AWS Services
A Lambda function needs to call an AWS service API. What is the MOST secure way to grant it permissions?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 22Development with AWS Services
A developer needs to invoke a Lambda function asynchronously and doesn't need the result. Which invocation type should they use?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 23Development with AWS Services
A developer wants to use API Gateway to expose a Lambda function as an HTTP endpoint without managing routing logic. Which integration should they choose?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 24Development with AWS Services
A developer builds a Lambda function triggered by API Gateway. The function needs to return binary image data. What must be configured?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 25Security
A Lambda function needs to access an encrypted S3 object using AWS KMS. The function receives an 'AccessDenied' error. What is the MOST likely cause?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 26Security
Which Cognito feature allows adding custom claims to JWT tokens during authentication via a Lambda function?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 27Security
A developer needs to encrypt an environment variable in a Lambda function so it's not visible in the console. Which approach is correct?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 28Security
A developer discovers that their Lambda function's environment variables containing secrets are visible in CloudTrail logs. How should this be mitigated?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 29Deployment
Which SAM resource type creates a Lambda function, an API Gateway endpoint, and the required permissions in a single declaration?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 30Deployment
A developer wants to deploy Lambda function updates using traffic shifting with automatic rollback if errors exceed a threshold. Which service combination achieves this?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 31Troubleshooting and Optimization
A Lambda function logs errors intermittently. A developer wants to trace requests end-to-end through Lambda, API Gateway, and DynamoDB. Which AWS service should they use?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 32Troubleshooting and Optimization
A Lambda function's execution time is approaching the 15-minute limit due to a large data processing job. What is the BEST architectural solution?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 33Troubleshooting and Optimization
A Lambda function writes to DynamoDB but occasionally fails with a 'ProvisionedThroughputExceededException'. What should the developer do?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 34Troubleshooting and Optimization
A developer needs to set an alert when a Lambda function's error rate exceeds 5% over 5 minutes. Which service is used?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 35Troubleshooting and Optimization
A developer deploys a Lambda function and notices the function runs correctly locally but fails with a 'module not found' error in AWS. What is the MOST likely cause?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 36Troubleshooting and Optimization
A CloudWatch log group is filling up with debug logs from a Lambda function in production, increasing storage costs. What is the BEST solution?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 37Troubleshooting and Optimization
A Lambda function processes SQS messages but is timing out on 20% of invocations. The function reads from an RDS instance. What is the MOST likely bottleneck?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 38Troubleshooting and Optimization
A developer wants to automatically scale Lambda concurrency based on SQS queue depth. What is the correct statement?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 39Troubleshooting and Optimization
A Lambda function is hitting the 512 MB /tmp storage limit during processing. What is the BEST solution?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 40Development with AWS Services
An application publishes 100 messages per second to an SNS topic. Several Lambda functions subscribe. How does SNS deliver messages to Lambda?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 41Development with AWS Services
A developer needs to share common code (e.g., a validation library) across multiple Lambda functions. What is the BEST approach?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 42Development with AWS Services
A developer builds a Lambda function that processes S3 upload events. The function should retry on failure but avoid processing duplicate events. What pattern should be used?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 43Development with AWS Services
A Lambda function needs to access resources in a private VPC (RDS, ElastiCache). What configuration is required?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 44Development with AWS Services
A developer deploys a Lambda function that reads from a parameter in AWS Systems Manager Parameter Store on each invocation, causing latency. How should they optimize this?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 45Security
A Lambda function uses an IAM role with AmazonDynamoDBFullAccess but an SCP in the organization denies DynamoDB writes. Can the function write to DynamoDB?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 46Security
A Lambda function in a VPC needs to access AWS KMS. Which network configuration avoids routing traffic over the internet?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 47Security
A developer needs to securely pass a database password to a Lambda function at deploy time. The password must not be visible in CloudFormation or Lambda console. What should they do?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 48Deployment
A developer uses AWS SAM local for local testing. Which command invokes a Lambda function locally?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 49Deployment
A developer builds a multi-stage Docker image for a Lambda function. Which base image should they use for production Lambda deployments?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 50Troubleshooting and Optimization
A Lambda function with 256 MB memory takes 3 seconds to complete. A developer increases the memory to 1024 MB. What is the EXPECTED outcome?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 51Troubleshooting and Optimization
A developer notices a Lambda function is intermittently failing with 'TooManyRequestsException'. What should they do?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 52Troubleshooting and Optimization
A Lambda function uses AWS SDK calls that occasionally fail. A developer wants to monitor the retry behavior. Which SDK feature provides visibility into retries?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 53Troubleshooting and Optimization
A developer wants to test an SQS-triggered Lambda function locally. Which SAM CLI command runs the function locally?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 54Troubleshooting and Optimization
A developer wants to measure custom business metrics (e.g., orders processed) from a Lambda function. Which is the MOST efficient approach?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 55Troubleshooting and Optimization
A developer wants to identify the most time-consuming downstream service call in a Lambda function. Which X-Ray concept shows this?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 56Troubleshooting and Optimization
A Lambda function processes an SQS batch of 10 messages. Message #5 fails. If the function throws an exception, what happens to all 10 messages?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 57Troubleshooting and Optimization
A developer wants to alert when the P99 latency of a Lambda function exceeds 2 seconds. Which CloudWatch feature is needed?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 58Development with AWS Services
A developer writes a Lambda function that calls third-party APIs. The function must retry up to 3 times with exponential backoff on transient failures. Which approach is correct?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 59Development with AWS Services
An application uses SQS and Lambda. The developer sets the Lambda event source mapping BatchSize to 10. What does this mean?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 60Development with AWS Services
A developer wants API Gateway to return a custom error message when the Lambda function returns a specific error string. Which feature maps Lambda errors to HTTP responses?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 61Development with AWS Services
A developer uses AWS AppConfig to manage feature flags for a Lambda function. How does the function retrieve the latest configuration?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 62Development with AWS Services
A developer wants to test Lambda function behavior for a specific event payload without deploying. Which approach requires NO deployment?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 63Security
A developer finds that a Lambda function can access resources it should not. How should they audit the effective permissions?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 64Security
A developer creates a resource policy on a Lambda function. What is the primary use case?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 65Security
An organization requires that all Lambda functions use customer-managed KMS keys for environment variable encryption. How is this enforced at scale?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 66Deployment
A developer uses CloudFormation to create a Lambda function. The function needs the ARN of an SQS queue created in the same stack. How should they reference it?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 67Troubleshooting and Optimization
A Lambda function has a 3-second execution time but is billed for 5 seconds. What is the MOST likely cause?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 68Troubleshooting and Optimization
A developer uses CloudWatch Logs and wants to find all ERROR log lines from a Lambda function in the last hour. Which tool provides this fastest?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 69Troubleshooting and Optimization
An application experiences intermittent failures in Lambda with 'Task timed out after X seconds'. The function calls an external API. What is the BEST fix?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 70Troubleshooting and Optimization
A developer wants to optimize cost for a Lambda function that runs 10 million times/month with execution duration under 100ms. Which configuration change could help?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 71Troubleshooting and Optimization
A developer wants to measure the impact of a code optimization on Lambda cold start times. Which metric should they track?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 72Development with AWS Services
A developer uses Lambda with a VPC. After adding VPC configuration, the function can no longer reach the internet. What is missing?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 73Development with AWS Services
A Lambda function triggered by API Gateway needs to return a binary PDF response. What must the developer configure?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 74Development with AWS Services
A developer uses API Gateway REST API. The backend integration is a Lambda function. To avoid re-invoking Lambda for identical requests within 5 minutes, what should they configure?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 75Development with AWS Services
A developer uses API Gateway with a Lambda proxy integration. The Lambda function returns a response without a 'statusCode' field. What does API Gateway return to the client?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 76Development with AWS Services
A developer uses Lambda and needs to run initialization code only once per cold start (e.g., loading a configuration file). Where should this code be placed?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 77Security
A developer uses a Lambda function and accidentally exposes the execution role ARN in logs. What risk does this create?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 78Security
A developer stores secrets in AWS Secrets Manager and wants automatic rotation with a Lambda function. Which IAM permission does the rotation Lambda function need on Secrets Manager?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 79Security
A developer has a Lambda function with IAM-based API Gateway auth. The function returns a successful response, but the client receives 403. What is the cause?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 80Security
A developer uses Lambda and wants to restrict which VPCs can connect to the function's URL. Which mechanism controls this?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 81Deployment
A developer creates a SAM template with an API Gateway and Lambda. After deployment, they update only the Lambda function code. What is the FASTEST way to redeploy?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 82Deployment
A developer wants to package and deploy a Lambda function along with its dependencies as a container image. What is the maximum container image size?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 83Deployment
A developer uses CloudFormation and wants to output the Lambda function ARN for use by other teams. Which section and function accomplish this?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 84Deployment
A developer uses CloudFormation. A Lambda function requires the ARN of an SNS topic created in the same template. Which method is MOST appropriate?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 85Deployment
A developer wants to run integration tests against a deployed Lambda function as part of the CodePipeline after deployment. Which approach is BEST?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 86Deployment
A developer uses SAM and wants to grant the Lambda function permission to read from an SQS queue. Which SAM feature simplifies this?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 87Troubleshooting and Optimization
A developer wants to trace all Lambda cold starts over the past 24 hours. Which CloudWatch filter identifies cold starts?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 88Troubleshooting and Optimization
A developer's Lambda function processes S3 events but some events are never processed and no errors appear in logs. What should they check?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 89Troubleshooting and Optimization
A developer finds that an API Gateway endpoint's latency increased after a Lambda function update. How should they identify the cause?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 90Troubleshooting and Optimization
A developer deploys a Lambda function and finds that execution time increases linearly with input size, suggesting an O(n²) algorithm. What tools help confirm this?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 91Troubleshooting and Optimization
A developer is troubleshooting a Lambda function that occasionally returns incorrect results, but logs show no errors. What should they suspect?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 92Troubleshooting and Optimization
A developer is profiling a Lambda function and discovers that 60% of time is spent loading a 50 MB ML model on each invocation. What is the BEST optimization?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 93Troubleshooting and Optimization
A Lambda function uses a library that logs extensively at DEBUG level, filling CloudWatch Logs with noise. What is the BEST approach to reduce log volume?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 94Troubleshooting and Optimization
A developer uses Lambda and wants to prevent the function from being invoked if a downstream service is degraded. Which pattern implements circuit-breaking?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 95Troubleshooting and Optimization
A developer uses Lambda with SQS event source mapping and wants to improve throughput processing messages faster. Which configuration change helps?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz - Question 96Troubleshooting and Optimization
A developer discovers a memory leak in a Lambda function — memory usage grows with each warm invocation. What is the root cause?
Answer hidden for practice.
Use the interactive quiz to reveal the correct answer and explanation.
Start DVA-C02 Quiz
Key Lambda Concepts for DVA-C02
DVA-C02 Lambda Exam Tips
AWS Lambda questions in DVA-C02 are typically scenario-based. Focus on application development patterns, event-driven integration, and secure coding on AWS. Priority concepts: lambda, serverless, function, runtime, layer, concurrency.
What DVA-C02 Expects
- Anchor your answer in select developer-friendly managed services and patterns that minimize custom undifferentiated code.
- Lambda scenarios for DVA-C02 are frequently mapped to Domain 1 (32%), Domain 3 (24%), Domain 4 (18%), so read the objective carefully before picking controls or architecture.
- Expect multi-topic scenarios where Lambda interacts with IAM, networking, storage, or observability patterns rather than appearing as an isolated question.
- When two options are both technically valid, prefer the choice that best aligns with the exam's operational scope (Associate) and vendor best practices.
High-Value Lambda Concepts
- Know the core Lambda building blocks cold: lambda, serverless, function, runtime.
- Review the edge-case features and limits for layer, concurrency; these details are commonly used to differentiate answer choices.
- Practice service-integration reasoning: how Lambda pairs with API Gateway, DynamoDB, SQS, Step Functions in real deployment patterns.
- For DVA-C02, explain why the chosen Lambda design meets reliability, security, and cost expectations better than the alternatives.
Common DVA-C02 Traps
- Watch for using infrastructure-centric answers instead of application-centric ones.
- Questions in Development with AWS Services often include distractors that look correct for Lambda but violate least-privilege, durability, or availability requirements.
- Avoid picking options purely by feature name; validate data path, failure handling, and governance impact before answering.
- If the prompt hints at automation or repeatability, eliminate manual-only operational answers first.
Fast Review Checklist
- Can you compare at least two Lambda implementation paths and justify which one best fits the scenario?
- Can you map the chosen answer back to Development with AWS Services (32%) outcomes for DVA-C02?
- Can you explain security and access boundaries for Lambda without relying on default-open assumptions?
- Can you describe how Lambda integrates with API Gateway and DynamoDB during failure, scaling, and monitoring events?