Skip to main content
NBCP • MODULE 20 OF 24 29 Timed Sets • 145 Verified MCQs

Module 20: Microservices and Distributed Backend Architecture — Node.js Mock Tests

Design and build resilient distributed Node.js microservice systems — Modular Monolith vs Microservices, DDD bounded contexts, API Gateway, REST & gRPC communication, Database-per-Service, Transactional Outbox & Saga orchestration/choreography, idempotency, retries/jitter, Circuit Breakers, correlation tracing, service-to-service auth, and Month 3 Project 5.

⚡ START MODULE 20 PRACTICE

Monolithic vs Microservices Architecture

Start your baseline timed assessment for this module

Module 20 Assessment Rules & Format Every Attempt Helps You Improve • Track Your Progress, One Topic at a Time.
Question Bank 145 MCQs
Timed Sets 29 (29 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 20 Progress

Completion Status & Revision Focus

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

Node.js Backend Development • Module 20

Topic-Wise Timed Mock Tests (29 Topics)

Instant scorecard + detailed explanations
Topic 20.1 1 Set

Monolithic vs Microservices Architecture

5 Qs • 20 min • Pass 70%

Topic 20.2 1 Set

Modular Monolith Architecture

5 Qs • 20 min • Pass 70%

Topic 20.3 1 Set

Microservice Principles (Single Responsibility & Loose Coupling)

5 Qs • 20 min • Pass 70%

Topic 20.4 1 Set

Defining Clean Service Boundaries

5 Qs • 20 min • Pass 70%

Topic 20.5 1 Set

Domain-Driven Design (DDD) Bounded Contexts Fundamentals

5 Qs • 20 min • Pass 70%

Topic 20.6 1 Set

Service-to-Service Communication Overview

5 Qs • 20 min • Pass 70%

Topic 20.7 1 Set

REST-Based Inter-Service Communication

5 Qs • 20 min • Pass 70%

Topic 20.8 1 Set

gRPC and Protocol Buffers Fundamentals

5 Qs • 20 min • Pass 70%

Topic 20.9 1 Set

API Gateway Architecture

5 Qs • 20 min • Pass 70%

Topic 20.10 1 Set

Service Discovery

5 Qs • 20 min • Pass 70%

Topic 20.11 1 Set

Centralized and Validated Service Configuration

5 Qs • 20 min • Pass 70%

Topic 20.12 1 Set

Database-per-Service Principle

5 Qs • 20 min • Pass 70%

Topic 20.13 1 Set

Event-Driven Microservice Architecture

5 Qs • 20 min • Pass 70%

Topic 20.14 1 Set

Message Brokers in Microservices (RabbitMQ vs Kafka)

5 Qs • 20 min • Pass 70%

Topic 20.15 1 Set

Synchronous vs Asynchronous Communication Matrix

5 Qs • 20 min • Pass 70%

Topic 20.16 1 Set

Why Distributed 2PC Transactions Fail & the Dual-Write Trap

5 Qs • 20 min • Pass 70%

Topic 20.17 1 Set

Saga Pattern Fundamentals (Choreography, Orchestration & Compensations)

5 Qs • 20 min • Pass 70%

Topic 20.18 1 Set

Eventual Consistency in Practice

5 Qs • 20 min • Pass 70%

Topic 20.19 1 Set

End-to-End Idempotency in Distributed Systems

5 Qs • 20 min • Pass 70%

Topic 20.20 1 Set

Retries and Exponential Backoff with Full Jitter

5 Qs • 20 min • Pass 70%

Topic 20.21 1 Set

Circuit Breakers (CLOSED -> OPEN -> HALF_OPEN)

5 Qs • 20 min • Pass 70%

Topic 20.22 1 Set

Timeouts and Bulkhead Isolation

5 Qs • 20 min • Pass 70%

Topic 20.23 1 Set

Distributed Tracing Fundamentals (OpenTelemetry)

5 Qs • 20 min • Pass 70%

Topic 20.24 1 Set

Correlation IDs Across Async Flows

5 Qs • 20 min • Pass 70%

Topic 20.25 1 Set

Centralized Structured Logging

5 Qs • 20 min • Pass 70%

Topic 20.26 1 Set

Microservice Security (Zero-Trust Internal Network)

5 Qs • 20 min • Pass 70%

Topic 20.27 1 Set

Service-to-Service Authentication (Asymmetric JWT / HMAC & Project 5)

5 Qs • 20 min • Pass 70%

Topic 20.28 1 Set

Distributed Systems Fundamentals: CAP, PACELC, Consistent Hashing & Split-Brain

5 Qs • 20 min • Pass 70%

Topic 20.29 1 Set

Distributed ID Generation: UUIDv7, ULID & 64-Bit Snowflake IDs in Node.js

5 Qs • 20 min • Pass 70%

Sample Module 20 Practice Preview

Sample Microservices and Distributed Backend Architecture MCQ Questions & Answers

Click “Reveal Answer & Explanation” to check yourself
Q1 • Monolithic vs Microservices Architecture Module 20 Sample

In production Microservices, what is the primary backend engineering purpose of 'Monolithic vs Microservices Architecture'?

  • A. Articulating mature architectural trade-offs instead of claiming "microservices are always better".
  • B. Blocking the single Node.js V8 event-loop thread with synchronous fs/crypto calls on every request.
  • C. Concatenating raw unvalidated req.body fields directly into SQL or MongoDB filter queries.
  • D. Exposing internal stack traces and database connection strings in 500 HTTP responses.
✓ Reveal Answer & Explanation

Correct Answer: Option A

'Monolithic vs Microservices Architecture' is used in production Microservices specifically for: Articulating mature architectural trade-offs instead of claiming "microservices are always better".

Q2 • Monolithic vs Microservices Architecture Module 20 Sample

Which critical production defect MUST a Node.js Backend Engineer avoid when implementing 'Monolithic vs Microservices Architecture'?

  • A. Validating request inputs with strict Zod schemas and enforcing BOLA ownership checks.
  • B. Building a "Distributed Monolith" — 7 services sharing 1 database that all have to be deployed together and all go down together!
  • C. Writing deterministic Vitest/Jest + Supertest integration tests with correlation IDs.
  • D. Monitoring p95/p99 latency, event-loop lag, and database query execution plans.
✓ Reveal Answer & Explanation

Correct Answer: Option B

A high-impact real-world backend failure mode with 'Monolithic vs Microservices Architecture' is: Building a "Distributed Monolith" — 7 services sharing 1 database that all have to be deployed together and all go down together!

Q3 • Monolithic vs Microservices Architecture Module 20 Sample

Which technical scope accurately describes the mechanics of 'Monolithic vs Microservices Architecture'?

  • A. Storing plaintext user passwords and unhashed refresh tokens in database columns.
  • B. Disabling timeouts, retries, rate limiting, and database transaction locks in production.
  • C. Comparing Deployment simplicity, ACID single-DB joins, and 0ms in-process calls (Monolith) vs Independent team/service scaling, fault isolation, and polyglot databases (Microservices) — and operational complexity tax!
  • D. Using floating-point IEEE-754 numbers for financial wallet ledger balances.
✓ Reveal Answer & Explanation

Correct Answer: Option C

Core technical coverage of 'Monolithic vs Microservices Architecture' comprises: Comparing Deployment simplicity, ACID single-DB joins, and 0ms in-process calls (Monolith) vs Independent team/service scaling, fault isolation, and polyglot databases (Microservices) — and operational complexity tax!.

Q4 • Monolithic vs Microservices Architecture Module 20 Sample

What is the expected hands-on deliverable when completing the practical lab for 'Monolithic vs Microservices Architecture'?

  • A. Committing .env secrets and node_modules directly to the main branch without tests.
  • B. Using unsafe TypeScript any casts everywhere to silence compiler errors.
  • C. Testing only a single manual happy-path request while ignoring concurrency and error cases.
  • D. Identify 4 symptoms of a Distributed Monolith and how to eliminate them.
✓ Reveal Answer & Explanation

Correct Answer: Option D

Practical mastery of 'Monolithic vs Microservices Architecture' is verified through: Identify 4 symptoms of a Distributed Monolith and how to eliminate them.

Q5 • Monolithic vs Microservices Architecture Module 20 Sample

In a Node.js Backend Developer technical interview on 'Monolithic vs Microservices Architecture', what demonstrates senior production readiness?

  • A. Explaining 'Comparing Deployment simplicity, ACID single-DB joins, and 0ms in-process calls (Monolith) vs Independent team/service scaling, fault isolation, and polyglot databases (Microservices) — and operational complexity tax!' under t...
  • B. Assuming Express automatically catches unhandled errors in legacy callback timers without middleware.
  • C. Running database ports 5432, 27017, and 6379 open to 0.0.0.0 on the public internet.
  • D. Trusting client-supplied userId or price fields in req.body without server-side verification.
✓ Reveal Answer & Explanation

Correct Answer: Option A

Interviewers evaluate runtime/database depth (Comparing Deployment simplicity, ACID single-DB joins, and 0ms in-process calls (Monolith) vs Independent team/service scaling, fault isolation, and polyglot databases (Microservices) — and operational complexity tax!), failure-mode prevention, and architecture trade-offs.

Need structured guidance on Microservices and Distributed Backend Architecture? Review the full NBCP syllabus or practise speaking through Node.js concepts in an AI technical interview.

Backend Development & Distributed Systems

Continue Learning & Explore Related Resources

FAQs — Module 20: Microservices and Distributed Backend Architecture (Node.js) Mock Tests

1. How many MCQ Mock Tests are included in Module 20: Microservices and Distributed Backend Architecture (Node.js)?

Module 20 of Node.js Backend Development Training Course includes 29 active timed MCQ mock test sets (145 verified questions across 29 topics), with server-side scoring, instant scorecards, and detailed explanations after submission.

2. What are the attempt rules and answer-key policies for Microservices and Distributed Backend Architecture 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 Node.js module test guarantee interview selection?

No — module mock scores measure topic-level conceptual accuracy and highlight specific concepts to revise. Pair topic mocks with NBCP 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.