nerdexam
AmazonAmazon

DVA-C02 · Question #70

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

Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #70. The question stem and answer options stay visible for context.

Submitted by naveen.iyer· Mar 5, 2026Development with AWS Services

Question

A developer is building a new application on AWS. The application uses an AWS Lambda function that retrieves information from an Amazon DynamoDB table. The developer hard coded the DynamoDB table name into the Lambda function code. The table name might change over time. The developer does not want to modify the Lambda code if the table name changes. Which solution will meet these requirements MOST efficiently?

Options

  • ACreate a Lambda environment variable to store the table name. Use the standard method for the
  • BStore the table name in a file. Store the file in the /tmp folder. Use the SDK for the programming
  • CCreate a file to store the table name. Zip the file and upload the file to the Lambda layer. Use the
  • DCreate a global variable that is outside the handler in the Lambda function to store the table

Unlock DVA-C02 to see the answer

You've previewed enough free DVA-C02 questions. Unlock DVA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full DVA-C02 PracticeBrowse All DVA-C02 Questions