The correct answer is that the AMI ID is hardcoded and may become unavailable. This is because a hardcoded AMI ID in a CloudFormation template creates a project management risk tied to resource obsolescence—if the specific Amazon Machine Image is deprecated, deregistered, or patched out of existence, the entire stack creation or update will fail, forcing unplanned rework and schedule delays. On the CompTIA Project+ PK0-005 exam, this scenario tests your ability to identify configuration management risks that threaten project scope, time, and cost, often disguised as a simple template review question. A common trap is focusing on the EC2 or SQS resource itself rather than the brittle dependency introduced by the hardcoded ID. Remember the memory tip: “Hardcode the ID, hardcode the risk”—always parameterize AMI values to keep your project plan flexible and resilient.
PK0-005 Project Management Concepts Practice Question
This PK0-005 practice question tests your understanding of project management concepts. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A project manager is reviewing a CloudFormation template for a project. The template creates an EC2 instance and an SQS queue. Which project management risk is most associated with this template?
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The AMI ID is hardcoded and may become unavailable.
Option D is correct because hardcoding an AMI ID in a CloudFormation template introduces a significant project management risk: the AMI may be deprecated, deregistered, or become unavailable over time, causing stack creation or update failures. This risk directly impacts project schedule and cost due to unplanned rework and delays. A project manager should ensure that AMI IDs are parameterized or retrieved dynamically (e.g., via AWS Systems Manager Parameter Store) to maintain template portability and reliability.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
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 instance type is too small for production.
Why it's wrong here
t2.micro may be suitable for dev; not a project risk per se.
✗
The SQS queue has no dead-letter queue configured.
Why it's wrong here
Missing DLQ is an operational concern, not project risk.
✗
The security group is not defined in the template.
Why it's wrong here
Security group is referenced; could be a risk but not as critical as AMI dependency.
✓
The AMI ID is hardcoded and may become unavailable.
Why this is correct
Hardcoded AMI IDs lead to region-specific or deprecation issues.
Related concept
Read the scenario before looking for a memorised answer.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates confuse operational or security risks (like missing DLQ or security group) with project management risks, which specifically concern schedule, cost, and scope impacts from template failures—making the hardcoded AMI the only option that directly threatens successful deployment.
Detailed technical explanation
How to think about this question
AMI IDs are region-specific and account-specific; a hardcoded AMI ID from one region will fail in another, and even within the same region, AWS may deprecate the underlying AMI (e.g., after a security patch or EOL of the OS version). CloudFormation does not validate AMI existence at template submission time—it only fails at stack creation or update, which can block critical deployments. Using `AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>` or a mapping with `AWS::Region` and `AWS::AccountId` pseudo parameters avoids this risk.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A practitioner preparing for the PK0-005 exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Project Management Concepts — This question tests Project Management Concepts — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: The AMI ID is hardcoded and may become unavailable. — Option D is correct because hardcoding an AMI ID in a CloudFormation template introduces a significant project management risk: the AMI may be deprecated, deregistered, or become unavailable over time, causing stack creation or update failures. This risk directly impacts project schedule and cost due to unplanned rework and delays. A project manager should ensure that AMI IDs are parameterized or retrieved dynamically (e.g., via AWS Systems Manager Parameter Store) to maintain template portability and reliability.
What should I do if I get this PK0-005 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
This PK0-005 practice question is part of Courseiva's free CompTIA 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 PK0-005 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.