SAP-C02 Exam QuestionsBrowse all questions from this exam

SAP-C02 Exam - Question 327


A company orchestrates a multi-account structure on AWS by using AWS Control Tower. The company is using AWS Organizations, AWS Config, and AWS Trusted Advisor. The company has a specific OU for development accounts that developers use to experiment on AWS. The company has hundreds of developers, and each developer has an individual development account.

The company wants to optimize costs in these development accounts. Amazon EC2 instances and Amazon RDS instances in these accounts must be burstable. The company wants to disallow the use of other services that are not relevant.

What should a solutions architect recommend to meet these requirements?

Show Answer
Correct Answer: C

To meet the requirement of allowing only burstable EC2 and RDS instances while disallowing irrelevant services in development accounts, a custom preventive control (guardrail) in AWS Control Tower is the best option. Preventive controls are meant to enforce compliance by preventing actions that do not meet specified criteria. By configuring this control to allow only burstable instances and applying it to the development OU, the company can ensure that the desired constraints are enforced in all development accounts.

Discussion

17 comments
Sign in to comment
edderOption: C
Dec 8, 2023

I don't think it's appropriate to make SCP changes from Organization to an OU managed by Control Tower, as it will cause drift. The recommended method is to set it as Preventive. https://docs.aws.amazon.com/controltower/latest/userguide/controls.html https://docs.aws.amazon.com/controltower/latest/userguide/governance-drift.html

vibzr2023
Jan 12, 2024

Answer C: AWS Control tower already using and preventive control (guardrail) is the key

BrijMohan08Option: A
Apr 28, 2024

Applying the custom SCP to the development OU will enforce the restrictions on all the accounts within that OU, effectively limiting the developers to using only the allowed resources and services. AWS Control Tower guardrails (options B and C) are not the ideal solution in this case because they are primarily used for governance and compliance purposes, rather than granular service-level restrictions.

ayadmawla
Dec 9, 2023

A = C custom preventive control (guardrail) = SCP custom detective control (guardrail) = AWS Config https://docs.aws.amazon.com/controltower/latest/userguide/controls.html

ayadmawla
Dec 17, 2023

Q: How does AWS Control Tower interoperate with AWS Organizations? AWS Control Tower offers an abstracted, automated, and prescriptive experience on top of AWS Organizations. It automatically sets up AWS Organizations as the underlying AWS service to organize accounts and implement preventive controls using service control policies (SCPs). Using AWS Organizations, you can further create and attach custom SCPs that centrally control the use of AWS services and resources across multiple AWS accounts. https://aws.amazon.com/controltower/faqs/

career360guruOption: C
Jan 9, 2024

C is the best option. A is possible but given that customer is using Control Tower it option A will cause a drift in landing zone.

kejamOption: C
Jan 29, 2024

Answer C: I know its usually safe to choose the SCP answer, but according to the docs that would create drift with Control Tower and need to be remediated. https://docs.aws.amazon.com/controltower/latest/userguide/drift.html#scp-invariance-scans

adelynllllllllll
Feb 16, 2024

Answer : C because A said the SCP will apply to " AWS Organizations" not the OU.

Josh1217Option: C
Jun 23, 2024

Cannot be A. SCP will create drift and SCPs are used for denying any specific action, not allow as stated in option A.

eleOption: A
Feb 3, 2024

AWS Control Tower offers an abstracted, automated, and prescriptive experience on top of AWS Organizations. It automatically sets up AWS Organizations as the underlying AWS service to organize accounts and implement preventive controls using service control policies (SCPs). Using AWS Organizations, you can further create and attach custom SCPs that centrally control the use of AWS services and resources across multiple AWS accounts. https://aws.amazon.com/controltower/faqs/

ele
Feb 17, 2024

A is right: https://docs.aws.amazon.com/controltower/latest/userguide/orgs-guidance.html Don't use AWS Organizations to update service control policies (SCPs) attached to an OU that is registered with AWS Control Tower. Doing so could result in the controls entering an unknown state, which will require you to repair your landing zone or re-register your OU in AWS Control Tower. Instead, you can create new SCPs and attach those to the OUs rather than editing the SCPs that AWS Control Tower has created.

DgixOption: A
Mar 9, 2024

Custom preventive guardrails in CT can't do this. The correct answer is A.

yog927Option: A
Mar 16, 2024

Anwer is A. "Custom SCP" Drift is caused if you edit the existing SCP. Don't use AWS Organizations to update service control policies (SCPs) attached to an OU that is registered with AWS Control Tower. Doing so could result in the controls entering an unknown state, which will require you to repair your landing zone or re-register your OU in AWS Control Tower. Instead, you can create new SCPs and attach those to the OUs rather than editing the SCPs that AWS Control Tower has created. https://docs.aws.amazon.com/controltower/latest/userguide/orgs-guidance.html

TonytheTigerOption: A
Mar 22, 2024

Option A - The preventive controls are implemented using Service Control Policies (SCPs), which are part of AWS Organizations Read " Implementation of control behavior" section https://docs.aws.amazon.com/controltower/latest/userguide/controls.html

GaryQian
Dec 10, 2023

still following the aws rule: see OU or managenet account, choose answer with SCP keyword

duriselvan
Dec 23, 2023

a ans Here's why this solution is optimal and why the other options are not as suitable: 1. Enforcement: SCPs (Service Control Policies) are the most effective way to centrally enforce service and instance restrictions across multiple accounts within an OU. Detective controls (guardrails) in Control Tower only detect and report violations, not prevent them. AWS Config rules are for configuration compliance, not access control. 2. Granular Control: SCPs allow fine-grained control over specific services and instance types, enabling the specific allowance of burstable instances and restriction of other services. 3. Ease of Management: SCPs are managed centrally within AWS Organizations, making it efficient to apply and update policies across multiple accounts. 4. Alignment with Control Tower: SCPs integrate seamlessly with AWS Control Tower, ensuring consistent governance within the multi-account environment.

titi_rOption: C
Apr 15, 2024

C - correct.

paderni
May 25, 2024

A -because SCPs are a more straightforward and integrated solution within AWS Organizations for this purpose than preventive controls in Control Tower

mns0173
Jul 17, 2024

SCP and "allow" are always incompatible