exam questions

Exam AWS Certified Security - Specialty SCS-C02 All Questions

View all questions & answers for the AWS Certified Security - Specialty SCS-C02 exam

Exam AWS Certified Security - Specialty SCS-C02 topic 1 question 111 discussion

A security engineer is creating an AWS Lambda function. The Lambda function needs to use a role that is named LambdaAuditRole to assume a role that is named AcmeAuditFactoryRole in a different AWS account.

When the code is processed, the following error message appears: "An error occurred (AccessDenied) when calling the AssumeRole operation."

Which combination of steps should the security engineer take to resolve this error? (Choose two.)

  • A. Ensure that LambdaAuditRole has the sts:AssumeRole permission for AcmeAuditFactoryRole.
  • B. Ensure that LambdaAuditRole has the AWSLambdaBasicExecutionRole managed policy attached.
  • C. Ensure that the trust policy for AcmeAuditFactoryRole allows the sts:AssumeRole action from LambdaAuditRole.
  • D. Ensure that the trust policy for LambdaAuditRole allows the sts:AssumeRole action from the lambda.amazonaws.com service.
  • E. Ensure that the sts:AssumeRole API call is being issued to the us-east-1 Region endpoint.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

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
ale_brd_111
8 months, 1 week ago
Selected Answer: AC
A. C.
upvoted 1 times
...
kejam
1 year ago
Selected Answer: AC
https://repost.aws/knowledge-center/lambda-function-assume-iam-role
upvoted 2 times
...
Aamee
1 year ago
Selected Answer: AC
makes the perfect logic.
upvoted 2 times
...
[Removed]
1 year ago
Selected Answer: AC
A and C seems right
upvoted 1 times
...
oioi
1 year ago
Selected Answer: AC
coorect
upvoted 1 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