DOP-C02 · Question #250
DOP-C02 Question #250: Real Exam Question with Answer & Explanation
Sign in or unlock DOP-C02 to reveal the answer and full explanation for question #250. The question stem and answer options stay visible for context.
Question
A company has developed a static website hosted on an Amazon S3 bucket. The website is deployed using AWS CloudFormation. The CloudFormation template defines an S3 bucket and a custom resource that copies content into the bucket from a source location. The company has decided that it needs to move the website to a new location, so the existing CloudFormation stack must be deleted and re-created. However, CloudFormation reports that the stack could not be deleted cleanly. What is the MOST likely cause and how can the DevOps engineer mitigate this problem for this and future versions of the website?
Options
- ADeletion has failed because the S3 bucket has an active website configuration. Modify the
- BDeletion has failed because the S3 bucket is not empty. Modify the custom resource's AWS
- CDeletion has failed because the custom resource does not define a deletion policy. Add a
- DDeletion has failed because the S3 bucket is not empty. Modify the S3 bucket resource in the
Unlock DOP-C02 to see the answer
You've previewed enough free DOP-C02 questions. Unlock DOP-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.