Courseiva
Question 1,441 of 1,570
Management and Security GovernancehardMultiple ChoiceObjective-mapped

SCS-C02 Management and Security Governance Practice Question

Exhibit

Refer to the exhibit.
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Deny",
      "Action": "ec2:RunInstances",
      "Resource": "arn:aws:ec2:*:*:instance/*",
      "Condition": {
        "StringNotEquals": {
          "ec2:InstanceType": "t2.micro"
        }
      }
    }
  ]
}

This SCP is attached to an organizational unit (OU). A developer in an account within the OU tries to launch a t2.small instance. What is the outcome?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

The launch fails because the SCP denies non-t2.micro instances.

The SCP denies ec2:RunInstances if the instance type is not t2.micro. Since t2.small is not t2.micro, the condition matches, and the action is denied. Option A is wrong because the SCP does not deny all RunInstances actions; it only denies those that do not match the condition. Option B is wrong because the launch fails, not succeeds. Option D is wrong because SCPs apply to all principals in the account, including developers.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The launch fails because the SCP denies all RunInstances actions.

    Why it's wrong here

    Incorrect: Only denies when condition matches.

  • The launch succeeds because the SCP allows t2.micro only.

    Why it's wrong here

    Incorrect: The SCP denies non-t2.micro instances.

  • The launch fails because the SCP denies non-t2.micro instances.

    Why this is correct

    Correct: t2.small is denied.

  • The launch succeeds because SCPs do not apply to developers.

    Why it's wrong here

    SCPs apply to all principals in an account, including developers, so the deny on non-compliant instance types blocks the t2.small launch regardless of the user's role. This option is tempting because IAM permission boundaries or resource-based policies can exempt developers from certain restrictions, but SCPs operate at the account level as a guardrail that cannot be overridden by any IAM entity.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 20, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This SCS-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SCS-C02 exam.