
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A solutions architect wants to use the following JSON text as an identity-based policy to grant specific permissions:
{
"Statement": [
{
"Action": [
"ssm:ListDocuments",
"ssm:GetDocument"
],
"Effect": "Allow",
"Resource": "*",
"Sid": ""
}
],
"Version": "2012-10-17"
}
{
"Statement": [
{
"Action": [
"ssm:ListDocuments",
"ssm:GetDocument"
],
"Effect": "Allow",
"Resource": "*",
"Sid": ""
}
],
"Version": "2012-10-17"
}
Which IAM principals can the solutions architect attach this policy to? (Choose two.)
A
Role
B
Group
Explanation:
This is an identity-based policy in IAM. Identity-based policies are attached to IAM identities (users, groups, or roles) to define what actions they can perform on which resources.
Identity-based policies can be attached to:
The policy shown grants permissions for SSM (Systems Manager) actions:
ssm:ListDocuments - List SSM documentsssm:GetDocument - Get SSM document content* (all resources)Why A (Role) and B (Group) are correct:
Why other options are incorrect:
This policy can be attached to IAM roles and groups, making options A and B the correct answers.