Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon DOP-C02 Exam - Topic 5 Question 67 Discussion

Posted by Gayla on Jul 18, 2026 at 06:39 PM

A company uses AWS Organizations to manage multiple AWS accounts. The company needs a solution to improve the company's management of AWS resources in a production account.

The company wants to use AWS CloudFormation to manage all manually created infrastructure. The company must have the ability to strictly control who can make manual changes to AWS infrastructure. The solution must ensure that users can deploy new infrastructure only by making changes to a CloudFormation template that is stored in an AWS CodeConnections compatible Git provider.

Which combination of steps will meet these requirements with the LEAST implementation effort? (Select THREE).

Suggested Answer: A, C, E

Step A: Using a tool like CloudFormation resource import or IaC generator to scan and create a template from existing resources is efficient to bring current infrastructure under management.

Step C: Using CodeConnections (AWS's solution to connect Git repositories) with AWS CodePipeline ensures any changes to CloudFormation templates in the Git repo automatically deploy infrastructure changes, enforcing infrastructure as code workflows.

Step E: Creating an IAM role with CloudFormation as the principal ensures CloudFormation has permissions to manage resources. Using an SCP to deny all actions except by this role enforces strict control, preventing manual changes outside the pipeline.

Option B uses AWS Config which is more for compliance and auditing, not direct resource import. Option D is invalid because CloudFormation does not natively sync with Git; CodePipeline does. Option F is less secure than denying all except the IAM role.


AWS CloudFormation Resource Import:

'Import existing resources into CloudFormation stacks for management.'

(CloudFormation Resource Import)

AWS CodePipeline and CodeConnections Integration:

'Use CodeConnections to connect Git providers with AWS CodePipeline for continuous deployment.'

(AWS CodePipeline Git Integration)

AWS Organizations SCP and IAM Role Best Practices:

'Use SCPs to restrict actions and IAM roles with limited principals to enforce secure management.'

(AWS Organizations Best Practices)

Get Premium DOP-C02 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
18 comments · newest first
FA
Fannie 2 days ago
B could also be useful for compliance checks.
AR
Armanda 7 days ago
A is good, but it feels like extra work.
GL
Glory 12 days ago
What about A? It scans existing resources.
FA
Fannie 18 days ago
Yes, we need both automation and control.
AR
Armanda 23 days ago
Combining C and E could work well.
GL
Glory 28 days ago
True, E adds security with the SCP.
FA
Fannie 1 month ago
But we also need strict control. E seems important for that.
AR
Armanda 1 month ago
I agree, C is efficient. It ensures changes go through Git.
GL
Glory 1 month ago
I think option C is the best choice. It automates deployment through CodePipeline.
CH
Chauncey 2 months ago
Not sure if using IAM roles is the simplest solution here.
CA
Carin 2 months ago
Totally agree, IaC is the way to go with CloudFormation!
AM
Ammie 2 months ago
Surprised that importing existing resources is even an option!
YU
Yun 2 months ago
I think option E is better than F for strict control.
AS
Ashanti 2 months ago
Definitely need to use CodeConnections with CodePipeline for deployment.
MA
Marion 2 months ago
I feel like using AWS Config in option B could be useful for scanning resources, but I’m not clear if it directly helps with the CloudFormation management aspect.
CH
Chu 3 months ago
I think we practiced a similar question where we had to import existing resources into CloudFormation. Option A sounds familiar, but I'm not sure if it's the best fit here.
GE
Genevieve 3 months ago
I'm not entirely sure about the difference between options E and F regarding the IAM roles and SCPs. They both seem to focus on restricting access, but I can't recall which one is more appropriate.
NA
Nada 3 months ago
I remember we discussed the importance of using CodePipeline for automating deployments, so I think option C might be a good choice.
0/2000 characters

Save Cancel