Skip to main content
JBCP • MODULE 10 OF 24 23 Timed Sets • 115 Verified MCQs

Module 10: Advanced SQL and Database Design — Java Mock Tests

Design normalized, high-performance relational schemas in PostgreSQL (with MySQL comparisons) — 1NF–BCNF normalization, MVCC & VACUUM storage internals, B-Tree/GIN/BRIN/Partial/Covering indexes, EXPLAIN (ANALYZE, BUFFERS), table partitioning & read replicas, Flyway zero-downtime Expand-Contract migrations, ACID isolation, FOR UPDATE SKIP LOCKED, keyset pagination, window functions, and recursive CTEs.

⚡ START MODULE 10 PRACTICE

Database Normalization (1NF, 2NF, 3NF and BCNF)

Start your baseline timed assessment for this module

Module 10 Assessment Rules & Format Every Attempt Helps You Improve • Track Your Progress, One Topic at a Time.
Question Bank 115 MCQs
Timed Sets 23 (23 Topics)
Duration 20 min / set
Pass Benchmark 70%
Negative Marking Up to -0.25 / wrong
Daily Access ∞ Unlimited Free

Integrity & Navigation: Questions can be revisited, changed, or flagged for review before final submission; answers auto-save across browser refreshes, and answer keys stay locked server-side until submitted.

Your Module 10 Progress

Completion Status & Revision Focus

Practice Today. Perform Better Tomorrow. No completed attempts recorded in Module 10 yet — start any topic below to generate your topic scorecard and unlock personalized revision suggestions.

Java Backend Development • Module 10

Topic-Wise Timed Mock Tests (23 Topics)

Instant scorecard + detailed explanations
Topic 10.1 1 Set

Database Normalization (1NF, 2NF, 3NF and BCNF)

5 Qs • 20 min • Pass 70%

Topic 10.2 1 Set

Strategic Denormalization

5 Qs • 20 min • Pass 70%

Topic 10.3 1 Set

Database Indexes (Single-Column, Composite and Unique)

5 Qs • 20 min • Pass 70%

Topic 10.4 1 Set

Query Execution Plans (EXPLAIN and EXPLAIN ANALYZE)

5 Qs • 20 min • Pass 70%

Topic 10.5 1 Set

SQL Query Optimization

5 Qs • 20 min • Pass 70%

Topic 10.6 1 Set

Database Views

5 Qs • 20 min • Pass 70%

Topic 10.7 1 Set

Materialized Views

5 Qs • 20 min • Pass 70%

Topic 10.8 1 Set

Stored Procedures

5 Qs • 20 min • Pass 70%

Topic 10.9 1 Set

User-Defined SQL Functions

5 Qs • 20 min • Pass 70%

Topic 10.10 1 Set

Database Triggers

5 Qs • 20 min • Pass 70%

Topic 10.11 1 Set

Transactions (BEGIN, COMMIT, ROLLBACK and SAVEPOINT)

5 Qs • 20 min • Pass 70%

Topic 10.12 1 Set

ACID Properties

5 Qs • 20 min • Pass 70%

Topic 10.13 1 Set

Transaction Isolation Levels

5 Qs • 20 min • Pass 70%

Topic 10.14 1 Set

Database Locking (Shared and Exclusive Locks)

5 Qs • 20 min • Pass 70%

Topic 10.15 1 Set

Database Deadlocks

5 Qs • 20 min • Pass 70%

Topic 10.16 1 Set

Efficient SQL Pagination (LIMIT/OFFSET vs Keyset Seek)

5 Qs • 20 min • Pass 70%

Topic 10.17 1 Set

Window Functions (ROW_NUMBER, RANK, DENSE_RANK, LEAD, LAG)

5 Qs • 20 min • Pass 70%

Topic 10.18 1 Set

Common Table Expressions (CTEs and Recursive CTEs)

5 Qs • 20 min • Pass 70%

Topic 10.19 1 Set

PostgreSQL Storage & MVCC Internals (Tuples, XMIN/XMAX, VACUUM & Bloat Control)

5 Qs • 20 min • Pass 70%

Topic 10.20 1 Set

Advanced PostgreSQL Indexes (GIN for JSONB/Full-Text, BRIN, Partial & Covering INCLUDE Indexes)

5 Qs • 20 min • Pass 70%

Topic 10.21 1 Set

Table Partitioning (Range & Hash) & Read-Replica Scaling Architecture

5 Qs • 20 min • Pass 70%

Topic 10.22 1 Set

Schema Migration Engineering with Flyway & Zero-Downtime Expand-Contract Pattern

5 Qs • 20 min • Pass 70%

Topic 10.23 1 Set

High-Concurrency Queue & Booking SQL (SELECT FOR UPDATE SKIP LOCKED & Advisory Locks)

5 Qs • 20 min • Pass 70%

Sample Module 10 Practice Preview

Sample Advanced SQL and Database Design MCQ Questions & Answers

Click “Reveal Answer & Explanation” to check yourself
Q1 • Database Normalization (1NF, 2NF, 3NF and BCNF) Module 10 Sample

In Database Design, what is the primary production engineering use case of 'Database Normalization (1NF, 2NF, 3NF and BCNF)'?

  • A. Eliminating update, insertion, and deletion anomalies when designing order, inventory, and HR schemas.
  • B. Bypassing compile-time type safety and disabling runtime exception propagation.
  • C. Hardcoding environment credentials directly inside static source constants.
  • D. Replacing all relational constraints with unvalidated raw string concatenation.
