ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 298 - SCS-C02 discussion

Report
Export

A company has two AWS accounts: Account A and Account B. Account A has an IAM role that IAM users in Account B assume when they need to upload sensitive documents to Amazon S3 buckets in Account A.

A new requirement mandates that users can assume the role only if they are authenticated with multi-factor authentication (MFA). A security engineer must recommend a solution that meets this requirement with minimum risk and effort.

Which solution should the security engineer recommend?

A.
Add an aws:MultiFactorAuthPresent condition to therole's permissions policy.
Answers
A.
Add an aws:MultiFactorAuthPresent condition to therole's permissions policy.
B.
Add an aws:MultiFactorAuthPresent condition to therole's trust policy.
Answers
B.
Add an aws:MultiFactorAuthPresent condition to therole's trust policy.
C.
Add an aws:MultiFactorAuthPresent condition to thesession policy.
Answers
C.
Add an aws:MultiFactorAuthPresent condition to thesession policy.
D.
Add an aws:MultiFactorAuthPresent condition to theS3 bucket policies.
Answers
D.
Add an aws:MultiFactorAuthPresent condition to theS3 bucket policies.
Suggested answer: B

Explanation:

To ensure that IAM users in Account B can only assume a role in Account A if they are authenticated with Multi-Factor Authentication (MFA), the recommended solution is to add an aws:MultiFactorAuthPresent condition to the role's trust policy in Account A. The trust policy defines which principals (users, applications, services) can assume the role and under what conditions. By adding the aws:MultiFactorAuthPresent condition, the policy explicitly requires MFA to be present for the assume role action to succeed. This ensures that only authenticated users with MFA can assume the role, enhancing the security posture with minimal operational overhead and without modifying permissions or session policies, which could affect the role's intended capabilities.

asked 16/09/2024
Steve Marechal
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first