AWS Certified Security - Specialty Practice Questions

AWS Certified Security - Specialty (SCS-C03) exam preparation

AWS Certified Security - Specialty practice questions in English: 180 questions with explanations. The mock exam has 65 questions and 170 minutes.

AWS Certified Security - Specialty free question 10 / 10 · Domain 6: Security Foundations and Governance

A tag policy limits the values of the CostCenter tag to A100 and B200 and has enforcement turned on for EC2 instances. Which of the following operations does the tag policy block?

  1. Launching an instance without a CostCenter tag
  2. Tagging an S3 bucket with CostCenter=C300
  3. Tagging an S3 bucket with an undefined Owner tag, value C300
  4. Tagging an existing instance with CostCenter=C300
Show the answer and explanation

Answer: D

Why this is correct
A tag policy defines the rules for tags that apply when tags are applied to resources. When CostCenter is applied, the values and capitalization that the tag policy defines must be used, and for resource types where you turned on enforcement, tagging requests that are not compliant are blocked from completing. CostCenter=C300 is not an allowed value, so it is stopped.

Why the other options are wrong
"Launching an instance without a CostCenter tag" … Resources with no tag are not evaluated for compliance with tag policies. An operation that creates a resource without tags is not blocked by a tag policy.
"Tagging an S3 bucket with CostCenter=C300" … Enforcement applies to noncompliant tagging requests for the resource types where you specified enforcement. Enforcement is set for EC2 instances, so tagging an S3 bucket is not blocked even if the value is not an allowed one.
"Tagging an S3 bucket with an undefined Owner tag, value C300" … Owner is a tag that the tag policy does not define, so it is not evaluated for compliance. Also, enforcement is set for EC2 instances, and tagging S3 buckets is not enforced.

Key point
Resources with no tag, and tags not defined in the tag policy, are not evaluated, so tag policies cannot be used to make people apply tags. Both tag keys and values are case-sensitive, and leaving out a value is the same as an empty string.

Go to the AWS Certified Security - Specialty practice app (10 free questions; purchase unlocks all questions)

See the full practice set