exam questions

Exam AWS Certified SysOps Administrator - Associate All Questions

View all questions & answers for the AWS Certified SysOps Administrator - Associate exam

Exam AWS Certified SysOps Administrator - Associate topic 1 question 22 discussion

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?

  • A. AWS::EC2::Instance with a cfn-init helper script
  • B. AWS::OpsWorks::Instance
  • C. AWS::SSM::Document
  • D. Custom::MyCustomType
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
princajen
Highly Voted 1 year, 11 months ago
Selected Answer: D
Custom resources enable you to write custom provisioning logic in templates that AWS CloudFormation runs anytime you create, update (if you changed the custom resource), or delete stacks. For example, you might want to include resources that aren't available as AWS CloudFormation resource types. You can include those resources by using custom resources. That way you can still manage all your related resources in a single stack. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources.html
upvoted 12 times
jipark
1 year ago
"For example, you might want to include resources that aren't available as AWS CloudFormation resource types."
upvoted 1 times
...
...
Pushkar252
Most Recent 1 month ago
Selected Answer: D
Option D is correct. CustomType helps us to write the meaningful and logical nested stack template which the multiple AWS services consisted in 1 resource.
upvoted 1 times
...
KikiNoviandi
11 months, 1 week ago
Selected Answer: D
d correct
upvoted 1 times
...
Christina666
1 year ago
Selected Answer: D
The Custom::MyCustomType is a CloudFormation custom resource type that allows you to define your own resource type using AWS Lambda-backed custom logic. This means you can use AWS Lambda functions to create and delete the custom resource. By creating a custom resource backed by an AWS Lambda function, you have the flexibility to define and orchestrate multiple AWS services as a single resource within your CloudFormation stack. The custom Lambda function can handle the logic for creating and deleting the resources across multiple services in the desired order and configuration.
upvoted 2 times
Christina666
1 year ago
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources-lambda.html
upvoted 1 times
...
Christina666
1 year ago
Option A (AWS::EC2::Instance with a cfn-init helper script) is used to create an EC2 instance, but it does not provide the ability to create multiple AWS services as a single resource. cfn-init is useful for bootstrapping EC2 instances with additional configuration and packages, but it's not designed to create other resources. Option B (AWS::OpsWorks::Instance) is used to create an AWS OpsWorks instance, which is not applicable for the requirement of creating multiple AWS services as a single resource. Option C (AWS::SSM::Document) is used to create an SSM (Systems Manager) document, which is used for automating tasks on instances using SSM, but it does not provide the functionality of creating multiple AWS services as a single resource.
upvoted 3 times
...
...
michaldavid
1 year, 8 months ago
Selected Answer: D
ddddddd
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...