Courseiva
TechnologymediumMultiple ChoiceObjective-mapped

PAS-C01 Technology Practice Question

An SAP system is deployed on AWS using an Auto Scaling group of EC2 instances for the SAP application server layer. The application servers are stateless. The company wants to ensure that when a new instance is launched, it automatically registers with the SAP Web Dispatcher. The Web Dispatcher is configured with an Application Load Balancer (ALB). What is the best way to achieve automatic registration?

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

Attach the Auto Scaling group to an ALB target group.

Attaching the Auto Scaling group directly to an ALB target group ensures that any instance launched by the Auto Scaling group is automatically registered with the ALB. Since the SAP Web Dispatcher is configured behind the ALB, this automatically registers the instance with the Web Dispatcher. Option C is incorrect because user data scripts can be used for initial configuration, but relying on them for registration is less reliable and does not integrate with the ALB's health checks. Option A is incorrect because using CloudWatch Events and Lambda adds unnecessary complexity and latency. Option B is incorrect because AWS Systems Manager State Manager is designed for maintaining consistent state, not for immediate registration upon launch.

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 Amazon CloudWatch Events to trigger an AWS Lambda function that registers the instance.

    Why it's wrong here

    This adds complexity.

  • Use AWS Systems Manager State Manager to run a registration script on the instance.

    Why it's wrong here

    State Manager can run scripts but not automatically on launch.

  • Configure the EC2 instance's user data to run a script that registers with the Web Dispatcher.

    Why it's wrong here

    User data runs at launch but cannot register with ALB.

  • Attach the Auto Scaling group to an ALB target group.

    Why this is correct

    Auto Scaling automatically registers instances with the target group.

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

Courseiva writes every PAS-C01 question from scratch — 1,616 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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 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.