DOP-C02 · Question #511
A company uses AWS Lambda functions in the primary operating AWS Region of its AWS account. The company manually created the Lambda functions. The company needs to use a Python-based AWS Cloud Develop
The correct answer is A. Start a partial scan by using the AWS CloudFormation infrastructure as code (IaC) generator.. Using the CloudFormation IaC generator to scan existing Lambda resources and directly generate an AWS CDK application provides the quickest path to bring manually created functions under CDK management. After generation, setting the Lambda code to use local assets ensures the CDK
Question
A company uses AWS Lambda functions in the primary operating AWS Region of its AWS account. The company manually created the Lambda functions. The company needs to use a Python-based AWS Cloud Development Kit (AWS CDK) application to manage the Lambda functions. Which solution meets these requirements with the LEAST implementation effort?
Options
- AStart a partial scan by using the AWS CloudFormation infrastructure as code (IaC) generator.
- BStart a partial scan by using the AWS CloudFormation infrastructure as code (IaC) generator.
- CStart a partial scan by using the AWS CloudFormation infrastructure as code (IaC) generator.
- DCreate a resource inventory by using AWS Config. Filter by the Lambda resource type. Export the
How the community answered
(27 responses)- A78% (21)
- B11% (3)
- C7% (2)
- D4% (1)
Explanation
Using the CloudFormation IaC generator to scan existing Lambda resources and directly generate an AWS CDK application provides the quickest path to bring manually created functions under CDK management. After generation, setting the Lambda code to use local assets ensures the CDK app can package and deploy the function code going forward, completing the transition with minimal additional work compared to editing templates or building a solution from inventory
Topics
Community Discussion
No community discussion yet for this question.