AWS Certified SysOps Administrator – Associate (legacy) — Question 525
A SysOps Administrator needs to create a replica of a company's existing AWS infrastructure in a new AWS account. Currently, an AWS Service Catalog portfolio is used to create and manage resources.
What is the MOST efficient way to accomplish this?
Answer options
- A. Create an AWS CloudFormation template to use the AWS Service Catalog portfolio in the new AWS account.
- B. Manually create an AWS Service Catalog portfolio in the new AWS account that duplicates the original portfolio.
- C. Run an AWS Lambda function to create a new AWS Service Catalog portfolio based on the output of the DescribePortfolio API operation.
- D. Share the AWS Service Catalog portfolio with the other AWS accounts and import the portfolio into the other AWS accounts.
Correct answer: A
Explanation
Using an AWS CloudFormation template to deploy the AWS Service Catalog portfolio in the new account represents the most efficient, automated, and repeatable Infrastructure as Code (IaC) method. Manually recreating the portfolio is time-consuming and prone to human error, while developing a custom AWS Lambda function adds unnecessary code complexity and maintenance overhead. Although portfolio sharing is possible, using CloudFormation templates ensures consistent deployment and lifecycle management of the catalog infrastructure.