Flashcards

Quick study sessions to strengthen memory and retain key concepts.

Flashcard Study

Java: Defending Tradeoffs

Front

How do Circuit Breakers prevent network failures?

By stopping requests to prevent failure propagation. Circuit Breakers monitor service calls and stop them when failures are…

View Card →
Flashcard Study

Java: Defending Tradeoffs

Front

How would you explain the STAR framework in interviews in an interview?

STAR stands for Situation, Task, Action, Result. The STAR framework helps candidates structure responses by outlining a specific…

View Card →
Flashcard Study

Java: Defending Tradeoffs

Front

When should you choose NoSQL over SQL in system design?

When handling large-scale, flexible, and rapidly-evolving data. NoSQL databases are ideal for scenarios requiring horizontal scaling and flexible…

View Card →
Flashcard Study

Java: Defending Tradeoffs

Front

Explain horizontal auto-scaling?

Automatically adjusts the number of active servers based on demand. Horizontal auto-scaling adds or removes instances of a…

View Card →
Flashcard Study

Java: Defending Tradeoffs

Front

How can Single Points of Failure (SPOFs) be mitigated?

Use redundancy and failover mechanisms. Frame the concept in practical terms so you can explain it during interview…

View Card →
Flashcard Study

Java: Defending Tradeoffs

Front

What does ACID stand for in SQL databases?

ACID stands for Atomicity, Consistency, Isolation, Durability. ACID properties ensure reliable processing of database transactions. For instance, Atomicity…

View Card →
Flashcard Study

Java: Defending Tradeoffs

Front

If inventory accuracy is critical, what design instinct should you voice?

Protect inventory reservation with stronger consistency even if other workflows stay eventually consistent. A senior design answer adapts…

View Card →
Flashcard Study

Java: Defending Tradeoffs

Front

What makes a tradeoff answer sound senior?

It ties technical choices to business impact, such as protecting checkout correctness more than cart durability. Senior answers…

View Card →
Flashcard Study

Java: Defending Tradeoffs

Front

Why should a senior design answer start with assumptions?

Because scale, consistency, and failure assumptions determine which design is actually correct. A design answer without assumptions is…

View Card →
Flashcard Study

Java: Transactions

Front

What happens if a SQLException occurs before commit() in JDBC?

The transaction can be rolled back to maintain consistency. If a SQLException occurs after disabling auto-commit but before…

View Card →