This CCSP practice question tests your understanding of cloud application security. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. 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.
Exhibit
Refer to the exhibit.
Exhibit:
Error: Error creating API Gateway v2: BadRequestException: Failed to create route because the requested route key is already in use
status code: 400, request id: c6a1b2c3-d4e5-f6a7-b8c9-d0e1f2a3b4c5
Cause: The route key '/api/orders' already exists in the API.
A developer receives the above error when trying to create a route in an API Gateway. Which action should the developer take to resolve the issue?
Refer to the exhibit.
Exhibit:
Error: Error creating API Gateway v2: BadRequestException: Failed to create route because the requested route key is already in use
status code: 400, request id: c6a1b2c3-d4e5-f6a7-b8c9-d0e1f2a3b4c5
Cause: The route key '/api/orders' already exists in the API.
A
Change the endpoint type to private
Why wrong: Endpoint type is unrelated to route key uniqueness.
B
Add an authentication mechanism to the API
Why wrong: Authentication does not resolve route key conflicts.
C
Verify that the API is deployed to the correct stage
Why wrong: Deployment stage does not cause route key conflicts.
D
Delete the existing route or use a different route key
Removing the duplicate or choosing a unique key resolves the conflict.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Delete the existing route or use a different route key
The error indicates that a route with the same key already exists in the API Gateway. API Gateway enforces unique route keys within an API; attempting to create a duplicate route key (e.g., the same HTTP method and path combination) will fail. Deleting the existing route or using a different route key resolves the conflict by ensuring each route key is unique.
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.
✗
Change the endpoint type to private
Why it's wrong here
Endpoint type is unrelated to route key uniqueness.
✗
Add an authentication mechanism to the API
Why it's wrong here
Authentication does not resolve route key conflicts.
✗
Verify that the API is deployed to the correct stage
Why it's wrong here
Deployment stage does not cause route key conflicts.
✓
Delete the existing route or use a different route key
Why this is correct
Removing the duplicate or choosing a unique key resolves the conflict.
Related concept
Read the scenario before looking for a memorised answer.
Common exam traps
Common exam trap: answer the scenario, not the keyword
ISC2 often tests the misconception that deployment stages or authentication mechanisms can resolve configuration conflicts, when in fact the error is a direct result of violating a uniqueness constraint on route keys within the API Gateway resource hierarchy.
Detailed technical explanation
How to think about this question
In Amazon API Gateway, each route is uniquely identified by its route key, which typically combines the HTTP method (e.g., GET, POST) and the resource path (e.g., /users). When a developer attempts to create a route with a key that already exists, the API Gateway service returns a conflict error (HTTP 409). This behavior is enforced at the API definition level, not at deployment, ensuring that no two routes share the same method and path, which would cause ambiguous routing during request processing.
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 developer is choosing between AES-256 (symmetric) and RSA-2048 (asymmetric) for encrypting a large file that will be sent to a partner. Symmetric encryption is fast but requires key exchange; asymmetric is slower but solves the key distribution problem. A hybrid approach — encrypt the file with AES, encrypt the AES key with RSA — is standard. Questions like this test whether you understand when each approach applies.
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.
Cloud Application Security — This question tests Cloud Application Security — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Delete the existing route or use a different route key — The error indicates that a route with the same key already exists in the API Gateway. API Gateway enforces unique route keys within an API; attempting to create a duplicate route key (e.g., the same HTTP method and path combination) will fail. Deleting the existing route or using a different route key resolves the conflict by ensuring each route key is unique.
What should I do if I get this CCSP 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 CCSP practice question is part of Courseiva's free ISC2 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 CCSP 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.