✓ Reveal Answer & Explanation

Correct Answer: Option A

'Database Normalization (1NF, 2NF, 3NF and BCNF)' is used in production Database Design specifically for: Eliminating update, insertion, and deletion anomalies when designing order, inventory, and HR schemas.

Q2 • Database Normalization (1NF, 2NF, 3NF and BCNF) Module 10 Sample

Which critical pitfall MUST a Java backend developer avoid when working with 'Database Normalization (1NF, 2NF, 3NF and BCNF)'?

  • A. Writing focused unit and integration tests covering boundary inputs.
  • B. Storing department_name and department_head directly inside every employees row (3NF violation!).
  • C. Keeping methods cohesive, readable, and properly documented.
  • D. Validating external inputs at service and API boundaries.
✓ Reveal Answer & Explanation

Correct Answer: Option B

A frequent real-world bug with 'Database Normalization (1NF, 2NF, 3NF and BCNF)' is: Storing department_name and department_head directly inside every employees row (3NF violation!).

Q3 • Database Normalization (1NF, 2NF, 3NF and BCNF) Module 10 Sample

Which technical scope accurately describes the core mechanics of 'Database Normalization (1NF, 2NF, 3NF and BCNF)'?

  • A. Client-side CSS layout rendering in browser DOM trees only.
  • B. Disabling JVM bytecode verification and garbage collection roots.
  • C. Atomic attributes (1NF), eliminating partial dependencies on composite keys (2NF), eliminating transitive dependencies (3NF), and Boyce-Codd Normal Form (BCNF)
  • D. Storing plain-text user passwords in public configuration files.
✓ Reveal Answer & Explanation

Correct Answer: Option C

Core technical coverage of 'Database Normalization (1NF, 2NF, 3NF and BCNF)' comprises: Atomic attributes (1NF), eliminating partial dependencies on composite keys (2NF), eliminating transitive dependencies (3NF), and Boyce-Codd Normal Form (BCNF).

Q4 • Database Normalization (1NF, 2NF, 3NF and BCNF) Module 10 Sample

When completing the hands-on verification lab for 'Database Normalization (1NF, 2NF, 3NF and BCNF)', what is the expected engineering deliverable?

  • A. Skipping edge-case checks and pushing uncompiled source files directly to main.
  • B. Swallowing runtime exceptions with empty catch blocks to hide failures.
  • C. Hardcoding machine-specific local paths without version control.
  • D. Normalize a flat 18-column college/payroll spreadsheet step-by-step into 3NF/BCNF PostgreSQL tables.
✓ Reveal Answer & Explanation

Correct Answer: Option D

Practical mastery of 'Database Normalization (1NF, 2NF, 3NF and BCNF)' is verified through: Normalize a flat 18-column college/payroll spreadsheet step-by-step into 3NF/BCNF PostgreSQL tables.

Q5 • Database Normalization (1NF, 2NF, 3NF and BCNF) Module 10 Sample

During a Java Backend technical interview on 'Database Normalization (1NF, 2NF, 3NF and BCNF)', what demonstrates job-ready production competency?

  • A. Explaining how 'Atomic attributes (1NF), eliminating partial dependencies on composite keys (2NF), eliminating transitive dependencies (3NF), and Boyce-Codd Normal Form (BCNF)' works internally, guarding against 'Storing department_name a...
  • B. Reciting only a one-line definition without knowing failure modes or complexity trade-offs.
  • C. Using raw untyped objects and ignoring thread-safety, memory, or SQL execution plans.
  • D. Skipping validation, logging, and automated tests in production code.
✓ Reveal Answer & Explanation

Correct Answer: Option A

Interviewers evaluate internal understanding (Atomic attributes (1NF), eliminating partial dependencies on composite keys (2NF), eliminating transitive dependencies (3NF), and Boyce-Codd Normal Form (BCNF)), pitfall awareness, and clean implementation.

Need structured guidance on Advanced SQL and Database Design? Review the full JBCP syllabus or practise speaking through Java concepts in an AI technical interview.

Backend Development & Distributed Systems

Continue Learning & Explore Related Resources

FAQs — Module 10: Advanced SQL and Database Design (Java) Mock Tests

1. How many MCQ Mock Tests are included in Module 10: Advanced SQL and Database Design (Java)?

Module 10 of Java Backend Development Training Course includes 23 active timed MCQ mock test sets (115 verified questions across 23 topics), with server-side scoring, instant scorecards, and detailed explanations after submission.

2. What are the attempt rules and answer-key policies for Advanced SQL and Database Design mock tests?

You can preview sample questions on this page and launch up to 2 free timed attempts per topic per day without signup (enrolled cohort learners receive unlimited attempts). During a live test, answers auto-save across refreshes and answer keys remain protected on the server until submission.

3. Does scoring high on this Java module test guarantee interview selection?

No — module mock scores measure topic-level conceptual accuracy and highlight specific concepts to revise. Pair topic mocks with JBCP Spoken AI Interviews and hands-on coding practice to build well-rounded interview readiness; hiring decisions rest independently with employers.

Learn. Practise. Prove. Get Career-Ready.

Ready to Build Your IT Career?

Explore industry-led programmes and develop practical skills through training, assessments and interview preparation.