Interview preparation
UNDERSTAND. EXPLAIN. REPEAT.

Question library

Explained questions for the decisions developers make.

Filters
117 questions matching “Coding”

What does an ORM do underneath?

SQL & PostgreSQL·PostgreSQL & ORMs

An ORM translates object-oriented data operations into database commands and maps results back into application objects. It reduces repetitive persistence code, but the database still executes real SQL with real locks, indexes and query costs. Understanding the generated query is essential when debugging correctness or performance.

Intermediate2 min read

Monolith vs modular monolith vs microservices?

System design·Architecture & API design

A monolith is deployed as one application, a modular monolith keeps clear internal feature boundaries within that deployment, and microservices are independently deployable services. These choices affect how teams change code, scale workloads and handle failure. Microservices reduce some coupling but introduce network calls, distributed data and operational coordination.

Intermediate2 min read

XSS vs CSRF vs CORS?

Performance & security·Security

XSS, CSRF and CORS concern browser trust but refer to different mechanisms. XSS runs attacker-controlled script in a trusted page, CSRF triggers requests with automatically attached credentials, and CORS controls whether browser code may read cross-origin responses. A defense for one does not automatically solve the others.

Intermediate2 min read

How do DNS, load balancers, IAM and secrets fit together?

Testing & delivery·Cloud

DNS resolves names to records, load balancers select healthy destinations, IAM controls identities and permissions, and secret managers store sensitive credentials. These components connect an application to users and dependencies without putting all configuration into code. A failure at any layer can look like “the API is down” from the outside.

Intermediate2 min read

A cloud API is unreachable. Where do I start?

Testing & delivery·Troubleshooting

An unreachable cloud API may fail before the request reaches application code. DNS, TLS, routing, firewall rules, load-balancer health and listening ports are separate layers to verify. Checking them in order avoids opening broad access or restarting healthy services without evidence.

Intermediate2 min read

What performance issue did you face?

Project deep dives·Project discussion

A performance story starts with a measured symptom and the workload that exposed it. It should explain how you separated potential causes and what work the final change reduced. A faster-looking code snippet is not a complete result without checking the same behavior and load.

Intermediate2 min read

How do I explain stored procedure optimization?

Project deep dives·Technical deep dives

A stored procedure is database-side code that groups SQL operations and control flow into a callable unit. It can reduce application round trips and centralize data logic, but a procedure can still contain slow queries or hold locks too long. Optimization begins by finding the expensive statements and understanding their plans and transaction behavior.

Advanced2 min read

How do I spot common React and async bugs?

AI code review·Review reasoning

React and async bugs often come from incorrect assumptions about identity, snapshots and completion order. A render's values can be captured by a callback, and asynchronous results may arrive after the UI has moved on. Review the lifecycle and timeline rather than checking syntax alone.

Intermediate2 min read

How do you remove duplicate IDs from an array?

Mock interview questions·Coding

Deduplication removes repeated values according to a defined equality rule. JavaScript Set handles primitive IDs conveniently and keeps the order of first insertion. Objects are compared by reference, so deduplicating records by an id field requires an explicit key-based approach.

Intermediate2 min read

AI, machine learning, deep learning, and generative AI

AI Engineering·AI and LLM fundamentals

Artificial intelligence, or AI, is the broad field of making software perform tasks such as recognizing speech, finding patterns, or understanding language. Machine learning, or ML, learns patterns from examples instead of requiring a rule for every case.…

Foundation2 min read

Function calling and tool calling

AI Engineering·AI and LLM fundamentals

Function calling lets a model propose a named function and structured arguments. Tool calling is the broader pattern that includes functions and capabilities such as search or code execution. A proposed tool call is an untrusted request that your application…

Foundation2 min read

Virtual environments, pip, and project structure

AI Engineering·Python for AI engineers

A virtual environment isolates a project's Python packages. pip installs packages into the selected environment. Project structure separates API routes, business services, adapters, and tests so the AI code does not become one notebook-sized script.

Foundation2 min read

Basic NumPy, Pandas, and Jupyter

AI Engineering·Python for AI engineers

NumPy provides efficient numerical arrays and vector operations. Pandas provides table-like data structures for cleaning and analyzing datasets. Jupyter provides interactive notebooks that mix code, results, and explanations.

Foundation2 min read

Interrupts and human review

AI Engineering·LangGraph, in depth

An interrupt pauses graph execution and exposes a payload for external input. Resumption supplies the requested value. The node containing the interrupt can run again from its beginning on resume, so code before the pause may repeat.

Intermediate2 min read

Choosing orchestration tools

AI Engineering·Workflow orchestration

Workflow engines and job systems provide different guarantees for dispatch, persistence, recovery, waiting, and coordination. Temporal is a durable workflow platform; BullMQ is a Redis-backed job library; Inngest and Trigger.dev offer developer-oriented…

Intermediate3 min read

MCP architecture: host, client, and server

AI Engineering·Model Context Protocol (MCP)

MCP is a protocol for connecting AI applications to external tools and context. The host is the application using the model; a client is its protocol connection to a server; a server exposes supported capabilities. The model normally proposes operations,…

Intermediate2 min read

Azure AI Search, Functions, Container Apps, Key Vault, and Entra ID

AI Engineering·Cloud AI

Azure AI Search provides searchable indexes and retrieval capabilities. Functions runs event-driven code; Container Apps runs containerized services/jobs. Key Vault manages secrets/keys, while Entra ID provides identity capabilities and access integration.

Intermediate2 min read

Embeddings

AI Engineering·Interview preparation

Beginner — Explain an embedding.

Intermediate2 min read

Difficulty is an editorial estimate. Completion means you chose to mark a question as understood.