Courseiva
TechnologyeasyMultiple ChoiceObjective-mapped

PAS-C01 Technology Practice Question

Exhibit

{
  "AWSTemplateFormatVersion": "2010-09-09",
  "Resources": {
    "SAPApplicationServer": {
      "Type": "AWS::EC2::Instance",
      "Properties": {
        "InstanceType": "r5.2xlarge",
        "ImageId": "ami-0abcdef1234567890",
        "UserData": "#!/bin/bash\nsleep 30\n/usr/sap/install/start_app_server.sh"
      }
    }
  }
}

Refer to the exhibit. A CloudFormation template is used to launch an SAP application server. The stack creation succeeds, but the application server fails to start correctly. What is the most likely reason?

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

The UserData script may not be executed due to timing issues; the sleep command may be insufficient.

The UserData script includes a 'sleep 30' command, which may not be sufficient if the instance takes longer to become ready, causing the application server to fail to start correctly. Option A is incorrect because missing an output parameter does not affect the startup of the application server; outputs are for stack information. Option B is incorrect because the r5.2xlarge instance type is supported for SAP application servers on AWS. Option C is incorrect because AMI IDs can contain numeric characters; the example AMI ID is valid.

Answer analysis

Option-by-option breakdown

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

  • The template is missing an output parameter to verify the instance status.

    Why it's wrong here

    Outputs are for display, not function.

  • The instance type r5.2xlarge is not supported for SAP application servers.

    Why it's wrong here

    r5 instances are supported for SAP.

  • The AMI ID is invalid because it contains numeric characters.

    Why it's wrong here

    AMI IDs can contain numbers; the example is valid.

  • The UserData script may not be executed due to timing issues; the sleep command may be insufficient.

    Why this is correct

    The script has a 30-second sleep, but if the instance is not fully ready, the script may fail.

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.