Which AWS services or features can the program use to meet this requirement?
(Choose two.)
AWS CLI
AWS Security Token Service (AWS STS) API
IAM inline policies
AWS Organizations
AWS Trusted Advisor
Explanations:
AWS CLI can be used to switch between IAM roles by assuming roles with temporary security credentials, which is useful for developers working with multiple roles.
AWS STS API provides temporary credentials that allow the program to assume different IAM roles, facilitating switching between roles securely.
IAM inline policies define permissions but do not facilitate switching between roles, which is required in this scenario.
AWS Organizations manage accounts and policies at an organizational level but are not used directly for switching IAM roles in a program.
AWS Trusted Advisor provides recommendations for best practices but does not support role switching capabilities for a program.