Question 1,379 of 1,733
Operations and MaintenanceeasyMultiple ChoiceObjective-mapped

Patching OS in Auto Scaling Groups with Rolling Updates

This PAS-C01 practice question tests your understanding of operations and maintenance. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. A key principle to apply: auto Scaling rolling update. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

An SAP NetWeaver administrator needs to patch the operating system of an SAP application server running in an Auto Scaling group. The instances are behind an Application Load Balancer. What is the correct procedure to minimize downtime?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "minimum / minimize"

    Why it matters: Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.

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

Use an Auto Scaling rolling update with lifecycle hooks to launch new instances from a patched AMI and gradually deregister old ones.

Option A is correct because it uses Auto Scaling rolling updates with lifecycle hooks to replace instances one by one, minimizing downtime by ensuring new instances are healthy before old ones are terminated. Option B is wrong because manually detaching and patching does not leverage Auto Scaling's automation and can lead to inconsistent AMIs. Option C is wrong because stopping traffic at the ALB causes full downtime during patching. Option D is wrong because terminating all instances at once causes full downtime, and the new instances may not be immediately available.

Key principle: Auto Scaling rolling update

Answer analysis

Option-by-option breakdown

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

  • Use an Auto Scaling rolling update with lifecycle hooks to launch new instances from a patched AMI and gradually deregister old ones.

    Why this is correct

    This minimizes downtime by replacing instances one at a time while maintaining capacity.

    Clue confirmation

    The clue word "minimum / minimize" in the question point toward this answer.

    Related concept

    Auto Scaling rolling update

  • Detach one instance from Auto Scaling, patch it, test, then reattach.

    Why it's wrong here

    Detaching does not trigger automated replacement; the instance must be terminated to be replaced.

  • Stop accepting traffic at the ALB, patch all instances manually, then re-enable traffic.

    Why it's wrong here

    This approach causes full downtime during patching.

  • Terminate all instances at once and let Auto Scaling launch new ones with a patched AMI.

    Why it's wrong here

    Terminating all instances causes complete application downtime.

Common exam traps

Common exam trap: answer the scenario, not the keyword

A common mistake is to think that stopping traffic to the ALB or manually patching instances is acceptable, but the correct approach uses Auto Scaling rolling updates with lifecycle hooks to automate the process and minimize downtime.

Detailed technical explanation

How to think about this question

Treat this as a scenario question. Identify the problem, the constraint, and the best action. Then compare each option against those facts.

KKey Concepts to Remember

  • Auto Scaling rolling update
  • Lifecycle hooks
  • Application Load Balancer (ALB)
  • Minimizing downtime

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Auto Scaling rolling update

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Auto Scaling rolling update Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Review auto Scaling rolling update, then practise related PAS-C01 questions on the same topic to reinforce the concept.

Related practice questions

Related PAS-C01 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free PAS-C01 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this PAS-C01 question test?

Operations and Maintenance — This question tests Operations and Maintenance — Auto Scaling rolling update.

What is the correct answer to this question?

The correct answer is: Use an Auto Scaling rolling update with lifecycle hooks to launch new instances from a patched AMI and gradually deregister old ones. — Option A is correct because it uses Auto Scaling rolling updates with lifecycle hooks to replace instances one by one, minimizing downtime by ensuring new instances are healthy before old ones are terminated. Option B is wrong because manually detaching and patching does not leverage Auto Scaling's automation and can lead to inconsistent AMIs. Option C is wrong because stopping traffic at the ALB causes full downtime during patching. Option D is wrong because terminating all instances at once causes full downtime, and the new instances may not be immediately available.

What should I do if I get this PAS-C01 question wrong?

Review auto Scaling rolling update, then practise related PAS-C01 questions on the same topic to reinforce the concept.

Are there clue words in this question I should notice?

Yes — watch for: "minimum / minimize". Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.

What is the key concept behind this question?

Auto Scaling rolling update

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

3 more ways this is tested on PAS-C01

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. An SAP administrator needs to patch the operating system of SAP application servers that are part of an Auto Scaling group. What is the best practice to ensure that instances are updated without downtime?

hard
  • A.Update the AMI used by the Auto Scaling group launch configuration and manually terminate all running instances.
  • B.Create a new launch configuration with an updated AMI and perform a rolling update using the Auto Scaling group.
  • C.Update the AMI and stop the Auto Scaling group, then start it again.
  • D.Install patches on each running instance using AWS Systems Manager Patch Manager.

Why B: Option B is correct because a rolling update replaces instances gradually, maintaining capacity. Option A is wrong because it does not address replacement. Option C is wrong because it causes downtime. Option D is wrong because it does not apply to running instances.

Variation 2. An SAP Basis administrator needs to apply an OS-level security patch to a fleet of SAP EC2 instances running Red Hat Enterprise Linux. The instances are part of an Auto Scaling group. Which approach is the MOST efficient and minimizes downtime?

easy
  • A.Create a custom AMI and manually terminate each instance to launch new ones.
  • B.Stop all instances, apply the patch using a script, and restart them.
  • C.Use AWS Systems Manager Patch Manager to apply the patch to all instances simultaneously.
  • D.Create a new AMI with the patch applied, update the launch template, and perform a rolling update via Auto Scaling.

Why D: Option D is the most efficient and minimizes downtime because it uses a rolling update strategy. By creating a new AMI with the patch applied and updating the launch template in the Auto Scaling group, instances are gradually replaced without stopping all at once. Option A is incorrect because manually terminating instances is not efficient and doesn't leverage Auto Scaling automation. Option B is incorrect because stopping all instances to apply a patch causes downtime. Option C is incorrect because while Systems Manager Patch Manager can apply patches, simultaneous patching without a rolling update risks service disruption, especially if reboots are required. The rolling update via Auto Scaling ensures high availability.

Variation 3. An SAP administrator needs to apply a security patch to the operating system of an EC2 instance running SAP. The instance is part of an Auto Scaling group. What is the best practice to apply the patch while minimizing downtime?

easy
  • A.Create a new AMI with the patch applied, update the launch configuration, and perform a rolling update using an Auto Scaling lifecycle hook.
  • B.Update the launch configuration with the patched AMI and manually terminate running instances.
  • C.Stop the Auto Scaling group, patch the instance, and restart the group.
  • D.SSH into each instance and apply the patch manually.

Why A: Option A is the best practice because it leverages a lifecycle hook to perform a rolling update, replacing old instances with new ones based on a patched AMI without downtime. This approach ensures that each instance is gracefully terminated after a new instance is ready. Option B is incorrect because simply updating the launch configuration and manually terminating instances can cause downtime and is not automated. Option C is incorrect because stopping the Auto Scaling group and patching in place leads to downtime and is not scalable. Option D is incorrect because applying patches manually via SSH is error-prone and requires sequential instance patching, causing downtime.

Keep practising

More PAS-C01 practice questions

Last reviewed: Jun 20, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This PAS-C01 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 PAS-C01 exam.