AWS Certified SysOps Administrator – Associate — Question 401

A SysOps administrator is responsible for managing a company's cloud infrastructure with AWS CloudFormation. The SysOps administrator needs to create a single resource that consists of multiple AWS services. The resource must support creation and deletion through the CloudFormation console.
Which CloudFormation resource type should the SysOps administrator create to meet these requirements?

Answer options

Correct answer: D

Explanation

A custom resource, designated by Custom::MyCustomType, allows you to write custom provisioning logic in AWS CloudFormation templates that manages multiple AWS services or external resources as a single entity during stack lifecycle events. Other options like AWS::EC2::Instance with cfn-init, AWS::OpsWorks::Instance, and AWS::SSM::Document are designed for configuration management or running scripts on instances, not for orchestrating custom multi-service lifecycle operations directly via the CloudFormation engine.