ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 17 - 312-40 discussion

Report
Export

Ewan McGregor works as a cloud security engineer in a multinational company that develops software and applications for eCommerce companies. Owing to the robust services provided by AWS for developing applications and software, his organization migrated to the AWS cloud in 2010. To test whether it is possible to escalate privileges to obtain AWS administrator account access, Ewan attempt to update the login profile with regular user accounts. Which of the following commands should Ewan try to update an existing login profile?

A.
aws iam update-login-profile -- user-name < password > -- password < username >
Answers
A.
aws iam update-login-profile -- user-name < password > -- password < username >
B.
aws iam update-login-profile -- user-name < username > -- password < password >
Answers
B.
aws iam update-login-profile -- user-name < username > -- password < password >
C.
aws iam update-login-profile -- user-name < password > -- password < username >
Answers
C.
aws iam update-login-profile -- user-name < password > -- password < username >
D.
aws iam update-login-profile -- password < password > -- user-name < username >
Answers
D.
aws iam update-login-profile -- password < password > -- user-name < username >
Suggested answer: B

Explanation:

To update an existing login profile for an IAM user, the correct AWS CLI command syntax is as follows:

aws iam update-login-profile --user-name <username> --password

Here's the breakdown of the command:

1.aws iam update-login-profile: This is the AWS CLI command to update the IAM user's login profile.

1.--user-name <username>: The --user-name flag specifies the IAM username whose login profile Ewan wants to update.

1.--password : The --password flag followed by sets the new password for the specified IAM user.

It's important to replace <username> with the actual username and with the new password Ewan wishes to set.

AWS CLI documentation on the update-login-profile command1.

asked 18/09/2024
Rocco Cristofaro
45 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first