AWS Certified Developer Associate · Free Practice Question Easy

Question 7

A developer is designing an AWS Lambda function that creates temporary files that are less than 10 MB during invocation. The temporary files will be accessed and modified multiple times during invocation. The developer has no need to save or retrieve these files in the future. Where should the temporary files be stored?
  • A Amazon Elastic File System (Amazon EFS)
  • B Amazon Elastic Block Store (Amazon EBS)
  • C the /tmp directory
  • D Amazon S3
Reveal correct answer

Correct answer: C

Explanation

The temporary files should be stored in the /tmp directory. This directory is specifically designed for temporary storage within AWS Lambda functions, allowing for quick access and modification during invocation. The other options, such as Amazon EFS, Amazon EBS, and Amazon S3, are more suitable for persistent storage and are not necessary for temporary files that do not need to be saved or retrieved in the future.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need