{"id":15870,"date":"2026-09-18T10:08:52","date_gmt":"2026-09-18T10:08:52","guid":{"rendered":"https:\/\/www.examlabs.com\/certification\/?p=15870"},"modified":"2026-09-18T10:08:52","modified_gmt":"2026-09-18T10:08:52","slug":"amazon-aws-certified-devops-engineer-professional-dop-c02-practice-test-questions-and-exam-dumps-part-11-q201-220","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-11-q201-220\/","title":{"rendered":"Amazon AWS Certified DevOps Engineer &#8211; Professional DOP-C02 Practice Test Questions and Exam Dumps Part 11 Q201-220"},"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 201. Which feature helps protect CodePipeline artifacts from unauthorized changes?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> CloudWatch dashboards<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> Artifact encryption and integrity controls<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> EC2 Auto Scaling<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> Route 53 health checks<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. Artifact encryption and integrity controls<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">CodePipeline artifacts can contain source packages, compiled application files, deployment templates, and other data that moves between pipeline stages. Protecting these artifacts is important because an unauthorized modification could cause an untrusted or incorrect package to reach production. Artifact stores can use encryption, including AWS KMS keys, to protect data at rest, while appropriate IAM permissions and bucket policies restrict who can access or modify the artifacts. Pipelines should also use controlled artifact locations and tightly scoped permissions. These practices help maintain the integrity of artifacts throughout the CI\/CD process and reduce the possibility of unauthorized changes being introduced between stages.<\/span><\/p>\n<h3><b>Question 202. What does a CodeBuild batch build allow?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Running only one command per build<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> Disabling build logs<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> Running multiple related builds as one build operation<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> Automatically creating IAM users<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. Running multiple related builds as one build operation<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">AWS CodeBuild batch builds allow multiple build executions to be coordinated as part of a single batch operation. This is useful when a project needs to build several configurations, platforms, environments, or test variations at the same time. Instead of manually starting separate builds and tracking them independently, a batch build can coordinate the related executions and report their results together. This capability is particularly useful for large CI workflows where different combinations need to be tested. Batch builds can improve automation and reduce unnecessary orchestration logic while still allowing each individual build to use its own commands, environment settings, and artifacts when configured appropriately.<\/span><\/p>\n<h3><b>Question 203. Which cache type can store CodeBuild dependencies in Amazon S3?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> S3 cache<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> DNS cache<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> Route 53 cache<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> IAM cache<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. S3 cache<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">CodeBuild supports caching to reduce build times by reusing files from previous builds instead of downloading or recreating them every time. An S3 cache stores cached build data in an Amazon S3 location. This can be useful for dependencies, package manager files, and other reusable content that changes less frequently than the application source code. During later builds, CodeBuild can restore the cache before executing the build commands, allowing the process to reuse available files. Cache configuration should be designed carefully because stale or unnecessary cached content can increase storage usage or cause unexpected build behavior. Proper cache paths and invalidation practices help maintain reliable build performance.<\/span><\/p>\n<h3><b>Question 204. Why is Docker layer caching useful in CodeBuild?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> It creates IAM policies automatically<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> It disables Docker commands<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> It replaces Amazon ECR<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> It can reuse unchanged Docker layers between builds<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. It can reuse unchanged Docker layers between builds<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Docker images are constructed from multiple layers, and many layers may remain unchanged between builds. Docker layer caching allows CodeBuild to reuse previously created layers instead of rebuilding every layer from scratch. This can significantly reduce the time and resources required to create container images, especially when the Dockerfile contains stable dependency or operating-system layers followed by frequently changing application files. When implementing Docker builds in CodeBuild, the build environment must be configured appropriately for Docker operations, and the cache must be managed so that it remains useful without introducing stale content. Effective layer caching is especially valuable in frequent container-based CI workflows.<\/span><\/p>\n<h3><b>Question 205. What does an ECR pull-through cache provide?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Automatic EC2 patching<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> Cached access to images from an upstream public registry<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> Lambda function versioning<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> CloudFormation stack recovery<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. Cached access to images from an upstream public registry<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Amazon Elastic Container Registry pull-through cache rules allow an ECR repository to retrieve container images from supported upstream registries and cache them in an AWS-managed location. When an image is requested through the configured ECR path, ECR can retrieve it from the upstream registry when necessary and then make the image available through the ECR repository. Subsequent requests can use the cached image instead of repeatedly accessing the external registry. This can improve reliability, simplify network access, and provide better control over container image consumption. Organizations can also apply their existing ECR permissions, encryption, monitoring, and repository governance practices to the cached images.<\/span><\/p>\n<h3><b>Question 206. Which setting protects ECR images from being replaced by another image using the same tag?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Tag immutability<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> CloudWatch Logs<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> ECS desired count<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> Lambda concurrency<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Tag immutability<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Amazon ECR tag immutability prevents an existing image tag from being overwritten by another image. Without immutability, a tag such as <\/span><span style=\"font-weight: 400;\">production<\/span><span style=\"font-weight: 400;\"> or <\/span><span style=\"font-weight: 400;\">release<\/span><span style=\"font-weight: 400;\"> could potentially be moved to a different image, making deployments less predictable. With immutable tags, once a tag is associated with an image, another image cannot reuse that same tag in the repository. This supports safer CI\/CD practices because deployment systems can rely on a tag maintaining its original association. However, teams should still consider using image digests when they require an exact immutable reference to a specific image. Tag immutability is particularly helpful for preventing accidental or unauthorized image replacement.<\/span><\/p>\n<h3><b>Question 207. What is the purpose of ECR repository encryption?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> To automatically deploy ECS services<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> To change Dockerfile instructions<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> To protect container images stored in the repository<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> To increase task count<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. To protect container images stored in the repository<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">ECR repository encryption protects container images and associated data while they are stored in Amazon Elastic Container Registry. ECR supports encryption using AWS-managed or customer-managed AWS KMS keys depending on the repository configuration and requirements. Encryption helps protect image contents against unauthorized access to stored data, while IAM permissions and repository policies determine who can access or perform actions on the repository. In regulated or security-sensitive environments, customer-managed KMS keys can provide additional control over encryption-related permissions and key lifecycle management. Encryption is one part of a broader container security strategy that should also include access controls, vulnerability scanning, image lifecycle management, and secure deployment practices.<\/span><\/p>\n<h3><b>Question 208. Which ECS feature can automatically stop a failing deployment and roll it back?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> ECS deployment circuit breaker<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> Route 53 hosted zone<\/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;\"> IAM Access Analyzer<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. ECS deployment circuit breaker<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The Amazon ECS deployment circuit breaker can help detect deployments that are unable to reach a stable state. When configured with rollback behavior, ECS can stop a failing deployment and return the service to the last deployment that reached a stable condition. This is useful for automated deployment pipelines because a failed application deployment does not necessarily need to remain active while engineers manually intervene. The circuit breaker works with ECS service deployments and evaluates whether tasks successfully progress toward a stable service. It should be combined with meaningful health checks, appropriate task configuration, and monitoring so that deployment failures are detected accurately and rollback behavior protects service availability.<\/span><\/p>\n<h3><b>Question 209. Which ECS setting delays health evaluation after a task starts?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Maximum healthy percentage<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> Health check grace period<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> Desired count<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> Capacity provider weight<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. Health check grace period<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The ECS service health check grace period gives newly started tasks time to initialize before the ECS service scheduler begins considering container health checks when determining whether a task should be considered unhealthy. This is useful for applications that require several seconds or minutes to start, establish connections, load configuration, or become ready to accept traffic. Without an appropriate grace period, ECS might interpret temporary startup failures as permanent health problems and repeatedly replace otherwise healthy tasks. The grace period should be long enough to accommodate normal startup behavior but not excessively long, because an overly large value can delay detection of genuinely failed deployments or unhealthy applications.<\/span><\/p>\n<h3><b>Question 210. What do ECS capacity providers help manage?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Distribution of tasks across compute capacity<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> CloudFormation template syntax<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> IAM password policies<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> CodePipeline artifact encryption<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Distribution of tasks across compute capacity<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Amazon ECS capacity providers help control how ECS services and tasks use available compute capacity. Depending on the architecture, capacity providers can be associated with Amazon EC2 capacity or AWS Fargate and can be used with capacity provider strategies to influence how tasks are distributed. This allows organizations to design more flexible compute strategies instead of relying only on a fixed launch approach. For example, a service can use a capacity provider strategy to influence task placement across available capacity types. Capacity providers are especially useful when teams want ECS services to integrate more directly with their underlying compute capacity management and scaling approach.<\/span><\/p>\n<h3><b>Question 211. What does Lambda reserved concurrency primarily control?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Function log retention<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> Maximum concurrent executions for a function<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> S3 object versioning<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> API Gateway cache size<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. Maximum concurrent executions for a function<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">AWS Lambda reserved concurrency establishes a dedicated concurrency limit for a specific function. It limits the maximum number of simultaneous executions that the function can consume and also reserves that amount of concurrency for the function from the account&#8217;s available concurrency pool. This can help prevent one function from consuming excessive account-level concurrency and affecting other functions. Reserved concurrency is different from provisioned concurrency, which keeps execution environments initialized to reduce startup latency. When configuring reserved concurrency, administrators should consider expected traffic, downstream service limits, and the function&#8217;s role within the application. Proper concurrency controls can protect both Lambda capacity and dependent services.<\/span><\/p>\n<h3><b>Question 212. What is the main benefit of Lambda provisioned concurrency?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> It removes IAM permissions<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> It stores container images<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> It keeps execution environments initialized to reduce startup latency<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> It creates CloudFormation stacks<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. It keeps execution environments initialized to reduce startup latency<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Lambda provisioned concurrency keeps a configured number of execution environments initialized and ready to process requests. This can reduce the startup latency that may occur when Lambda needs to initialize a new execution environment, which is particularly important for latency-sensitive applications and APIs. Provisioned concurrency can be configured for specific Lambda function versions or aliases and can be adjusted according to expected demand. It does not eliminate the need for correct function configuration, monitoring, or concurrency management. Teams should balance the desired latency characteristics against the additional cost of keeping execution environments prepared. Provisioned concurrency is therefore a useful deployment and performance feature when predictable low-latency invocation behavior is important.<\/span><\/p>\n<h3><b>Question 213. Which AppConfig component validates configuration before deployment?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Validator<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> Artifact store<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> Capacity provider<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> Deployment group<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Validator<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">AWS AppConfig validators can check configuration data before it is deployed to an application. Validators help identify invalid configuration values or structures before those values reach running workloads. AppConfig supports validation approaches such as JSON Schema validation and Lambda-based validation, depending on the configuration requirements. This provides an important safety mechanism for configuration-driven deployments because a syntactically or logically incorrect configuration can potentially cause application failures even when the application code itself has not changed. Using validators as part of the deployment process helps enforce configuration quality and reduces the risk of publishing malformed or unacceptable settings to production environments.<\/span><\/p>\n<h3><b>Question 214. What does an AppConfig deployment strategy control?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> IAM user creation<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> ECR repository encryption<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> CloudTrail log storage<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> How configuration changes are gradually deployed<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. How configuration changes are gradually deployed<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">An AWS AppConfig deployment strategy determines how quickly a new configuration is made available to application clients. Instead of immediately exposing every client to a new configuration, AppConfig can use controlled deployment strategies that gradually increase the percentage of clients receiving the new configuration. This approach can reduce deployment risk because teams can observe application behavior as the configuration rollout progresses. Deployment strategies can include different growth rates and bake times depending on the desired rollout pattern. When combined with monitoring and deployment alarms, controlled configuration rollout can help detect problems early and support automatic rollback before a faulty configuration reaches the entire application population.<\/span><\/p>\n<h3><b>Question 215. Which CloudFormation policy controls what happens to a resource after stack deletion?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> UpdatePolicy<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> CreationPolicy<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> DeletionPolicy<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> StackPolicy<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. DeletionPolicy<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The CloudFormation DeletionPolicy controls what CloudFormation should do with a resource when the resource is removed from a stack or when the stack itself is deleted, depending on the resource and operation. Common behaviors include deleting the resource, retaining it, or creating a snapshot for supported resource types. This is particularly important for stateful resources such as databases or storage because automatically deleting them could result in permanent data loss. A Retain policy can preserve a resource after stack deletion, while Snapshot can preserve supported resource data through a snapshot. DeletionPolicy should therefore be selected deliberately based on the resource&#8217;s data-retention and recovery requirements.<\/span><\/p>\n<h3><b>Question 216. What does CloudFormation CreationPolicy help coordinate?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Resource initialization completion<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> IAM password rotation<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> ECR image scanning<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> Lambda concurrency<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Resource initialization completion<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A CloudFormation CreationPolicy can be used to prevent CloudFormation from considering certain resources successfully created until the expected initialization signals are received. This is particularly useful with resources such as EC2 instances that require additional configuration after infrastructure creation. A bootstrap process can perform installation or initialization tasks and then send a success signal to CloudFormation. CloudFormation waits for the configured conditions before continuing or declaring the resource creation successful. This helps coordinate infrastructure provisioning with application initialization and reduces the chance that later stack resources or outputs are treated as ready before the required setup has actually completed.<\/span><\/p>\n<h3><b>Question 217. What does CloudFormation UpdatePolicy primarily affect?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> IAM policy evaluation<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> How certain resources are updated<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> CloudTrail event retention<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> S3 bucket encryption<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. How certain resources are updated<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">CloudFormation UpdatePolicy provides specialized controls for how certain supported resources should be updated when a stack changes. A common example is an Auto Scaling group, where an update policy can control rolling updates or other update behavior. This allows infrastructure changes to be introduced in a controlled manner rather than replacing or modifying resources without considering application availability. UpdatePolicy is different from DeletionPolicy, which governs resource handling during removal, and CreationPolicy, which coordinates resource creation and initialization. Using appropriate update behavior can reduce disruption during infrastructure changes and can be an important part of safe infrastructure deployment practices.<\/span><\/p>\n<h3><b>Question 218. Which CloudFormation feature can process templates using custom transformations?<\/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;\"> Drift detection<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> Macros<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> Outputs<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. Macros<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">CloudFormation macros allow templates to be transformed or processed before CloudFormation provisions the defined resources. A macro can perform custom transformations that modify or generate template content according to predefined logic. Macros can be useful when organizations need reusable abstractions or customized template processing beyond the standard CloudFormation syntax. They are different from nested stacks, which primarily help organize templates into reusable stack components, and from CloudFormation Hooks, which can enforce controls during resource operations. Because macros can significantly transform templates, they should be developed, tested, secured, and governed carefully. A poorly designed transformation could introduce unexpected resources or configuration changes into infrastructure deployments.<\/span><\/p>\n<h3><b>Question 219. Which EventBridge feature allows previously captured events to be processed again?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Event archive and replay<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> IAM role chaining<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> CloudFormation outputs<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> ECR replication<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Event archive and replay<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Amazon EventBridge archives and replay features allow organizations to retain selected events and later replay those events to an event bus. This can be useful when testing new event-processing logic, recovering from an application issue, or validating a revised consumer without waiting for the original events to occur again. An archive stores matching events according to its configured retention period, while replay sends archived events back through EventBridge for processing. This capability is valuable in event-driven architectures because it provides a mechanism for controlled reprocessing of historical events. Teams should still design consumers to handle duplicate or repeated events safely when replay operations are used.<\/span><\/p>\n<h3><b>Question 220. What does an EventBridge retry policy control?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> How long an S3 object is retained<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> How many ECS tasks are created<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> How CodeBuild stores artifacts<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> How failed event delivery is retried<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. How failed event delivery is retried<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">An Amazon EventBridge retry policy controls how EventBridge attempts to deliver an event again when the target does not successfully process the event. Retry behavior can be configured to specify how long EventBridge should continue attempting delivery and how retry attempts are spaced. This is important for event-driven applications because temporary target failures should not necessarily result in immediate event loss. EventBridge can also work with dead-letter queues for events that cannot be successfully delivered after the configured retry behavior. Together, retry policies and dead-letter queues provide more resilient event delivery while giving operations teams a way to investigate events that could not reach their intended targets.<\/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 201. Which feature helps protect CodePipeline artifacts from unauthorized changes? CloudWatch dashboards 2. Artifact encryption and integrity controls 3. EC2 Auto Scaling 4. Route 53 health checks Correct Answer: 2. Artifact encryption and integrity controls Explanation: CodePipeline [&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\/15870"}],"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=15870"}],"version-history":[{"count":1,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/15870\/revisions"}],"predecessor-version":[{"id":15932,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/15870\/revisions\/15932"}],"wp:attachment":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/media?parent=15870"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/categories?post=15870"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/tags?post=15870"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}