AWS Identity and Access Management (IAM) | Policy Simulator Flashcards

1
Q

What is a policy summary?

Policy Simulator

AWS Identity and Access Management (IAM) | Security, Identity & Compliance

A

If you are using the IAM console and choose a policy, you will see a policy summary. A policy summary lists the access level, resources, and conditions for each service defined in a policy (see the following screenshot for an example). The access level (View, Read, Write, or Permissions management) is defined by actions granted for each service in the policy. You can view the policy in JSON by choosing the JSON button.

Screenshot of a policy summary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the IAM policy simulator?

Policy Simulator

AWS Identity and Access Management (IAM) | Security, Identity & Compliance

A

The IAM policy simulator is a tool to help you understand, test, and validate the effects of your access control policies.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What can the policy simulator be used for?

Policy Simulator

AWS Identity and Access Management (IAM) | Security, Identity & Compliance

A

You can use the policy simulator in several ways. You can test policy changes to ensure they have the desired effect before committing them to production. You can validate existing policies attached to users, groups, and roles to verify and troubleshoot permissions. You can also use the policy simulator to understand how IAM policies and resource-based policies work together to grant or deny access to AWS resources.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Who can use the policy simulator?

Policy Simulator

AWS Identity and Access Management (IAM) | Security, Identity & Compliance

A

The policy simulator is available to all AWS customers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How much does the policy simulator cost?

Policy Simulator

AWS Identity and Access Management (IAM) | Security, Identity & Compliance

A

The policy simulator is available at no extra cost.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do I get started?

Policy Simulator

AWS Identity and Access Management (IAM) | Security, Identity & Compliance

A

Go to https://policysim.aws.amazon.com, or click the link on the IAM console under “Additional Information.” Specify a new policy or choose an existing set of policies from a user, group, or role that you’d like to evaluate. Then select a set of actions from the list of AWS services, provide any required information to simulate the access request, and run the simulation to determine whether the policy allows or denies permissions to the selected actions and resources. To learn more about the IAM policy simulator, watch our Getting Started video or see the documentation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What kinds of policies does the IAM policy simulator support?

Policy Simulator

AWS Identity and Access Management (IAM) | Security, Identity & Compliance

A

The policy simulator supports testing of newly entered policies and existing policies attached to users, groups, or roles. In addition, you can simulate whether resource-level policies grant access to a particular resource for Amazon S3 buckets, Amazon Glacier vaults, Amazon SNS topics, and Amazon SQS queues. These are included in the simulation when an Amazon Resource Name (ARN) is specified in the Resource field in Simulation Settings for a service that supports resource policies.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

If I change a policy in the policy simulator, do those changes persist in production?

Policy Simulator

AWS Identity and Access Management (IAM) | Security, Identity & Compliance

A

No. To apply changes to production, copy the policy that you’ve modified in the policy simulator and attach it to the desired IAM user, group, or role.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly