exam questions

Exam AWS Certified Cloud Practitioner All Questions

View all questions & answers for the AWS Certified Cloud Practitioner exam

Exam AWS Certified Cloud Practitioner topic 1 question 697 discussion

Exam question from Amazon's AWS Certified Cloud Practitioner
Question #: 697
Topic #: 1
[All AWS Certified Cloud Practitioner Questions]

A developer is writing a program that must switch between multiple IAM roles.

Which AWS services or features can the program use to meet this requirement? (Choose two.)

  • A. AWS CLI
  • B. AWS Security Token Service (AWS STS) API
  • C. IAM inline policies
  • D. AWS Organizations
  • E. AWS Trusted Advisor
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

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
Guru4Cloud
2 years ago
Selected Answer: AB
The AWS services or features that the program can use to switch between multiple IAM roles are AWS CLI and AWS Security Token Service (AWS STS) API. Options A and B are the correct answers. The AWS CLI provides a command-line interface that can be used to interact with AWS services, including the ability to assume IAM roles. AWS Security Token Service (AWS STS) is a web service that enables you to request temporary, limited-privilege credentials for AWS services. You can use STS to assume a role, which allows you to switch between IAM roles in your application.
upvoted 2 times
...
RajithaR
2 years, 1 month ago
Selected Answer: AB
B. AWS Security Token Service (AWS STS) API The AWS Security Token Service (STS) API can be used to request temporary security credentials for IAM roles. The program can use the STS API to assume an IAM role and obtain temporary credentials that are associated with that role. The temporary credentials can be used to access AWS resources and services that the IAM role is authorized to access. A. AWS CLI The AWS Command Line Interface (CLI) is a command-line tool that can be used to interact with AWS services and resources, including the AWS STS API. The program can use the AWS CLI to assume an IAM role and obtain temporary security credentials that are associated with that role.
upvoted 2 times
...
linux_admin
2 years, 1 month ago
Selected Answer: AB
B. AWS Security Token Service (AWS STS) API: The AWS Security Token Service (STS) is a web service that enables you to request temporary, limited-privilege credentials for IAM users or for users that you authenticate (such as federated users and mobile application users). The AWS STS API allows the developer to programmatically request temporary security credentials for any IAM user or role in the developer's AWS account. These temporary security credentials can be used to access AWS resources without the need to share long-term security credentials. A. AWS CLI: The AWS CLI (Command Line Interface) is a unified tool that enables developers to interact with AWS services using commands in their terminal. The AWS CLI includes built-in support for IAM roles, and the developer can use the "aws sts assume-role" command to assume an IAM role and obtain temporary security credentials.
upvoted 2 times
...
Amycert
2 years, 1 month ago
Selected Answer: AB
A and B, i dont know why they marked C
upvoted 3 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