nerdexam
AmazonAmazon

DVA-C02 · Question #113

DVA-C02 Question #113: Real Exam Question with Answer & Explanation

The correct answer is A: Create an Amazon Elastic File System (Amazon EFS) file system. Mount the EFS file system in. Amazon EFS is the only option that provides a shared, mountable file system accessible by Lambda functions in a VPC, other AWS services, and on-premises resources simultaneously, with support for concurrent file appends.

Submitted by noor.lb· Mar 5, 2026Development with AWS Services

Question

A developer is creating an AWS Lambda function in VPC mode. An Amazon S3 event will invoke the Lambda function when an object is uploaded into an S3 bucket. The Lambda function will process the object and produce some analytic results that will be recorded into a file. Each processed object will also generate a log entry that will be recorded into a file. Other Lambda functions, AWS services, and on-premises resources must have access to the result files and log file. Each log entry must also be appended to the same shared log file. The developer needs a solution that can share files and append results into an existing file. Which solution should the developer use to meet these requirements?

Options

  • ACreate an Amazon Elastic File System (Amazon EFS) file system. Mount the EFS file system in
  • BCreate an Amazon Elastic Block Store (Amazon EBS) Multi-Attach enabled volume. Attach the
  • CCreate a reference to the /tmp local directory. Store the result files and log file by using the
  • DCreate a reference to the /opt storage directory. Store the result files and log file by using the

Explanation

Amazon EFS is the only option that provides a shared, mountable file system accessible by Lambda functions in a VPC, other AWS services, and on-premises resources simultaneously, with support for concurrent file appends.

Common mistakes.

  • B. EBS Multi-Attach volumes can be attached to multiple EC2 instances in the same Availability Zone but cannot be mounted by Lambda functions or accessed natively by on-premises resources.
  • C. The Lambda /tmp directory provides up to 10 GB of ephemeral local storage per function instance; it is not shared between invocations or accessible by other services.
  • D. The /opt directory in Lambda is read-only storage used for Lambda layers; it cannot be written to at runtime and is not shared across invocations or accessible externally.

Concept tested. Amazon EFS shared file system for Lambda and cross-service access

Reference. https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html

Community Discussion

No community discussion yet for this question.

Full DVA-C02 PracticeBrowse All DVA-C02 Questions