E-Commerce Development Introduction to E-commerce Development 3 — Questions and Answers
Question 1: What is the main advantage of using a headless commerce architecture?
- It eliminates the need for a backend entirely
- It decouples the frontend presentation layer from the backend commerce engine for greater flexibility (Correct answer)
- It automatically generates product images using AI
- It removes the requirement for payment processing integration
Correct answer: It decouples the frontend presentation layer from the backend commerce engine for greater flexibility
Headless commerce lets developers use any frontend framework while the backend handles catalog, cart, and orders via APIs.
Question 2: Which of the following is a common strategy to reduce cart abandonment rates?
- Adding more steps to the checkout process
- Sending automated cart recovery emails to users who left without purchasing (Correct answer)
- Removing the ability to save items for later
- Hiding shipping costs until after account creation
Correct answer: Sending automated cart recovery emails to users who left without purchasing
Automated cart abandonment emails remind users of items left behind and often include an incentive to complete the purchase.
Question 3: In e-commerce, what does SKU stand for?
- Stock Keeping Unit (Correct answer)
- Standard Kiosk Utility
- Sales Key Upcharge
- Shipment Knowledge Update
Correct answer: Stock Keeping Unit
A Stock Keeping Unit (SKU) is a unique alphanumeric identifier assigned to each distinct product variant for inventory tracking.
Question 4: Which HTTP status code should an e-commerce API return when a requested product is not found?
- 200 OK
- 301 Moved Permanently
- 404 Not Found (Correct answer)
- 500 Internal Server Error
Correct answer: 404 Not Found
A 404 status correctly signals to the client and search engines that the specific resource does not exist.
Question 5: What is the purpose of implementing pagination on a product listing page?
- To prevent users from viewing competitor products
- To load a manageable number of products at a time, improving performance and UX (Correct answer)
- To index every product on a single URL for SEO
- To restrict access to premium products
Correct answer: To load a manageable number of products at a time, improving performance and UX
Pagination breaks large product sets into smaller pages, reducing initial load time and server resource usage.
Question 6: Which of the following is a PCI DSS requirement relevant to e-commerce developers?
- Storing CVV codes in the database after a transaction
- Never storing sensitive card data unless absolutely necessary and only in encrypted form (Correct answer)
- Allowing HTTP connections for payment pages to improve speed
- Using the same password for all admin accounts for convenience
Correct answer: Never storing sensitive card data unless absolutely necessary and only in encrypted form
PCI DSS mandates that cardholder data must be protected and sensitive authentication data like CVVs must never be stored post-authorization.
Question 7: What role does an order management system (OMS) play in e-commerce?
- It designs the visual layout of product pages
- It tracks, manages, and fulfills customer orders from placement through delivery (Correct answer)
- It generates keyword-optimized product descriptions
- It handles only refund processing
Correct answer: It tracks, manages, and fulfills customer orders from placement through delivery
An OMS centralizes order data, coordinates inventory, fulfillment, shipping, and returns across all sales channels.
What is the main advantage of using a headless commerce architecture?