Courseiva
Operations and MaintenancehardMultiple ChoiceObjective-mapped

PAS-C01 Operations and Maintenance Practice Question

Exhibit

Refer to the exhibit.

```
{
  "AWSTemplateFormatVersion": "2010-09-09",
  "Resources": {
    "SAPApplicationServer": {
      "Type": "AWS::AutoScaling::AutoScalingGroup",
      "Properties": {
        "LaunchConfigurationName": "my-launch-config",
        "MinSize": "1",
        "MaxSize": "5",
        "DesiredCapacity": "2",
        "VPCZoneIdentifier": ["subnet-1a", "subnet-1b"]
      }
    }
  }
}
```

An SAP administrator is reviewing a CloudFormation template that defines an Auto Scaling group for SAP application servers. The exhibit shows the relevant section. The group currently has 2 instances running. The administrator wants to ensure that during a rolling update, at least one instance remains available. Which property should be added?

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

UpdatePolicy attribute with AutoScalingRollingUpdate and MinInstancesInService set to 1.

Adding an UpdatePolicy with AutoScalingRollingUpdate and MinInstancesInService set to 1 ensures that during a rolling update, at least one instance remains available, preventing complete downtime. Option B is wrong because setting MaxSize to 1 would limit the maximum number of instances to 1, which could cause issues if the current count is 2 and a rolling update is performed; it does not guarantee availability during updates. Option C is wrong because increasing DesiredCapacity to 3 would add more instances but does not control the rolling update behavior to maintain at least one running instance. Option D is wrong because HealthCheckGracePeriod only defines a grace period for health checks after an instance launches; it does not enforce availability during a 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.

  • UpdatePolicy attribute with AutoScalingRollingUpdate and MinInstancesInService set to 1.

    Why this is correct

    This ensures that during updates, at least one instance remains in service.

  • Set MaxSize to 1.

    Why it's wrong here

    MaxSize=1 would prevent scaling but not ensure availability during updates.

  • Set DesiredCapacity to 3.

    Why it's wrong here

    Increasing capacity does not guarantee availability during updates.

  • Add a HealthCheckGracePeriod of 300 seconds.

    Why it's wrong here

    HealthCheckGracePeriod delays health checks but does not ensure availability during updates.

About these practice questions

One of 1,616 original PAS-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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 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.