SCS-C02 · Question #137
SCS-C02 Question #137: Real Exam Question with Answer & Explanation
Sign in or unlock SCS-C02 to reveal the answer and full explanation for question #137. The question stem and answer options stay visible for context.
Question
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.)
Options
- AEnsure that LambdaAuditRole has the sts:AssumeRole permission for AcmeAuditFactoryRole.
- BEnsure that LambdaAuditRole has the AWSLambdaBasicExecutionRole managed policy
- CEnsure that the trust policy for AcmeAuditFactoryRole allows the sts:AssumeRole action from
- DEnsure that the trust policy for LambdaAuditRole allows the sts:AssumeRole action from the
- EEnsure that the sts:AssumeRole API call is being issued to the us-east-1 Region endpoint.
Unlock SCS-C02 to see the answer
You've previewed enough free SCS-C02 questions. Unlock SCS-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.