AWS DevOps Engineer Professional Practice Test

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the AWS DevOps Engineer Professional Test with comprehensive flashcards and multiple choice questions. Each question is accompanied by helpful hints and explanations to guide your study. Get exam-ready with confidence!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


Which services are supported for CloudFormation Custom Resource Types?

  1. Amazon SNS and AWS Lambda

  2. AWS Step Functions and Amazon EC2

  3. AWS Batch and Amazon ECS

  4. AWS Glue and Amazon EMR

The correct answer is: Amazon SNS and AWS Lambda

CloudFormation Custom Resource Types allow you to extend AWS CloudFormation's functionality by creating custom resources that can run any AWS service and respond to CloudFormation lifecycle events. The primary services that are commonly supported for creating these custom resources are AWS Lambda and Amazon SNS. AWS Lambda is particularly significant because it can be programmed to handle events triggered during the creation, update, or deletion of a CloudFormation stack. When CloudFormation invokes a Lambda function as part of a custom resource, it allows developers to implement specific logic or integrate with other APIs during the infrastructure provisioning process. AWS Lambda helps automate tasks that are not natively supported by CloudFormation. Amazon SNS can also play a role in custom resources, particularly for sending notifications or executing functions based on events. While it is not typically used directly to fulfill the resource provisioning logic, it can complement Lambda solutions by informing other services about events or triggering other actions. In contrast, the other service options listed (AWS Step Functions, Amazon EC2, AWS Batch, Amazon ECS, AWS Glue, and Amazon EMR) do not have the same level of direct integration or typical usage as custom resource handlers in CloudFormation. They serve different purposes, such as orchestrating workflows (in the case of Step Functions), managing containerized