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 352 discussion

A company has deployed a landing zone that has a well-defined AWS Organizations structure and an SCP. The company's development team can create their AWS resources only by using AWS CloudFormation and the AWS Cloud Development Kit (AWS CDK).

A DevOps engineer notices that Amazon Simple Queue Service (Amazon SQS) queues that are deployed in different CloudFormation stacks have different configurations. The DevOps engineer also notices that the application cost allocation tag is not always set.

The DevOps engineer needs a solution that will enforce tagging and promote the reuse of code. The DevOps engineer needs to avoid different configurations for the deployed SQS queues.

What should the DevOps engineer do to meet these requirements?

  • A. Create an Organizations tag policy to enforce the cost allocation tag in CloudFormation stacks. Instruct the development team to use CloudFormation to define SQS queues. Instruct the development team to deploy the SQS queues by using CloudFormation StackSets.
  • B. Update the SCP to enforce the cost allocation tag in CloudFormation stacks. Instruct the development team to use CloudFormation modules to define SQS queues. Instruct the development team to deploy the SQS queues by using CloudFormation stacks.
  • C. Use AWS CDK tagging to enforce the cost allocation tag in CloudFormation StackSets. Instruct the development team to use the AWS CDK to define SQS queues. Instruct the development team to deploy the SQS queues by using CDK stacks.
  • D. Use AWS CDK tagging to enforce the cost allocation tag in CloudFormation stacks. Instruct the development team to use the AWS CDK to define SQS queues. Instruct the development team to deploy the SQS queues by using CDK feature flags.
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
sn61613
Highly Voted 6 months, 3 weeks ago
Selected Answer: C
C: Enforce tagging across all accounts via StackSets. Use CDK Stacks to deploy same configuration SQS.
upvoted 6 times
...
robotgeek
Most Recent 1 month, 1 week ago
Selected Answer: B
Guys, the question is poorly redacted but clearly it is not C - Option A: Within the Tag Policy itself, you can enable enforcement for specific resource types (so it would be the typical correct response if it was not for the "reuse" thing) Source: https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/implementing-and-enforcing-tagging.html - Option B: "Instruct the development team to use CloudFormation modules", that improves "promote the reuse of code" while assuring enforcing - Option C and D: BOTH options rely on programmers not forgetting to implement lines of codes to configure the tags, that is not how Devops and enforcement works guys.
upvoted 1 times
...
Srikantha
2 months, 2 weeks ago
Selected Answer: D
Tagging enforcement via CDK stack-level tagging. Reusable constructs for consistent SQS configuration. CDK feature flags to help with best practices and configuration enforcement. All with the least operational overhead and maximum developer productivity.
upvoted 1 times
...
jojewi8143
4 months, 3 weeks ago
Selected Answer: C
Going with C
upvoted 1 times
...
teo2157
5 months, 1 week ago
Selected Answer: B
Going with B which enforce tagging using SCPs and promote the reuse of code using CF modules for the SQS.
upvoted 1 times
...
ArunRav
7 months ago
Selected Answer: B
Though it is a straightforward solution...It doesn't give the level of enforcing with SCP has. Hence for restricting SCP and CFT to deploy. Hence B
upvoted 1 times
...
uncledana
7 months, 1 week ago
Selected Answer: D
Option D provides a straightforward, flexible, and scalable solution by using AWS CDK for both tagging enforcement and reusing code, while also ensuring that developers can maintain standardization in their deployments with feature flags. This solution promotes best practices in terms of both infrastructure consistency and operational efficiency.
upvoted 1 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 ...