nerdexam
AmazonAmazon

DVA-C02 · Question #259

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

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

Submitted by brentm· Mar 5, 2026Security

Question

An AWS Lambda function is running in a company's shared AWS account. The function needs to perform an additional ec2:DescribeInstances action that is directed at the company's development accounts. A developer must configure the required permissions across the accounts. How should the developer configure the permissions to adhere to the principle of least privilege?

Options

  • ACreate an IAM role in the shared account. Add the ec2:DescribeInstances permission to the role.
  • BCreate an IAM role in the development accounts. Add the ec2:DescribeInstances permission to
  • CCreate an IAM role in the shared account. Add the ec2:DescribeInstances permission to the role.
  • DCreate an IAM role in the development accounts. Add the ec2:DescribeInstances permission to

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