AWS Certified CloudOps Engineer - Associate (SOA-C03) Practice Questions

AWS Certified CloudOps Engineer - Associate (SOA-C03) exam preparation

AWS Certified CloudOps Engineer - Associate (SOA-C03) practice questions in English: 180 questions with explanations. The mock exam has 65 questions and 130 minutes.

AWS Certified CloudOps Engineer - Associate (SOA-C03) free question 7 / 10 · Domain 4: Security and Compliance

An engineer drafted an identity-based policy and wants to see which actions it allows before attaching it to any role. How should the engineer use the IAM policy simulator?

  1. Use Principal mode, which is meant for policies that are already attached to an existing identity
  2. Use Custom mode, and expect the simulator to send a test request to the service to see whether the call succeeds
  3. Use Custom mode and paste the draft policy, which is simulated on its own and is not saved to the account
  4. Use Custom mode, and treat the result as final without checking the live environment
Show the answer and explanation

Answer: C

Why this is correct
The policy simulator has two modes. Custom mode is for policies that you write or paste in, and it is useful for checking a policy before you attach it. Those policies are simulated on their own and are not saved to the account. Principal mode is for policies already attached to an existing user, role, or group.

Why the other options are wrong
"Use Principal mode, which is meant for policies that are already attached to an existing identity" … Principal mode tests the policies attached to an existing user, role, or group. The page points to Custom mode for policies that you are still drafting.
"Use Custom mode, and treat the result as final without checking the live environment" … Simulator results can differ from the live AWS environment. The page recommends checking the policies against the live environment after testing.
"Use Custom mode, and expect the simulator to send a test request to the service to see whether the call succeeds" … The simulator evaluates a request against the policies without sending a real request to any AWS service.

Key points
Each simulated action returns allowed or denied, and the simulator shows which policy produced an allow or explicit deny. Check the policy against the live environment afterward, because simulator results can differ.

Go to the AWS Certified CloudOps Engineer - Associate (SOA-C03) practice app (10 free questions; purchase unlocks all questions)

See the full practice set