exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 339 discussion

A company stores all personally identifiable information (PII) in an Amazon DynamoDB table named PII in Account A. Developers are working on an application that is running on Amazon EC2 instances in Account B. The application in Account B requires access to the PII table.

An administrator in Account A creates an IAM role named AccessPII that has permission to access the PII table. The administrator also creates a trust policy that specifies Account B as a principal that can assume the role.

Which combination of steps should the developers take in Account B to allow their application to access the PII table? (Choose two.)

  • A. Allow the EC2 IAM role the permission to assume the AccessPII role.
  • B. Allow the EC2 IAM role the permission to access the PII table.
  • C. Include the AWS API in the application code logic to obtain temporary credentials from the EC2 IAM role to access the PII table.
  • D. Include the AssumeRole API operation in the application code logic to obtain temporary credentials to access the PII table.
  • E. Include the GetSessionToken API operation in the application code logic to obtain temporary credentials to access the PII table.
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
trungtd
Highly Voted 6 months, 3 weeks ago
Selected Answer: AD
AssumeRole -- Returns a set of temporary security credentials that you can use to access AWS resources. -- These temporary credentials consist of an access key ID, a secret access key, and a security token. -- Typically, you use AssumeRole within your account or for cross-account access. https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
upvoted 5 times
...
65703c1
Most Recent 5 months ago
Selected Answer: AD
AD is the correct answer.
upvoted 3 times
...
jerry118118
6 months, 3 weeks ago
Selected Answer: AD
https://www.examtopics.com/discussions/amazon/view/96243-exam-aws-certified-developer-associate-topic-1-question-434/
upvoted 2 times
...
koltysh
6 months, 3 weeks ago
Selected Answer: AD
a d answer
upvoted 1 times
...
komorebi
7 months ago
Selected Answer: BD
The correct answer to ChetGPT is B, D
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago