Courseiva
mediumMultiple ChoiceObjective-mapped

FC0-U71 Practice Question: Store customer orders with items and quantities

A company needs to store customer orders with items and quantities. The database currently has a table 'Customers' and a table 'Products'. Which of the following is the best way to represent the many-to-many relationship between orders and products?

⚠ Common exam trap

Candidates often think storing data in a single table or using a JSON column is simpler and acceptable, but the FC0-U61 exam tests the fundamental principle of normalization and the proper use of junction tables to maintain data integrity and avoid redundancy.

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

Create an Order_Items table with foreign keys to Orders and Products, plus a Quantity column.

It creates a junction table (Order_Items) that resolves the many-to-many relationship between Orders and Products. The Order_Items table includes foreign keys referencing both the Orders and Products tables, plus a Quantity column to store the number of each product in an order, which is the standard normalized relational database design.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Create a single table containing all customer, order, and product information.

    Why it's wrong here

    This leads to massive redundancy and anomalies.

  • Create an Order_Items table with foreign keys to Orders and Products, plus a Quantity column.

    Why this is correct

    This correctly implements a junction table for a many-to-many relationship.

  • Store a JSON list of product IDs in an OrderProducts column in the Orders table.

    Why it's wrong here

    While possible, this is not a normalized relational design and complicates queries.

  • Add columns Product1, Product2, Product3 to the Orders table.

    Why it's wrong here

    This violates 1NF and limits the number of products per order.

Visual reference

Client Recursive Resolver Root DNS (13 root servers) TLD DNS (.com, .org, …) Authoritative example.com query IP addr answer

About these practice questions

One of 988 original FC0-U71 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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 FC0-U71 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 FC0-U71 exam.