An application in the Source AWS account uses Lambda functions (deployed from deployment packages) and stores inventory in an Amazon Aurora cluster. Automated Aurora backups are enabled. The company needs to migrate the Lambda functions and the Aurora database to a Target AWS account with minimal downtime. Which approach satisfies these constraints?
Choose an answer
Tap an option to check your answer.
Correct answer: Download the Lambda deployment package from the Source account and recreate the Lambda functions in the Target account from that package. Share the Aurora DB cluster with the Target account using AWS Resource Access Manager (AWS RAM) and grant the Target account permission to clone the Aurora cluster..
Why this is the answer
The correct approach minimizes downtime by leveraging existing deployment packages and Aurora's sharing capabilities. Lambda functions are stateless, so recreating them from their deployment package in the Target account is straightforward and efficient. Sharing the Aurora DB cluster via AWS Resource Access Manager (AWS RAM) allows the Target account to clone the database, creating a new, independent cluster from the shared resource. This method ensures data consistency and allows for a cutover with minimal downtime. Incorrect options: Sharing automated Aurora DB cluster snapshots directly with the Target account requires restoring the snapshot, which can take time and might not be as seamless as cloning a shared cluster, potentially leading to more downtime. AWS RAM cannot be used to share Lambda functions directly; it's designed for sharing resources like subnets, transit gateways, and Aurora clusters. The option suggesting sharing Lambda functions via AWS RAM is incorrect for the same reason mentioned above.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed