A sales cross-tab has one row per product, with separate columns for Jan and Feb. You need to analyze each product-month observation. Which preparation best clarifies the table’s grain and intended key?
Table Joins and Data Preparation Online Quiz Questions
Use this free practice quiz with 10 questions to review Table Joins and Data Preparation, test your knowledge, and prepare for your next test or exam.
A report is expected to use a many-to-one join, with a lookup table on the right. Which check directly tests whether the lookup table has at most one row per key?
- A
Count rows per key on the left; any repeated left key proves the lookup table has duplicates.
- B
Compare the tables’ total row counts; equal counts confirm right-side key uniqueness.
- C
Group the right-side lookup table by key and count rows; any count above one flags a duplicate-key exception.
- D
Remove every repeated right-side key without checking which record is correct.
A product identifier is unique only within each store. Which join key best identifies the corresponding product record across a sales table and a product table?
- A
Use both StoreID and ProductID because ProductID is unique only within a store.
- B
Use ProductID alone because matching column names guarantee unique matches.
- C
Use StoreID and Sales because a numeric sales value can identify each product.
- D
Use row position in each table because the identifiers are not globally unique.
A merged result has the expected row count. Which additional check helps detect incorrect matches that a row-count check alone might miss?
- A
Approve the result if the merged table has more columns than either input.
- B
Check only whether the first 1,000 rows contain null keys.
- C
Approve the result whenever the merged row count equals the left table’s row count.
- D
Compare totals or other control figures before and after the merge, in addition to row-count checks.
A report must preserve every sales row from the left table and add product details when a matching product record exists. Which join type should you choose?
- A
Inner join
- B
Left outer join
- C
Left anti join
- D
Full outer join
You are reconciling two sources and need to retain records that appear in either source, including records present in only one. Which join type fits this requirement?
- A
Left outer join
- B
Inner join
- C
Full outer join
- D
Right anti join
A merge must be checked for coverage in both source tables. Which approach reveals unmatched keys on both sides and supports deciding how to handle them?
- A
Use anti joins in both directions and classify the missing keys.
- B
Use only a left outer join and assume every right-side record matched.
- C
Compare row counts and discard the table with fewer rows.
- D
Remove unmatched keys from both tables before checking them.
In a sales table, ProductID can repeat across stores and is unique only within a store. Which key should be used to match records to a product table?
- A
Use StoreID alone because each store contains many products.
- B
Use ProductID alone because the same identifier can be reused across stores.
- C
Use Month and Sales because they are attributes of a transaction.
- D
Use StoreID and ProductID together as a composite key.
Before combining two tables, what does identifying each table’s grain tell you?
- A
It is the number of columns in a table.
- B
It is the set of column names shared by two tables.
- C
It is what one row in a table represents.
- D
It is the total number of distinct values in the join key.
A report expects a many-to-one join, with the lookup table on the right. What does a count of more than one row for a lookup key indicate?
- A
Repeated keys are acceptable in the right-side lookup table if the left table has them too.
- B
A right-side key count above one is a duplicate-key exception to investigate.
- C
Any repeated right-side key should be removed without checking the records.
- D
Many-to-one means each key repeats equally often in both tables.
Related study packs and tools
1 Network Security Foundations and Threats
Learn how network security goals, threat modeling, identity and access controls, and layered defenses help protect connected systems and support recovery.
1 Networking Fundamentals
A medium-difficulty quiz on networking fundamentals, including communication roles, protocol layers, data units, and network models.
2 Protocols and Ports
A medium-difficulty quiz on interpreting network protocols, ports, and common traffic patterns.
2 Virtual Machines
A medium-difficulty quiz on virtual machine architecture, provisioning, networking, storage, and operations.
4 Mobile Connectivity
A 14-question quiz on applying mobile connectivity concepts to common settings, usage, and troubleshooting situations.
5 Cloud Service Models
A medium-difficulty quiz on applying and distinguishing IaaS, PaaS, and SaaS, including their responsibilities, trade-offs, and appropriate uses.
5 Diagnosing Mobile Device Problems
Learn to diagnose mobile-device power, battery, touchscreen, connectivity, app, and operating-system problems using safe checks and a systematic process.
5 Mobile Device Configuration
Learn how to personalize a phone or tablet, configure accessibility and notifications, install operating-system updates, and maintain backups that can support recovery.
5 Network Operations and Reliability
A medium-difficulty quiz on network operations, monitoring, configuration management, resilience, and recovery planning.
6 Security Operations and Incident Response
Learn how security teams monitor activity, manage vulnerabilities, respond to incidents, preserve digital evidence, and restore services safely.
7 Integrated Troubleshooting Practice
A practical workflow for isolating mixed hardware, display, storage, mobile-device, and network problems, protecting data, and verifying repairs.
8 Comprehensive Security+ Practice and Review
A scenario-focused guide to Security+ SY0-701 concepts, emphasizing evidence-based incident response, access control, cryptography, vulnerability handling, recovery objectives, and risk governance.