exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 602 discussion

Exam question from Amazon's AWS-SysOps
Question #: 602
Topic #: 1
[All AWS-SysOps Questions]

A company has mandated the use of multi-factor authentication (MFA) for all IAM users, and requires users to make all API-calls using the CLI. However, users are not prompted to enter MFA tokens, and are able to run CLI commands without MFA. In an attempt to enforce MFA, the company attached an IAM policy to all users that denies API calls that have not been authenticated with MFA.
What additional step must be taken to ensure that API calls are authenticated using MFA?

  • A. Enable MFA on IAM roles, and require IAM users to use role credentials to sign API calls.
  • B. Ask the IAM users to log into the AWS Management Console with MFA before making API calls using the CLI.
  • C. Restrict the IAM users to use of the console, as MFA is not supported for CLI use.
  • D. Require users to use temporary credentials from the get-session token command to sign API calls.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
Reference:
https://aws.amazon.com/iam/faqs/
(Multi-factor authentication)

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
aksliveswithaws
Highly Voted 6 months, 3 weeks ago
D is correct Ref = https://aws.amazon.com/iam/faqs/ FAQ: Q: How can IAM users request temporary security credentials for their own use? IAM users can request temporary security credentials for their own use by calling the AWS STS GetSessionToken API. The default expiration for these temporary credentials is 12 hours; the minimum is 15 minutes, and the maximum is 36 hours. You can also use temporary credentials with Multi-Factor Authentication (MFA)-Protected API Access.
upvoted 7 times
...
saumenP
Highly Voted 7 months ago
D should be correct
upvoted 6 times
...
RicardoD
Most Recent 6 months ago
D is the answer
upvoted 2 times
...
TroyMcLure
6 months ago
Correct Answer: D
upvoted 1 times
...
HVarada
6 months ago
Answer is "D"
upvoted 1 times
...
abhishek_m_86
6 months, 1 week ago
D. Require users to use temporary credentials from the get-session token command to sign API calls.
upvoted 2 times
...
Radhaghosh
6 months, 1 week ago
Agreed D. Require users to use temporary credentials from the get-session token command to sign API calls.
upvoted 2 times
...
jackdryan
6 months, 2 weeks ago
I'll go with D
upvoted 2 times
...
SHAAHIBHUSHANAWS
6 months, 2 weeks ago
D is correc. https://aws.amazon.com/premiumsupport/knowledge-center/mfa-iam-user-aws-cli/
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