Courseiva
TechnologyhardMultiple ChoiceObjective-mapped

PAS-C01 Technology Practice Question

Network Topology
$ aws cloudformation describe-stack-eventsstack-name SAP-StackRefer to the exhibit.```"StackEvents": ["StackId": "arn:aws:cloudformation:us-east-1:123456789012:stack/SAP-Stack/abcd1234","EventId": "Event-1","StackName": "SAP-Stack","LogicalResourceId": "SAP-HANA-Instance","PhysicalResourceId": "i-0abcd1234efgh5678","ResourceType": "AWS::EC2::Instance","Timestamp": "2023-09-15T14:30:00.000Z","ResourceStatus": "CREATE_FAILED",

Refer to the exhibit. A CloudFormation stack creation failed with the message 'WaitCondition received failed signal'. What is the most likely cause?

⚠ Common exam trap

The most common pitfall is confusing a timeout (no signal received) with a failed signal (signal with non-zero exit code). Candidates often assume network issues like security groups blocking cfn-signal, but the error explicitly states a failed signal was received, indicating a script error on the instance.

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 script executed via cfn-signal failed to complete successfully

The `WaitCondition` resource in CloudFormation is designed to pause stack creation until it receives a success signal from a resource, typically an EC2 instance running a cfn-init script. The 'WaitCondition received failed signal' error indicates that the signal sent was explicitly a failure signal (e.g., via `cfn-signal --exit-code 1`), not that the signal was lost or blocked. This most commonly occurs when the script executed by cfn-init or a user-data script encounters an error and exits with a non-zero exit code, causing cfn-signal to send a failure signal to the WaitCondition.

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 security group rules are blocking the cfn-signal communication

    Why it's wrong here

    cfn-signal uses HTTPS to CloudFormation endpoint, not blocked by typical security groups.

  • The stack creation timed out after 1 hour

    Why it's wrong here

    Timeout would show a different status reason.

  • The script executed via cfn-signal failed to complete successfully

    Why this is correct

    The WaitCondition expects a success signal; failure indicates script error.

  • The EC2 instance type is not supported in the region

    Why it's wrong here

    That would be a different error, not a signal failure.

About these practice questions

This PAS-C01 question is part of Courseiva's 1,616-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.