Font size
WorksheetsDesarrollador prueba1
Total questions: 65
Worksheet time: 2hrs 10mins
A company wants to automate part of its deployment process by checking for and deleting unused resources from previously deployed CloudFormation stacks managed with AWS CDK across multiple accounts. Which solution meets these requirements with the least configuration?
Write a handler function using AWS SDK calls, attach it to a Lambda function via a CloudFormation template, and invoke it during deployment.
Write a handler function using AWS SDK calls in the CDK; create a custom resource that attaches the function to a Lambda function and invokes it during stack deployment.
Write a script using AWS SDK calls and deploy it on an EC2 instance in each account.
Write a Lambda function in the Lambda console, import it into the CDK stack via a custom resource, and invoke it during deployment.
