exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 661 discussion

A company decided to purchase Amazon EC2 Reserved Instances. A solutions architect is tasked with implementing a solution where only the master account in
AWS Organizations is able to purchase the Reserved Instances. Current and future member accounts should be blocked from purchasing Reserved Instances.
Which solution will meet these requirements?

  • A. Create an SCP with the Deny effect on the ec2:PurchaseReservedInstancesOffering action. Attach the SCP to the root of the organization.
  • B. Create a new organizational unit (OU) Move all current member accounts to the new OU. Create an SCP with the Deny effect on the ec2:PurchaseReservedInstancesOffering action. Attach the SCP to the new OU.
  • C. Create an AWS Config rule event that triggers automation that will terminate any Reserved Instances launched by member accounts.
  • D. Create two new organizational units (OUs): OU1 and OU2. Move all member accounts to OU2 and the master account to OU1. Create an SCP with the Allow effect on the ec2:PurchaseReservedInstancesOffering action. Attach the SCP to OU1.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
XRiddlerX
Highly Voted 3 years, 8 months ago
Answer is A B is INCORRECT because this doesn't satisfy the requirement for future accounts possibility in OTHER OU's that might be created. The SCP in this answer would only affect the OU the SCP is applied too. C is INCORRECT because this allows accounts to continue to purchase RIs and the requirement is to BLOCK from purchasing D is INCORRECT because the "master account (a.k.a management account) is the root account of the org and should not and can not be in an OU. See the following diagram here (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html) A is CORRECT because applying the explicit deny on the API and attaching it to the root org allows for current and future account in ANY OU to not be able to purchase RI's.
upvoted 28 times
student2020
3 years, 7 months ago
Just a correction, you can move a management account into an OU, I just tested it.
upvoted 2 times
...
cpd
3 years, 8 months ago
I was about to go with B but after reading above, A makes sense to ensure any future accounts to also not buy RI's. With A. member accounts cannot purchase RI but, master account can still purchase RI, "SCPs cannot restrict the Master account of the Organization. This is a primary reason why it is best practice not to use the Organization Master account for anything other than Organization activities."
upvoted 7 times
...
student22
3 years, 7 months ago
A is correct. SCPs don't affect users or roles in the management account. They affect only the member accounts in your organization. https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html
upvoted 2 times
...
blackgamer
3 years, 7 months ago
Answer is D. It is incorrect that "master account can not be in an OU". It is tested and it is allowed. A is incorrect because it will block everyone from purchasing reserved instances including the management account if you attach to root.
upvoted 2 times
blackgamer
3 years, 7 months ago
Sorry , after having more research, A is correct because "SCPs don't affect users or roles in the management account. They affect only the member accounts in your organization."
upvoted 10 times
...
...
...
T14102020
Highly Voted 3 years, 8 months ago
https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html SCPs don't affect users or roles in the management (master) account. They affect only the member accounts in your organization. So correct answer is A.
upvoted 17 times
01037
3 years, 8 months ago
Good point.
upvoted 1 times
...
...
evargasbrz
Most Recent 2 years, 5 months ago
Selected Answer: A
A looks better because of the requirement for future accounts, so the explicit deny must be attached to the root.
upvoted 1 times
...
cldy
3 years, 6 months ago
A. Create an SCP with the Deny effect on the ec2:PurchaseReservedInstancesOffering action. Attach the SCP to the root of the organization.
upvoted 1 times
...
AzureDP900
3 years, 6 months ago
A is right
upvoted 1 times
...
acloudguru
3 years, 6 months ago
Selected Answer: A
https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html
upvoted 1 times
...
andylogan
3 years, 7 months ago
It's A - The master account of the organization is not affected by any SCPs that are attached either to it or to any root or OU the master account might be in.
upvoted 1 times
...
tgv
3 years, 7 months ago
AAA ---
upvoted 1 times
...
denccc
3 years, 7 months ago
go with A
upvoted 1 times
...
tekkart
3 years, 7 months ago
The answer should be D - Rights work as intersection between Root, OU SCP and IAM Policy - Explicit Deny > Explicit Allow > Implicit Deny > Implicit Allow A : Explicit Deny. Blocks everybody, none can purchase instances B : Same C : As XRiddlerX states, ruled out D : Explicit Allow in OU1 SCP for master account, and Implicit Deny in OU2 SCP - as long as no Explicit Allow on OU2 SCP, works fine.
upvoted 1 times
...
WhyIronMan
3 years, 7 months ago
I'll go with A
upvoted 2 times
...
Akhil254
3 years, 7 months ago
A Correct
upvoted 1 times
...
Pb55
3 years, 7 months ago
If you assign SCP to root, how does the master account buy reserved instances? It will be blocked as well. Has to be B.
upvoted 2 times
...
OAS1
3 years, 7 months ago
SCPs affect only member accounts in the organization hence applying it on root will not impact master account. Answer is 𝗔.
upvoted 2 times
...
hk436
3 years, 7 months ago
I don't think it's A! AWS strongly recommends that you don't attach SCPs to the root of your organization without thoroughly testing the impact that the policy has on accounts. Instead, create an OU that you can move your accounts into one at a time, or at least in small numbers, to ensure that you don't inadvertently lock users out of key services. https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html
upvoted 4 times
...
Waiweng
3 years, 7 months ago
it's A
upvoted 2 times
...
tvs
3 years, 7 months ago
AWS strongly recommends that you don't attach SCPs to the root of your organization without thoroughly testing the impact that the policy has on accounts. Instead, create an OU that you can move your accounts into one at a time, or at least in small numbers, to ensure that you don't inadvertently lock users out of key services. https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html However we dont know how many OU currently exist whether all current belongs to one OU , or what are existing SCP applied old OU's. So I will go with A
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...