{"id":15862,"date":"2026-09-18T10:10:52","date_gmt":"2026-09-18T10:10:52","guid":{"rendered":"https:\/\/www.examlabs.com\/certification\/?p=15862"},"modified":"2026-09-18T10:10:52","modified_gmt":"2026-09-18T10:10:52","slug":"amazon-aws-certified-devops-engineer-professional-dop-c02-practice-test-questions-and-exam-dumps-part3-q41-60","status":"publish","type":"post","link":"https:\/\/www.examlabs.com\/certification\/amazon-aws-certified-devops-engineer-professional-dop-c02-practice-test-questions-and-exam-dumps-part3-q41-60\/","title":{"rendered":"Amazon AWS Certified DevOps Engineer &#8211; Professional DOP-C02 Practice Test Questions and Exam Dumps Part3 Q41-60"},"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 41. What does an AppSpec file define?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Deployment instructions<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> DNS records<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> IAM users<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Database indexes<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Deployment instructions<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">An AppSpec file provides deployment instructions used by AWS CodeDeploy. It identifies important deployment details such as files to copy, permissions to apply, and lifecycle event hooks that should run during deployment. Depending on the deployment platform, it can also define configuration information required for the target environment. Lifecycle hooks allow scripts or commands to perform actions such as stopping an application, installing dependencies, starting services, or validating the deployment. Keeping these instructions in a version-controlled file makes deployments repeatable and easier to audit. The AppSpec file therefore acts as an important component connecting application artifacts with CodeDeploy deployment behavior.<\/span><\/p>\n<h3><b>Question 42. What are CodeDeploy lifecycle hooks used for?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Running deployment scripts<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Creating AWS accounts<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Managing DNS domains<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Encrypting databases<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Running deployment scripts<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">CodeDeploy lifecycle hooks provide specific points during a deployment where scripts or commands can execute. These hooks can be used for activities such as stopping an existing application, installing dependencies, configuring the environment, starting services, or performing validation checks. The exact lifecycle events depend on the deployment platform and deployment type. Using hooks allows teams to automate operational tasks that would otherwise require manual intervention. They also help standardize deployment behavior because the same commands can execute consistently across target instances. Properly designed lifecycle scripts can improve deployment reliability and provide a structured way to prepare, validate, and finalize application releases.<\/span><\/p>\n<h3><b>Question 43. What enables cross-account CodePipeline deployments?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> IAM roles<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Security groups<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Route tables<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> EBS snapshots<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. IAM roles<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Cross-account deployment workflows commonly use IAM roles to allow a CodePipeline process in one AWS account to perform authorized actions in another account. The target account contains a role with permissions required for the deployment, while the source account is granted permission to assume that role. This creates a controlled trust relationship between the accounts. Cross-account pipelines are useful when development, testing, staging, and production environments are separated into different AWS accounts. They improve isolation while still allowing automated delivery. Carefully scoped permissions are important so that the pipeline receives only the access required for its specific deployment activities.<\/span><\/p>\n<h3><b>Question 44. What can encrypt CodePipeline artifacts?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> AWS KMS<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Amazon Route 53<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> AWS Config<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Amazon Inspector<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. AWS KMS<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">AWS Key Management Service can provide encryption keys for protecting sensitive CodePipeline artifacts stored in supported artifact locations such as Amazon S3. Encryption helps protect application packages, build outputs, configuration files, and other pipeline data from unauthorized access. Access to the KMS key can be controlled through key policies and IAM permissions. This is particularly important when pipelines contain sensitive deployment packages or operate across multiple AWS accounts. Using managed encryption rather than leaving artifacts unprotected provides stronger security controls. Organizations should also ensure that the pipeline&#8217;s service roles have appropriate permissions to encrypt and decrypt artifacts when required.<\/span><\/p>\n<h3><b>Question 45. Where can CodeBuild retrieve environment values?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Parameter Store or Secrets Manager<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Route tables only<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Security groups only<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> CloudTrail only<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Parameter Store or Secrets Manager<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">AWS CodeBuild can retrieve configuration values and sensitive information from services such as AWS Systems Manager Parameter Store and AWS Secrets Manager. This allows teams to avoid placing credentials or sensitive configuration directly inside source code or buildspec files. CodeBuild can access these values through its service role when the appropriate permissions are configured. Secrets Manager is particularly suitable for sensitive credentials that may require rotation, while Parameter Store is commonly used for configuration parameters and can also store encrypted SecureString values. Separating configuration and secrets from application code improves security, simplifies environment-specific configuration, and makes build projects easier to maintain.<\/span><\/p>\n<h3><b>Question 46. What does CodeBuild caching improve?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Build performance<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> DNS resolution<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> IAM authentication<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Network routing<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Build performance<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">AWS CodeBuild caching can reduce build time by preserving frequently reused dependencies and build data between build runs. Without caching, a build may repeatedly download the same package dependencies or recreate certain intermediate files. With an appropriate cache configuration, commonly used data can be reused, reducing unnecessary work. This can be especially beneficial for projects with large dependency trees or frequent builds. CodeBuild supports different caching approaches depending on the build requirements. Teams should configure caching carefully because stale or inappropriate cached data can sometimes cause build issues. Proper cache management can improve CI efficiency while maintaining predictable build behavior.<\/span><\/p>\n<h3><b>Question 47. What enables Docker builds in CodeBuild?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Privileged mode<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> CloudTrail<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Route 53<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> AWS Config<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Privileged mode<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">When AWS CodeBuild needs to build Docker container images using Docker commands inside the build environment, privileged mode may be required. This setting allows the build environment to perform operations that need additional Linux capabilities for Docker-related workloads. A buildspec can then contain commands that authenticate to Amazon ECR, build an image, tag it, and push it to a repository. Privileged mode should be enabled only when required because additional privileges increase the capabilities available to the build environment. Organizations should combine it with restricted IAM permissions and secure build practices to reduce unnecessary exposure during container image creation.<\/span><\/p>\n<h3><b>Question 48. What does a CodeBuild batch build provide?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Parallel build execution<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> DNS failover<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Database replication<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> IAM federation<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Parallel build execution<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">CodeBuild batch builds allow multiple related build actions to be executed as part of a coordinated batch operation. This can be useful when a project needs to build several configurations, platforms, components, or test variations. Parallel execution can reduce the total time required compared with processing every build sequentially. Batch builds are particularly helpful for large projects that need to validate multiple variants of an application before continuing through a pipeline. The build configuration determines how the batch operates and what outputs are produced. Using batch capabilities effectively can improve CI throughput while still maintaining centralized control over build definitions and results.<\/span><\/p>\n<h3><b>Question 49. What does an upstream CodeArtifact repository provide?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> External package access<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> EC2 instance recovery<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> DNS management<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Log encryption<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. External package access<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">AWS CodeArtifact upstream repositories allow a CodeArtifact repository to obtain packages from another repository when the requested package is not already available locally. This can simplify dependency management because developers and build systems can use a centralized repository while still accessing packages from supported external or upstream sources. CodeArtifact can cache retrieved packages, which can improve consistency and reduce repeated external downloads. Centralizing package access also gives organizations greater control over dependencies and permissions. Upstream configuration is especially useful for CI\/CD environments where builds frequently require third-party libraries and packages but should use an approved repository endpoint.<\/span><\/p>\n<h3><b>Question 50. What does an ECR lifecycle policy manage?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Old images<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> IAM users<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> DNS records<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> CloudWatch alarms<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Old images<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Amazon Elastic Container Registry lifecycle policies can automatically clean up container images that meet specified retention conditions. Organizations often accumulate many image versions as CI\/CD pipelines continuously build and publish new releases. Keeping every image indefinitely can increase storage consumption and make repositories harder to manage. A lifecycle policy can identify images based on criteria such as tags or image age and expire images that are no longer needed. This provides automated repository maintenance and helps control storage usage. Careful policy design is important so that images required for production rollback, compliance, or investigation are not removed prematurely.<\/span><\/p>\n<h3><b>Question 51. Why use ECR tag immutability?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> To prevent tag overwrites<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> To increase storage limits<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> To disable scanning<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> To create IAM roles<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. To prevent tag overwrites<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Amazon ECR image tag immutability prevents an existing image tag from being reused for a different image. Without immutability, a tag such as a release identifier could potentially be overwritten by another image, making it difficult to determine exactly which image was deployed. Immutable tags improve traceability because a specific tag continues to reference the same image. This is useful in CI\/CD pipelines where reproducibility and reliable rollback are important. Teams can combine immutable tags with image digests to establish strong artifact identification. The practice reduces accidental overwrites and helps ensure that deployment environments receive the intended container image version.<\/span><\/p>\n<h3><b>Question 52. What does ECR replication provide?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Image distribution across Regions<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Password rotation<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Database indexing<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Source-code compilation<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Image distribution across Regions<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Amazon ECR replication can automatically copy container images between supported ECR repositories across AWS Regions or accounts, depending on the configured replication setup. This can help organizations distribute application images closer to deployment environments and improve availability of container artifacts. For multi-Region DevOps architectures, replication reduces the need for manual image copying and supports automated deployment workflows. Organizations can define which repositories or images should be replicated based on their requirements. Replication should be combined with appropriate repository permissions and security controls. It can also help reduce deployment delays when applications need to launch in multiple geographic AWS Regions.<\/span><\/p>\n<h3><b>Question 53. What does CodeDeploy use for ECS blue\/green deployments?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Two ECS task sets<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Two IAM users<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Two S3 buckets only<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Two VPCs only<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Two ECS task sets<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">For Amazon ECS blue\/green deployments using CodeDeploy, separate task sets can represent the currently running version and the new version of an application. CodeDeploy manages the deployment process and traffic transition between these task sets. The new task set can be launched and validated before traffic is shifted from the existing version. This approach provides controlled deployment and can make rollback easier if health checks or monitoring identify a problem. Traffic management is commonly integrated with an Application Load Balancer or related routing configuration. The separation between task sets allows the old version to remain available while the new version is being evaluated.<\/span><\/p>\n<h3><b>Question 54. What does an ECS rolling deployment update?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Running tasks gradually<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> IAM policies<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Route tables<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> S3 lifecycle rules<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Running tasks gradually<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">An ECS rolling deployment replaces or updates running tasks progressively rather than stopping the entire service at once. ECS controls how many tasks are allowed to run during the deployment using service deployment configuration settings. This allows some existing tasks to continue serving traffic while new tasks start and become healthy. Rolling deployments can reduce disruption and avoid requiring a completely separate environment. Health checks and deployment parameters help determine when tasks can be considered ready. This strategy is useful when the application can safely operate while different task versions transition during deployment and when maintaining service availability is an important requirement.<\/span><\/p>\n<h3><b>Question 55. What does Lambda traffic shifting control?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Traffic between function versions<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> VPC route tables<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> S3 replication<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> IAM users<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Traffic between function versions<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">AWS Lambda traffic shifting can control how invocation traffic moves between different versions of a Lambda function. Using aliases and deployment capabilities such as AWS CodeDeploy, organizations can gradually direct traffic toward a new version. For example, a canary deployment can send a small percentage of traffic to the new version before increasing the percentage. CloudWatch alarms can monitor application behavior during the transition and support automated rollback when problems occur. This provides a controlled release mechanism for serverless applications. Gradual traffic shifting reduces the impact of faulty releases and allows teams to validate new function versions under real traffic conditions.<\/span><\/p>\n<h3><b>Question 56. What does a Lambda alias point to?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> A function version<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> A security group<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> An S3 lifecycle rule<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> A CloudFormation stack<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. A function version<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A Lambda alias provides a stable name that points to a specific published Lambda function version. Instead of requiring clients or deployment systems to reference a version number directly, an alias such as production can represent the currently approved version. The alias can later be updated to point to another version during a deployment. This abstraction is particularly useful for controlled release strategies because traffic can be directed through the alias while the underlying version changes. Lambda aliases can also support weighted routing between versions, enabling gradual traffic shifting. This makes aliases an important building block for reliable serverless deployment workflows.<\/span><\/p>\n<h3><b>Question 57. What do CloudFormation nested stacks provide?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Reusable templates<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Password storage<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Container scanning<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> DNS failover<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Reusable templates<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">CloudFormation nested stacks allow one CloudFormation stack to create another stack as a resource. This enables large infrastructure definitions to be divided into smaller, reusable templates. For example, an organization might maintain separate templates for networking, security, and application resources and then combine them through a parent stack. This modular approach makes infrastructure code easier to organize, maintain, and reuse. Changes to a specific component can be isolated within its corresponding template. Nested stacks are particularly useful when multiple applications or environments share common infrastructure patterns. They help reduce duplication while maintaining infrastructure deployment through CloudFormation.<\/span><\/p>\n<h3><b>Question 58. What are CloudFormation rollback triggers used for?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Monitoring deployment health<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Creating IAM users<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Managing package versions<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Routing DNS traffic<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Monitoring deployment health<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">CloudFormation rollback triggers can use monitoring information, such as Amazon CloudWatch alarms, to determine whether a stack operation should be rolled back. This allows infrastructure deployments to include operational health checks instead of relying only on whether resource creation technically succeeded. For example, a stack update may complete successfully from an infrastructure perspective while the application experiences elevated errors afterward. A configured alarm can detect the problem and cause CloudFormation to initiate rollback within the supported monitoring period. This approach helps protect production environments from infrastructure changes that appear successful but negatively affect application behavior.<\/span><\/p>\n<h3><b>Question 59. What does CloudFormation termination protection prevent?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Accidental stack deletion<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Code compilation<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Image scanning<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Log collection<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Accidental stack deletion<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">CloudFormation termination protection helps prevent an enabled stack from being accidentally deleted. This is particularly useful for important production stacks where an unintended deletion could remove critical infrastructure resources. When termination protection is enabled, attempts to delete the protected stack are blocked until the protection is disabled. The feature does not prevent all possible infrastructure changes, nor does it replace access control or backup strategies. It is simply an additional safeguard against destructive stack deletion operations. Organizations can use it alongside IAM permissions, change-management procedures, and infrastructure-as-code review processes to reduce the risk of accidental removal of critical environments.<\/span><\/p>\n<h3><b>Question 60. What can a CloudFormation custom resource provide?<\/b><\/h3>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Custom deployment logic<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> DNS hosting only<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Password policies only<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Container storage only<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Custom deployment logic<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">CloudFormation custom resources allow stack operations to invoke custom logic that is not directly supported by standard CloudFormation resource types. The custom logic is commonly implemented using AWS Lambda or another supported service integration. This can be useful when infrastructure provisioning requires specialized actions, external API calls, or resource management that CloudFormation does not natively provide. Custom resources can participate in stack creation, update, and deletion workflows, allowing these additional operations to become part of the infrastructure deployment process. Because custom logic can introduce operational complexity, it should be carefully designed with appropriate permissions, error handling, timeouts, and rollback behavior.<\/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 41. What does an AppSpec file define? Deployment instructions DNS records IAM users Database indexes Correct Answer: 1. Deployment instructions Explanation: An AppSpec file provides deployment instructions used by AWS CodeDeploy. It identifies important deployment details such [&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\/15862"}],"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=15862"}],"version-history":[{"count":1,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/15862\/revisions"}],"predecessor-version":[{"id":15940,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/15862\/revisions\/15940"}],"wp:attachment":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/media?parent=15862"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/categories?post=15862"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/tags?post=15862"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}