Free AWS Certified Developer - Associate DVA-C02 Exam Braindumps
AWS Certified Developer - Associate DVA-C02 Questions 211–215 (page: 44)

Updated On: 10-Feb-2026

A developer is creating an AWS Lambda function that will generate and export a file. The function requires 100 MB of temporary storage for temporary files while running. These files will not be needed after the function is complete.
How can the developer MOST efficiently handle the temporary files?

  1. Store the files in Amazon Elastic Block Store (Amazon EBS) and delete the files at the end of the Lambda function.
  2. Copy the files to Amazon Elastic File System (Amazon EFS) and delete the files at the end of the Lambda function.
  3. Store the files in the /tmp directory and delete the files at the end of the Lambda function.
  4. Copy the files to an Amazon S3 bucket with a lifecycle policy to delete the files.

Answer(s): C



A company uses Amazon DynamoDB as a data store for its order management system. The company frontend application stores orders in a DynamoDB table. The DynamoDB table is configured to send change events to a DynamoDB stream. The company uses an AWS Lambda function to log and process the incoming orders based on data from the DynamoDB stream.
An operational review reveals that the order quantity of incoming orders is sometimes set to 0. A developer needs to create a dashboard that will show how many unique customers this problem affects each day.
What should the developer do to implement the dashboard?

  1. Grant the Lambda function’s execution role permissions to upload logs to Amazon CloudWatch Logs. Implement a CloudWatch Logs Insights query that selects the number of unique customers for orders with order quantity equal to 0 and groups the results in 1-day periods. Add the CloudWatch Logs Insights query to a CloudWatch dashboard.
  2. Use Amazon Athena to query AWS CloudTrail API logs for API calls. Implement an Athena query that selects the number of unique customers for orders with order quantity equal to 0 and groups the results in 1-day periods. Add the Athena query to an Amazon CloudWatch dashboard.
  3. Configure the Lambda function to send events to Amazon EventBridge. Create an EventBridge rule that groups the number of unique customers for orders with order quantity equal to 0 in 1-day periods. Add a CloudWatch dashboard as the target of the rule.
  4. Turn on custom Amazon CloudWatch metrics for the DynamoDB stream of the DynamoDB table. Create a CloudWatch alarm that groups the number of unique customers for orders with order quantity equal to 0 in 1-day periods. Add the CloudWatch alarm to a CloudWatch dashboard.

Answer(s): A



A developer needs to troubleshoot an AWS Lambda function in a development environment. The Lambda function is configured in VPC mode and needs to connect to an existing Amazon RDS for SQL Server DB instance. The DB instance is deployed in a private subnet and accepts connections by using port 1433.
When the developer tests the function, the function reports an error when it tries to connect to the database.
Which combination of steps should the developer take to diagnose this issue? (Choose two.)

  1. Check that the function’s security group has outbound access on port 1433 to the DB instance’s security group. Check that the DB instance’s security group has inbound access on port 1433 from the function’s security group.
  2. Check that the function’s security group has inbound access on port 1433 from the DB instance’s security group. Check that the DB instance’s security group has outbound access on port 1433 to the function’s security group.
  3. Check that the VPC is set up for a NAT gateway. Check that the DB instance has the public access option turned on.
  4. Check that the function’s execution role permissions include rds:DescribeDBInstances, rds:ModifyDBInstance. and rds:DescribeDBSecurityGroups for the DB instance.
  5. Check that the function’s execution role permissions include ec2:CreateNetworkInterface, ec2:DescribeNetworkInterfaces, and ec2:DeleteNetworkInterface.

Answer(s): A,E



A developer needs to launch a new Amazon EC2 instance by using the AWS CLI.
Which AWS CLI command should the developer use to meet this requirement?

  1. aws ec2 bundle-instance
  2. aws ec2 start-instances
  3. aws ec2 confirm-product-instance
  4. aws ec2 run-instances

Answer(s): D



A developer needs to manage AWS infrastructure as code and must be able to deploy multiple identical copies of the infrastructure, stage changes, and revert to previous versions.
Which approach addresses these requirements?

  1. Use cost allocation reports and AWS OpsWorks to deploy and manage the infrastructure.
  2. Use Amazon CloudWatch metrics and alerts along with resource tagging to deploy and manage the infrastructure.
  3. Use AWS Elastic Beanstalk and AWS CodeCommit to deploy and manage the infrastructure.
  4. Use AWS CloudFormation and AWS CodeCommit to deploy and manage the infrastructure.

Answer(s): D



Viewing page 44 of 113
Viewing questions 216 - 220 out of 610 questions


Post your Comments and Discuss Amazon AWS Certified Developer - Associate DVA-C02 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!