{"id":15865,"date":"2026-09-18T10:10:09","date_gmt":"2026-09-18T10:10:09","guid":{"rendered":"https:\/\/www.examlabs.com\/certification\/?p=15865"},"modified":"2026-09-18T10:10:09","modified_gmt":"2026-09-18T10:10:09","slug":"amazon-aws-certified-devops-engineer-professional-dop-c02-practice-test-questions-and-exam-dumps-part-6-q101-120","status":"publish","type":"post","link":"https:\/\/www.examlabs.com\/certification\/amazon-aws-certified-devops-engineer-professional-dop-c02-practice-test-questions-and-exam-dumps-part-6-q101-120\/","title":{"rendered":"Amazon AWS Certified DevOps Engineer &#8211; Professional DOP-C02 Practice Test Questions and Exam Dumps Part 6 Q101-120"},"content":{"rendered":"<h1><\/h1>\n<p><b>View Full <\/b><a href=\"https:\/\/www.examlabs.com\/aws-certified-devops-engineer-professional-dop-c02-exam-dumps\"><b>Amazon AWS Certified DevOps Engineer &#8211; Professional DOP-C02 Exam Dumps<\/b><\/a><b> and Practice Test Dumps<\/b><\/p>\n<p>&nbsp;<\/p>\n<h3><b>Question 101. What automates a CodePipeline workflow?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> CloudTrail<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> CodePipeline<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> GuardDuty<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> Inspector<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. CodePipeline<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">AWS CodePipeline is designed to automate the stages involved in releasing application changes, including source retrieval, building, testing, and deployment. A pipeline can connect services such as CodeCommit, Amazon S3, CodeBuild, CodeDeploy, and other supported actions into a controlled workflow. When a configured source change is detected, CodePipeline can automatically move artifacts through the defined stages. This reduces the need for manually coordinating releases and provides a repeatable delivery process. Teams can also add approvals, testing actions, deployment actions, and failure handling to control how changes progress through the pipeline.<\/span><\/p>\n<h3><b>Question 102. What defines an individual step in CodePipeline?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Repository<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> Artifact<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> Action<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> Environment<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. Action<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">An action represents an individual task performed within a CodePipeline stage. Examples include retrieving source code, running a CodeBuild project, deploying through CodeDeploy, invoking a Lambda function, or performing another supported operation. Actions are organized inside stages, and a stage can contain one or more actions that execute sequentially or in parallel depending on the configuration. Understanding the distinction between stages and actions is important when designing CI\/CD workflows. A stage represents a logical phase of the pipeline, while actions perform the specific operations required during that phase.<\/span><\/p>\n<h3><b>Question 103. Where can CodePipeline store artifacts?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Amazon S3<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> Amazon Route 53<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> Amazon CloudFront<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> Amazon DynamoDB<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Amazon S3<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Amazon S3 is commonly used by CodePipeline as an artifact store for intermediate files exchanged between pipeline stages. Build outputs, packaged application files, and other artifacts can be stored in an S3 bucket and passed from one action to another. Using S3 provides durable storage and allows different pipeline services to access artifacts without requiring direct communication between every stage. Organizations can also apply security controls such as bucket policies, encryption, versioning, and access permissions. Proper artifact-store configuration is therefore an important part of designing a secure and reliable CI\/CD pipeline.<\/span><\/p>\n<h3><b>Question 104. What does CodeBuild produce after a successful build?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> IAM policies<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> CloudWatch alarms<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> Deployment groups<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> Build artifacts<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. Build artifacts<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">AWS CodeBuild can produce build artifacts as output from a successful build process. These artifacts may include compiled binaries, packaged application files, deployment packages, configuration files, or other files required by later stages of a release workflow. The buildspec file determines which files or directories should be included as output. Artifacts can then be stored in Amazon S3 or passed to another service through CodePipeline. Separating source files from generated artifacts helps create a repeatable release process because downstream deployment stages can consume a defined build output rather than rebuilding the application independently.<\/span><\/p>\n<h3><b>Question 105. Where can CodeBuild obtain sensitive environment values?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Amazon Route 53<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> AWS Systems Manager Parameter Store<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> Amazon CloudFront<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> AWS Trusted Advisor<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. AWS Systems Manager Parameter Store<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">CodeBuild can retrieve configuration values and sensitive parameters from AWS Systems Manager Parameter Store instead of placing those values directly inside source code or buildspec files. Parameter Store supports storing configuration data and secure string parameters, allowing access to be controlled through IAM permissions. CodeBuild can reference these values as environment variables during a build. This approach helps reduce the risk of accidentally exposing credentials or configuration information in source repositories. For secrets that require dedicated secret-management capabilities, AWS Secrets Manager can also be integrated into the build environment.<\/span><\/p>\n<h3><b>Question 106. Which file commonly defines CodeBuild commands?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> buildspec.yml<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> appspec.yml<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> template.json<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> policy.xml<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. buildspec.yml<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The buildspec file defines how AWS CodeBuild should perform a build. It can specify phases such as installation, pre-build, build, and post-build, along with commands that should run during those phases. It can also define artifacts, environment variables, reports, and other build-related settings. By keeping build instructions in a version-controlled buildspec file, teams can make the build process repeatable and consistent across environments. CodeBuild reads the buildspec configuration when a build starts and executes the specified commands according to the defined sequence.<\/span><\/p>\n<h3><b>Question 107. What can CodeArtifact cache from an upstream repository?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> IAM roles<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> CloudFormation stacks<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> Software packages<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> EC2 instances<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. Software packages<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">AWS CodeArtifact can use upstream repositories to obtain software packages that are not already available in a local repository. When a requested package is retrieved through an upstream connection, CodeArtifact can retain the package in the domain&#8217;s repository so that subsequent requests can be served from the managed repository. This reduces repeated external downloads and provides organizations with greater control over dependency consumption. CodeArtifact supports package formats used by several popular development ecosystems. Centralizing dependencies can also improve build consistency because development and CI\/CD environments can consume packages through a controlled organizational repository.<\/span><\/p>\n<h3><b>Question 108. What controls access to a CodeArtifact repository?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> IAM permissions<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> Route 53 records<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> CloudWatch dashboards<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> ECR lifecycle rules<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. IAM permissions<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">AWS Identity and Access Management controls who can perform operations against CodeArtifact resources. IAM policies can allow or deny actions such as reading packages, publishing packages, obtaining authorization tokens, or managing repositories and domains. Permissions should follow the principle of least privilege so that developers, build systems, and deployment services receive only the access they actually require. CodeArtifact repository resource policies can also be used for cross-account access scenarios. Correctly designing these permissions is important because package repositories can contain proprietary software, internal libraries, and dependencies that should not be broadly accessible.<\/span><\/p>\n<h3><b>Question 109. What prevents overwriting an existing ECR image tag?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> CloudTrail<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> ECR tag immutability<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> CloudFormation<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> AWS Config<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. ECR tag immutability<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Amazon Elastic Container Registry supports tag immutability to prevent an existing image tag from being reused for a different image. This is valuable in CI\/CD environments because tags such as release identifiers can otherwise be moved to another image, making it difficult to determine exactly which image was deployed. With immutable tags enabled, an existing tag cannot simply be overwritten with a new image. Teams can therefore associate a tag with a specific image more reliably. Image digests provide an even stronger immutable identifier because the digest uniquely represents the image content.<\/span><\/p>\n<h3><b>Question 110. What controls repository-level ECR access?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> CloudWatch Logs<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> AWS Config<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> ECR repository policy<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> CodeBuild report group<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. ECR repository policy<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">An Amazon ECR repository policy controls access to a particular container image repository. Repository policies are especially useful when access must be granted to principals in another AWS account or when repository-specific permissions need to be defined. IAM policies can also control ECR operations, so both identity-based and resource-based authorization may be relevant depending on the scenario. A well-designed repository policy should restrict access to the required principals and actions. For example, a deployment role may need permission to pull images while a CI role may require permissions to push new images.<\/span><\/p>\n<h3><b>Question 111. What determines how many ECS tasks a service should maintain?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Desired task count<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> Route 53 health checks<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> CloudTrail events<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> S3 lifecycle rules<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Desired task count<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The desired task count of an Amazon ECS service specifies how many task instances the service attempts to keep running. ECS continuously works toward maintaining that desired number by starting replacement tasks when appropriate and stopping excess tasks during service changes. Desired count can be configured manually or adjusted through service auto scaling. Maintaining an appropriate desired count is important for application availability and capacity. During deployments, ECS also uses deployment configuration settings to determine how many tasks can run during the transition between old and new task revisions.<\/span><\/p>\n<h3><b>Question 112. What checks whether an ECS task is ready for traffic?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> CloudTrail<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> IAM Access Analyzer<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> Load balancer health check<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> CodeArtifact<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. Load balancer health check<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">When an ECS service is integrated with an Elastic Load Balancing target group, load balancer health checks can determine whether registered tasks are healthy enough to receive traffic. The health check sends requests to the configured path and evaluates the response according to the target group&#8217;s settings. If a task repeatedly fails the health check, the load balancer can stop routing traffic to that target. ECS deployment behavior can also use target health information when replacing tasks. Proper health-check configuration helps prevent traffic from being sent to containers that have started but are not yet ready to serve requests correctly.<\/span><\/p>\n<h3><b>Question 113. What controls ECS blue\/green traffic shifting?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> AWS Config<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> CodeDeploy<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> Amazon Inspector<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> AWS Backup<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. CodeDeploy<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">AWS CodeDeploy can manage blue\/green deployments for Amazon ECS services by coordinating traffic movement between the existing task set and the replacement task set. This approach allows the new application version to be deployed separately before production traffic is shifted to it. Depending on the deployment configuration, traffic can be moved in stages or all at once. During the transition, health checks and deployment monitoring can help identify problems. If the deployment fails according to configured conditions, the previous environment can remain available while the deployment is stopped or rolled back.<\/span><\/p>\n<h3><b>Question 114. What happens to the previous ECS environment in blue\/green deployment?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> It becomes an IAM role<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> It is always deleted immediately<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> It becomes an S3 bucket<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> It can remain available during deployment<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. It can remain available during deployment<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">In an ECS blue\/green deployment, the existing environment can remain active while the replacement environment is created and validated. This separation provides a useful safety mechanism because production traffic can initially continue using the previous task set while the new version is tested. After successful validation and traffic shifting, the previous environment can eventually be terminated according to the deployment configuration. Keeping the old environment available during the transition supports faster recovery because the deployment process does not require rebuilding the previous version if a problem is detected.<\/span><\/p>\n<h3><b>Question 115. What reduces cold-start impact for Lambda functions?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Provisioned concurrency<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> CloudTrail<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> S3 versioning<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> ECR lifecycle policy<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Provisioned concurrency<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">AWS Lambda provisioned concurrency keeps a configured number of execution environments initialized and ready to respond to requests. This can significantly reduce initialization latency for applications that require predictable response times, particularly when traffic begins suddenly or when a function performs expensive initialization work. Provisioned concurrency can be associated with a published Lambda version or alias, allowing specific versions of an application to receive pre-initialized capacity. It differs from reserved concurrency, which primarily establishes a concurrency limit and protects capacity for a function rather than specifically keeping execution environments initialized.<\/span><\/p>\n<h3><b>Question 116. What limits concurrent Lambda executions?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> CodeArtifact<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> Reserved concurrency<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> CloudFormation drift<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> S3 replication<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. Reserved concurrency<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Lambda reserved concurrency establishes a dedicated concurrency limit for a function. It ensures that the function cannot consume more than the configured number of concurrent executions and also reserves that amount of account concurrency for the function. This can help prevent one workload from consuming excessive Lambda capacity and affecting other functions. Reserved concurrency is therefore useful for protecting critical workloads and controlling scaling behavior. It is different from provisioned concurrency, which keeps execution environments initialized to reduce startup latency. The two features address different operational concerns and can be used together when appropriate.<\/span><\/p>\n<h3><b>Question 117. What applies CloudFormation changes after review?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Change set execution<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> Drift detection<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> Stack termination protection<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> Stack policy<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Change set execution<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A CloudFormation change set allows administrators to review proposed modifications before they are applied to an existing stack. After reviewing the proposed resource additions, modifications, or removals, the change set can be executed to apply those changes. This provides an important control point for infrastructure deployments because teams can inspect the expected impact before modifying production resources. Creating a change set does not itself apply the changes. Execution is the step that causes CloudFormation to perform the operations described by the change set, subject to normal stack update behavior and resource dependencies.<\/span><\/p>\n<h3><b>Question 118. What does a CloudFormation change set provide?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Secret rotation<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> A preview of stack changes<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> Container image scanning<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> IAM credential rotation<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. A preview of stack changes<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A CloudFormation change set provides a preview of how a proposed stack update is expected to affect resources. It can show resources that will be added, modified, or removed and can identify certain replacement behavior before the update is executed. This is particularly useful for production infrastructure because administrators can review potentially disruptive changes before applying them. Change sets improve visibility in infrastructure-as-code workflows and can be incorporated into controlled deployment processes. However, the preview should be interpreted carefully because some runtime behavior or external dependencies may not be completely represented by the change set.<\/span><\/p>\n<h3><b>Question 119. What protects a CloudFormation stack from deletion?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> StackSets<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> Change sets<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> Termination protection<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> Drift detection<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. Termination protection<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">CloudFormation termination protection helps prevent an entire stack from being accidentally deleted. When termination protection is enabled, a request to delete the protected stack is blocked until the protection setting is disabled. This can be especially useful for production environments or other stacks containing critical infrastructure. Termination protection should not be confused with a stack policy. A stack policy controls which resources can be updated during stack operations, while termination protection specifically helps prevent stack deletion. Organizations can combine multiple CloudFormation safeguards to reduce the risk of accidental infrastructure changes.<\/span><\/p>\n<h3><b>Question 120. What deploys CloudFormation stacks across accounts and Regions?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> CodeBuild<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> CloudWatch<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> StackSets<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> CodeArtifact<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. StackSets<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">AWS CloudFormation StackSets enables administrators to create and manage CloudFormation stacks across multiple AWS accounts and AWS Regions from a centralized configuration. This is useful for organizations that need consistent infrastructure, security resources, logging configurations, or operational components across many environments. StackSets can work with AWS Organizations and can use deployment preferences to control how stack instances are created or updated. Instead of manually deploying the same template repeatedly, administrators can define a StackSet and target the required accounts and Regions. This supports standardized infrastructure management while reducing repetitive deployment work.<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>View Full Amazon AWS Certified DevOps Engineer &#8211; Professional DOP-C02 Exam Dumps and Practice Test Dumps &nbsp; Question 101. What automates a CodePipeline workflow? CloudTrail 2. CodePipeline 3. GuardDuty 4. Inspector Correct Answer: 2. CodePipeline Explanation: AWS CodePipeline is designed to automate the stages involved in releasing application changes, including source retrieval, building, testing, and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1648,1647],"tags":[],"_links":{"self":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/15865"}],"collection":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/comments?post=15865"}],"version-history":[{"count":1,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/15865\/revisions"}],"predecessor-version":[{"id":15937,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/15865\/revisions\/15937"}],"wp:attachment":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/media?parent=15865"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/categories?post=15865"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/tags?post=15865"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}