Courseiva
Operations and MaintenancemediumMultiple ChoiceObjective-mapped

PAS-C01 Operations and Maintenance Practice Question

A company has an SAP landscape with multiple instances behind an Application Load Balancer (ALB). The operations team needs to ensure that the ALB targets are deregistered before an instance is terminated during a patching activity. Which AWS service can automate this?

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

Amazon EC2 Auto Scaling lifecycle hooks

Amazon EC2 Auto Scaling lifecycle hooks can automatically deregister instances from an Application Load Balancer before termination. Option B is incorrect because AWS Systems Manager State Manager is used to maintain consistent configuration of instances, not for target deregistration. Option C is incorrect because AWS Elastic Beanstalk is a platform for deploying web applications, not for managing ALB target deregistration for SAP. Option D is incorrect because AWS Lambda is a compute service that can be used as a target for lifecycle hooks, but the service that inherently provides the lifecycle hook mechanism is Amazon EC2 Auto Scaling.

Answer analysis

Option-by-option breakdown

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

  • Amazon EC2 Auto Scaling lifecycle hooks

    Why this is correct

    Lifecycle hooks can pause instance termination to run custom actions like deregistering from ALB.

  • AWS Systems Manager State Manager

    Why it's wrong here

    State Manager is for maintaining configuration, not instance lifecycle.

  • AWS Elastic Beanstalk

    Why it's wrong here

    Elastic Beanstalk is for deploying web applications, not SAP.

  • AWS Lambda

    Why it's wrong here

    Lambda is a compute service that can run scripts but does not directly manage lifecycle hooks.

Quick reference

Cloud Service Model Comparison

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

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.