Courseiva
Continuous Improvement for Existing SolutionsmediumMultiple ChoiceObjective-mapped

SAP-C02 Continuous Improvement for Existing Solutions Practice Question

A company uses AWS CloudFormation to deploy a stack that includes an Amazon RDS MySQL instance. The stack template defines the DBInstanceClass as db.t3.medium. After deployment, the database performance is insufficient for the workload. The company wants to change the instance class to db.r5.large without recreating the database. What should they do?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Update the CloudFormation stack with the new instance class and apply the change.

You can update the CloudFormation stack with a new DBInstanceClass value, and CloudFormation will modify the RDS instance to the new class. RDS supports modifying the DB instance class without recreating the database, although a brief downtime may occur. Option A is wrong because creating a new stack and migrating data is unnecessary. Option B is wrong because AWS DMS is typically used for migrations, not for simple instance class changes; blue/green deployment is not required. Option C is wrong because deleting the stack would destroy the database.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Create a new stack with the new instance class and migrate the data.

    Why it's wrong here

    Data migration is unnecessary and time-consuming.

  • Use AWS Database Migration Service to perform a blue/green deployment.

    Why it's wrong here

    DMS is for migrations, not for changing instance class of an existing DB.

  • Delete the stack and create a new one with the new instance class.

    Why it's wrong here

    This deletes the database and all data.

  • Update the CloudFormation stack with the new instance class and apply the change.

    Why this is correct

    CloudFormation will modify the DB instance in-place with minimal downtime.

About these practice questions

This SAP-C02 question is part of Courseiva's 1,660-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SAP-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SAP-C02 exam.