exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 66 discussion

A DevOps engineer needs to apply a core set of security controls to an existing set of AWS accounts. The accounts are in an organization in AWS Organizations. Individual teams will administer individual accounts by using the AdministratorAccess AWS managed policy. For all accounts. AWS CloudTrail and AWS Config must be turned on in all available AWS Regions. Individual account administrators must not be able to edit or delete any of the baseline resources. However, individual account administrators must be able to edit or delete their own CloudTrail trails and AWS Config rules.
Which solution will meet these requirements in the MOST operationally efficient way?

  • A. Create an AWS CloudFormation template that defines the standard account resources. Deploy the template to all accounts from the organization's management account by using CloudFormation StackSets. Set the stack policy to deny Update:Delete actions.
  • B. Enable AWS Control Tower. Enroll the existing accounts in AWS Control Tower. Grant the individual account administrators access to CloudTrail and AWS Config.
  • C. Designate an AWS Config management account. Create AWS Config recorders in all accounts by using AWS CloudFormation StackSets. Deploy AWS Config rules to the organization by using the AWS Config management account. Create a CloudTrail organization trail in the organization’s management account. Deny modification or deletion of the AWS Config recorders by using an SCP.
  • D. Create an AWS CloudFormation template that defines the standard account resources. Deploy the template to all accounts from the organization's management account by using Cloud Formation StackSets Create an SCP that prevents updates or deletions to CloudTrail resources or AWS Config resources unless the principal is an administrator of the organization's management account.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
haazybanj
Highly Voted 1 year, 9 months ago
Selected Answer: C
C This solution meets the requirements in the most operationally efficient way. It uses AWS CloudFormation StackSets to deploy AWS Config recorders in all accounts and AWS Config rules to the organization, which can be centrally managed from an AWS Config management account. A CloudTrail organization trail can also be created in the organization’s management account to collect logs from all accounts. An SCP can be used to deny modification or deletion of the AWS Config recorders, ensuring that the baseline resources cannot be modified or deleted by individual account administrators. However, individual account administrators can still edit or delete their own CloudTrail trails and AWS Config rules.
upvoted 18 times
koenigParas2324
1 year, 2 months ago
this solution lacks clarity on allowing individual account administrators control over their CloudTrail trails.
upvoted 4 times
bnagaraja9099
1 year, 1 month ago
C is good. https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html
upvoted 1 times
...
...
bnagaraja9099
1 year, 1 month ago
An SCP restricts permissions for IAM users and roles in member accounts, including the member account's root user. Any account has only those permissions permitted by every parent above it. If a permission is blocked at any level above the account, either implicitly (by not being included in an Allow policy statement) or explicitly (by being included in a Deny policy statement), a user or role in the affected account can't use that permission, even if the account administrator attaches the AdministratorAccess IAM policy with */* permissions to the user. https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html
upvoted 1 times
...
a1234321606
1 year, 2 months ago
Why C? If you deny modification or deletion of the AWS Config recorders by using an SCP, how do individual account administrators edit or delete their own CloudTrail trails and AWS Config rules?
upvoted 5 times
...
...
dzn
Highly Voted 11 months, 2 weeks ago
Selected Answer: B
When Control Tower is enabled, AWS-GR_CLOUDTRAIL_ENABLED and AWS-GR_CONFIG_ENABLED will enable CloudTrail and Config in all available regions. The guardrails are automatically set to disallow changes to baseline resources. A, C, D - No mention about baseline resource.
upvoted 6 times
...
lovekiller
Most Recent 3 days, 19 hours ago
Selected Answer: D
For the people fighting over Option C or D: Option D is a better choice because it deploys all the required baseline resources—both CloudTrail and AWS Config—across every account using CloudFormation StackSets, and then locks them down with an SCP. This setup makes sure that only the management account’s administrators can change or remove these core security controls. Meanwhile, individual account admins can still manage any extra CloudTrail trails or Config rules they create on their own. But, Option C, mainly focuses on AWS Config recorders and doesn't clearly cover CloudTrail, so it does not offer us as complete a solution.
upvoted 2 times
...
Slays
1 month, 1 week ago
Selected Answer: D
Option D: Create an AWS CloudFormation Template: Develop a template that defines the standard resources, including CloudTrail and AWS Config, configured to operate in all available AWS Regions. Deploy Using CloudFormation StackSets: Utilize AWS CloudFormation StackSets from the organization's management account to deploy the template across all member accounts. This approach ensures consistent configuration and simplifies management. Implement a Service Control Policy (SCP): Establish an SCP that restricts updates or deletions of CloudTrail and AWS Config resources. This policy should allow only the organization's management account administrators to perform such actions, preventing individual account administrators from making unauthorized changes.
upvoted 2 times
...
youonebe
1 month, 2 weeks ago
Selected Answer: D
This is the most operationally efficient solution. Using CloudFormation StackSets ensures standard resources are consistently deployed, and SCPs provide the necessary restrictions and flexibility.
upvoted 2 times
...
steli0
2 months, 2 weeks ago
Selected Answer: C
I think C because the SCP defines the principal being an administrator from the management account, not the individual account.
upvoted 1 times
steli0
2 months, 2 weeks ago
moreover Principals are not supported in SCPs https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps_syntax.html#scp-syntax-unsupported
upvoted 1 times
...
...
BrusingWayne
2 months, 2 weeks ago
D. CloudFormation StackSets + SCP with conditional permissions: Centralized deployment of resources SCP prevents modifications to core resources Allows admins to edit their own resources (by implication) Matches all requirements efficiently
upvoted 3 times
...
rk0509
5 months, 3 weeks ago
Selected Answer: D
D is correct
upvoted 4 times
...
jamesf
6 months, 2 weeks ago
Selected Answer: C
I think should be C Keywords: "an existing set of AWS accounts"
upvoted 1 times
...
trungtd
6 months, 3 weeks ago
Selected Answer: D
must be D
upvoted 2 times
...
seetpt
9 months, 1 week ago
Selected Answer: C
I agree with C
upvoted 1 times
...
Mordans
10 months, 2 weeks ago
Selected Answer: C
Option C is the most operationally efficient and meets all the requirements: ensuring CloudTrail and AWS Config are enabled in all regions, preventing the deletion or editing of baseline resources by individual account administrators, while still allowing them the flexibility to manage their own specific resources. This approach uses centralized control mechanisms (AWS Config management account and organization trail for CloudTrail) and leverages SCPs for enforcement, aligning with best practices for security and governance in AWS Organizations.
upvoted 2 times
...
CloudHandsOn
11 months, 1 week ago
Selected Answer: D
Im going with D. SCPs is what helps us here
upvoted 2 times
vn_thanhtung
9 months ago
but SCP not support direct principal.
upvoted 1 times
...
...
vmahilevskyi
11 months, 1 week ago
Selected Answer: D
D for me. I think C is incorrect because "However, individual account administrators must be able to edit or delete their own CloudTrail trails and AWS Config rules." requirement is not satisfied because this answer has nothing about individual account administrators are able to edit their own CloudTrail trails. Organisational trail can be edited only from management or delegated administrator account.
upvoted 5 times
...
[Removed]
11 months, 2 weeks ago
Selected Answer: C
C for sure
upvoted 2 times
...
thanhnv142
11 months, 4 weeks ago
Selected Answer: D
D is correct: This denies modifications to AWS config or cloudtrail unless the principal is the management account A: No explicitly mention of denying modifications to Config or cloudtrail B: No explicitly mention of denying modifications to Config or cloudtrail C: < Create a CloudTrail organization trail in the organization’s management account>: This means the deny rule only affects the management account
upvoted 2 times
...
Chelseajcole
12 months ago
Selected Answer: D
C is using AWS Config Recorder, AWS Config uses the configuration recorder to detect changes in your resource configurations and capture these changes as configuration items. It is not used for prevent you doing something, it is detecting something
upvoted 3 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago