Master key catalog and inventory vocabulary with terms like SKU, product variations, stock levels, warehouse management, order fulfillment, and shipping labels for intermediate developers.
0 / 14 completed
1 / 14
Reviewer: ‘I’m seeing a high number of 'pending' items in the catalog. The API response consistently shows a 429 Too Many Requests error when attempting to update stock levels for Product ID 789. Can you investigate and ensure we aren't exceeding the inventory service rate limits?’,
You: Which of the following responses is most appropriate in this Slack conversation?
A) ‘We’re experiencing high traffic, it’s normal.’
B) ‘I’ll check our monitoring dashboards and see what’s going on. Let me know if anything spikes.’
C) ‘The API is likely down; we need to contact the inventory service team immediately.’
D) ‘I’ve already increased the rate limit by 50% - this should resolve the issue.’
This question simulates a realistic code review scenario. Option A is dismissive and doesn't address the root cause – exceeding rate limits. Option C jumps to an escalation without investigation. Option D suggests immediate action without understanding the situation; it’s crucial to first investigate before making changes. Option B demonstrates proactive problem-solving, acknowledging the issue and proposing a method of further investigation, aligning with best practices for debugging and service reliability.
2 / 14
Reviewer: ‘I’m seeing a high number of SKU_12345 items in the catalog. We’re consistently selling out of this product over the last two weeks. Can you investigate why we have so many units listed as available?
PR Description: ‘Implemented changes to update inventory levels based on recent sales data.’
This question tests understanding of how catalog and inventory management relate to code changes. The reviewer’s comment indicates a discrepancy – the PR *updates* inventory levels, but doesn't explain *why* those levels are inaccurate. A common misconception is that simply updating inventory fixes the problem; it only addresses part of the issue, which is the synchronization between sales data and catalog records. The correct answer recognizes this gap and suggests further investigation into demand forecasting or real-time sync.
3 / 14
Reviewer: ‘I’m seeing a high number of ‘out-of-stock’ events for the WidgetX. Can you explain how this is being handled in the catalog service? It seems like we're potentially losing sales.’
Which response best addresses the reviewer’s concern and demonstrates an understanding of inventory management?
This question assesses understanding of how the catalog service *should* report on inventory status. The incorrect options focus on either vague explanations, misleading technical details (like an error code without context), or a completely passive approach to managing stock levels. Option 2 correctly describes a situation where the API is returning accurate information – even if it’s triggering an investigation – and highlights the importance of real-time updates from the catalog service which is what's being inquired about. A developer needs to be able to articulate this clearly when discussing issues.
4 / 14
Reviewer: ‘The inventory service returns a 404 for SKU 'widget_v3'. Seems like the catalog item isn’t properly registered. Can you investigate?
You: (responding in Slack)
Which of the following actions should you take next to address this issue?
The key here is understanding the relationship between the catalog and inventory systems. A 404 likely means the inventory service can’t find the item because its metadata isn’t correctly linked – often through a unique identifier like `catalogId`. Retrying (option A) doesn't address the underlying problem, and escalating immediately (option C) is premature without investigation. Verifying the data engineering team added the SKU (option D) is also incorrect; you need to check *your* code’s configuration first.
5 / 14
Reviewer: ‘The `product_id` field in the API response is consistently missing for items in the 'Electronics' category. This could lead to issues during order fulfillment and needs immediate investigation.’
Which of the following responses best addresses this issue?
The reviewer's comment is not simply stating a lack of information; it identifies a potentially serious issue impacting order fulfillment. Option 'C' correctly acknowledges this as an ‘adequate’ response because it indicates the reviewer has pinpointed a problem needing action. Options A and B misinterpret the comment – failing to account for the potential impact, or simply stating the obvious without suggesting a solution. A good developer response confirms the issue and outlines next steps.
6 / 14
Reviewer: 'The API is returning a 500 Internal Server Error when attempting to batch update the stock levels for multiple products. We've seen this particularly with Product IDs 123, 456, and 789. The logs indicate a database connection timeout. Can you investigate?'
Which of the following responses is most appropriate in this situation?
This scenario highlights a common problem with API updates—often database connection issues are transient. Option B demonstrates appropriate escalation and monitoring, acknowledging the severity without immediate drastic action. Options A is dismissive and doesn't address the root cause; C suggests a workaround that might not be effective long-term, and D calls for an expensive solution without proper investigation. The goal here is to get the database team involved.
7 / 14
Reviewer: 'The API is returning a 500 Internal Server Error when attempting to batch update the stock levels for multiple products. We've seen this particularly with Product IDs 123, 456, and 789. The logs indicate a database connection timeout. Can you investigate?'
Which of the following responses is most appropriate in this situation?
This scenario highlights a common problem with API updates—often database connection issues are transient. Option B demonstrates appropriate escalation and monitoring, acknowledging the severity without immediate drastic action. Options A is dismissive and doesn't address the root cause; C suggests a workaround that might not be effective long-term, and D calls for an expensive solution without proper investigation. The goal here is to get the database team involved.
8 / 14
Reviewer: 'The API is returning a 500 Internal Server Error when attempting to batch update the stock levels for multiple products. We've seen this particularly with Product IDs 123, 456, and 789. The logs indicate a database connection timeout. Can you investigate?'
Which of the following responses is most appropriate in this situation?
This scenario highlights a common problem with API updates—often database connection issues are transient. Option B demonstrates appropriate escalation and monitoring, acknowledging the severity without immediate drastic action. Options A is dismissive and doesn't address the root cause; C suggests a workaround that might not be effective long-term, and D calls for an expensive solution without proper investigation. The goal here is to get the database team involved.
9 / 14
Reviewer: 'The API is returning a 500 Internal Server Error when attempting to batch update the stock levels for multiple products. We've seen this particularly with Product IDs 123, 456, and 789. The logs indicate a database connection timeout. Can you investigate?'
Which of the following responses is most appropriate in this situation?
This scenario highlights a common problem with API updates—often database connection issues are transient. Option B demonstrates appropriate escalation and monitoring, acknowledging the severity without immediate drastic action. Options A is dismissive and doesn't address the root cause; C suggests a workaround that might not be effective long-term, and D calls for an expensive solution without proper investigation. The goal here is to get the database team involved.
10 / 14
Reviewer: 'I'm seeing a high number of 'pending' items in the catalog. The API response consistently shows a 429 Too Many Requests error when attempting to update stock levels for Product ID 789. Can you investigate and determine if this is related to our batch processing logic?', Which metric should you primarily focus on to diagnose the root cause?
Which of the following actions should you take first?
The 429 error indicates a rate limiting issue. Examining the logs is crucial to pinpointing *why* the API is being overloaded – it could be related to the batch size, the processing logic itself, or even concurrent requests. Reducing batch size alone might not solve the underlying problem if the processing logic is inefficient. Contacting DBAs would be premature without understanding the immediate cause of the errors.
11 / 14
During a standup meeting, Sarah mentions: 'We're seeing a significant increase in SKU_12345 inventory levels reflected in our catalog. We've been consistently selling out of this product over the last two weeks.' Considering this feedback, what is the *most* appropriate initial action to take regarding this inventory discrepancy?
Which of the following should you immediately investigate?
Sarah's statement highlights a clear discrepancy between available inventory and sales. The most direct cause is likely unfulfilled orders or reservations. While forecasting and fulfillment processes are important considerations, addressing the immediate imbalance of available stock is the priority based on her feedback. Decreasing stock levels would be a reactive measure without understanding the root cause.
12 / 14
You receive the following API response:
{
"status": "error",
"code": 500,
"message": "Internal Server Error: Database connection timeout"
}
This error occurs when attempting to update the stock level of Product ID 912. What is the *primary* focus of your investigation?
Which of the following options best describes your next step?
A 500 Internal Server Error with a 'Database connection timeout' message suggests a problem with the communication between the catalog service and the database. The retry logic and connection configuration are likely the root cause – problems here frequently lead to timeouts. While infrastructure issues might be involved, focusing on the immediate code interaction is more efficient.
13 / 14
A developer, Mark, submits a PR with the following description:
'Implemented stock level updates for Product ID 654. Added logging to track changes.'
You are reviewing this PR. Which of the following questions should you *immediately* ask Mark to ensure the update is correctly implemented and doesn't introduce any issues?
Which question is most relevant at this stage?
While understanding the SQL query and conflict resolution is important later, Mark's immediate focus should be on ensuring a safe initial deployment. Testing with a small batch of products before rolling out changes to production minimizes risk. Asking about downstream impact is also crucial for identifying potential consequences.
14 / 14
The API returns the following JSON response:
{
"sku": "widget_v3",
"inventory": 0,
"status": "out_of_stock"
}
A user reports that this item is incorrectly marked as 'out of stock'. What should you investigate *first*?
Which action would provide the most immediate insight?
The core issue is a misreported 'out of stock' status. Changes to catalog item attributes or associated rules could have inadvertently triggered this error. Examining the API endpoint and the database schema would be secondary investigations; understanding *why* the status was incorrectly set is paramount.
What does the "Catalog Inventory Vocabulary" exercise cover?
Master key catalog and inventory vocabulary with terms like SKU, product variations, stock levels, warehouse management, order fulfillment, and shipping labels for intermediate developers.
Is this exercise free to use?
Yes. Every exercise on CoderSlingo, including this one, is free to use with no account, sign-up, or paywall.
How many questions are in "Catalog Inventory Vocabulary"?
This exercise has 14 questions. Each one gives instant feedback with an explanation, so you can see exactly why an answer is right or wrong.
Do I need to create an account to save my progress?
No account is required. The progress bar and score are tracked in your browser for the current session -- the exercise is designed to be a quick, repeatable drill rather than something you resume later.
What happens if I get an answer wrong?
You'll see the correct answer highlighted immediately, along with a short explanation of why it's correct. Wrong answers aren't penalized beyond your score, and you can keep going through every question.
How is this exercise different from reading an article?
Articles explain vocabulary and concepts through prose, while exercises like this one are interactive drills -- multiple-choice questions -- that test and reinforce your recall of specific terms and phrasing.
Can I retry this exercise?
Yes -- use the "Try again" button on the results screen to reset your score and go through all the questions again from the start.
Where can I find more E-Commerce Developer Vocabulary exercises?
Browse the full E-Commerce Developer Vocabulary hub for related drills, or check the site-wide exercises index for other IT English topics.
Is this exercise suitable for beginners?
This exercise assumes basic familiarity with IT terminology. If a term feels unfamiliar, check the site Glossary for a plain-English definition before attempting the questions.
How often is new content like this published?
New exercises are added regularly across all categories, alongside new vocabulary sets and articles. Check back on the exercises hub to see what's new.