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, 10 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
10 months, 3 weeks ago
"For example, you might want to include resources that aren't available as AWS CloudFormation resource types."
upvoted 1 times
...
...
KikiNoviandi
Most Recent 9 months, 2 weeks ago
Selected Answer: D
d correct
upvoted 1 times
...
Christina666
11 months, 1 week 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
11 months, 1 week ago
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources-lambda.html
upvoted 1 times
...
Christina666
11 months, 1 week 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
...
...
[Removed]
11 months, 3 weeks ago
The correct answer is D. You can create a custom resource type, such as Custom::MyCustomType, to meet these requirements. A custom resource allows you to write custom provisioning logic in templates that AWS CloudFormation runs anytime you create, update, or delete stacks. You can use the custom resource to create a single resource that consists of multiple AWS services and supports creation and deletion through the CloudFormation console. Received message. The correct answer is **D**. You can create a custom resource type, such as `Custom::MyCustomType`, to meet these requirements. A custom resource allows you to write custom provisioning logic in templates that AWS CloudFormation runs anytime you create, update, or delete stacks. You can use the custom resource to create a single resource that consists of multiple AWS services and supports creation and deletion through the CloudFormation console.
upvoted 1 times
...
michaldavid
1 year, 6 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 ...