Practica 60 preguntas originales de entrevista backend sobre APIs, HTTP, bases de datos, caché, colas, seguridad, escalado y diseño de sistemas.
Nivel: Backend InterviewDificultad: intermediate60 preguntas60 min
Elige un modo de práctica, responde cada pregunta y revisa la explicación. Los errores se guardan localmente.
Racha de días: 0 díasGuardado solo en este dispositivo
Progreso0 / 60
Tiempo restante: 00:00
Aún no hay errores guardados.
Ninguna pregunta coincide con tus filtros.
Pregunta 1
What is REST?
REST is an architectural style using resources, HTTP methods, and stateless communication. It is not a query language, CSS framework, or JS library.
Pregunta 2
What does HTTP status 200 mean?
HTTP 200 indicates a successful request. 404 means not found, 500 is a server error, and 3xx codes are redirects.
Pregunta 3
What does HTTP status 404 mean?
404 means the requested resource could not be found. 200 is success, 401 is unauthorized, and 201 is created.
Pregunta 4
What does HTTP status 500 mean?
500 indicates an internal server error on the server side. 200 is success, 400 is a bad request, and 404 is not found.
Pregunta 5
What is a GET request used for?
GET retrieves data and should not change server state. POST creates, PUT updates, and DELETE removes resources.
Pregunta 6
What is a POST request used for?
POST is used to create resources or submit data. GET reads, PUT updates, and DELETE removes resources.
Pregunta 7
What is idempotency?
An idempotent operation can be repeated safely with the same effect. GET, PUT, and DELETE are typically idempotent, while POST is not guaranteed.
Pregunta 8
What is an API endpoint?
An endpoint is a URL such as /users that identifies an operation on a resource. It is not a table, log, or class.
Pregunta 9
What is JSON?
JSON is a text format for representing structured data, commonly used in APIs. It is not a database, server, or preprocessor.
Pregunta 10
What is API versioning?
Versioning lets APIs evolve without breaking existing clients, often through URL paths or headers. It is not caching, encryption, or log rotation.
Pregunta 11
What is rate limiting?
Rate limiting controls request frequency per client to protect services. It is not query tuning, response sizing, or memory capping.
Pregunta 12
What is a webhook?
A webhook is an HTTP callback sent by a server when an event occurs. It is not a plugin, animation, or database trigger.
Pregunta 13
What is a database index?
An index organizes column values to speed up lookups and filtering. It is not a backup, foreign key, or transaction log, and it can slow writes.
Pregunta 14
What is normalization?
Normalization structures tables to reduce duplication and dependency problems. It is not encryption, sharding, or compression.
Pregunta 15
What is a foreign key?
A foreign key links rows to a primary key in another table, enforcing relationships. A primary key identifies rows in the same table.
Pregunta 16
What is a transaction?
A transaction groups operations with atomicity so they commit or roll back together. It is not a single query, backup, or index.
Pregunta 17
What does ACID stand for?
ACID guarantees atomicity, consistency, isolation, and durability for database transactions. The other sets are not the standard ACID definition.
Pregunta 18
What is a NoSQL database?
NoSQL databases use non-relational models such as documents, key-values, or graphs, often for flexible schemas and scale. They still have security and can scale.
Pregunta 19
Which database is document-based?
MongoDB stores documents in BSON. Redis is a key-value store, while PostgreSQL and MySQL are relational databases.
Pregunta 20
Which database is a key-value store?
Redis is an in-memory key-value store often used for caching. MongoDB is document-based, PostgreSQL is relational, and Cassandra is a wide-column store.
Pregunta 21
What is sharding?
Sharding partitions data horizontally across servers to distribute load. It is not encryption, backup, or normalization.
Pregunta 22
What is replication?
Replication copies data to replica nodes for read scaling and failover. It is not deduplication, indexing, or compression.
Pregunta 23
What is a connection pool?
A connection pool reuses database connections to reduce setup overhead. It is not a query cache, backup, or firewall.
Pregunta 24
What is an ORM?
An ORM maps application objects to database tables and rows. It is not object storage, a queue, or a load balancer.
Pregunta 25
What is a database migration?
Migrations manage schema changes with versioned scripts. They are not region copies, log deletion, or restarts.
Pregunta 26
What is a query plan?
A query plan shows how the database will execute a query, including index usage and joins. It is not a backup, style guide, or API design.
Pregunta 27
What is caching?
Caching stores copies of data closer to the caller to reduce latency and load. It is not encryption, backup, or normalization.
Pregunta 28
What is cache invalidation?
Cache invalidation keeps cached data consistent by removing or refreshing entries when the source changes. It is not deletion of servers, encryption, or scaling.
Pregunta 29
What is a cache-aside pattern?
Cache-aside reads from cache first; on a miss, it loads from the database and populates the cache. Write-through writes to cache and database together.
Pregunta 30
What is a CDN?
A CDN caches content at edge locations near users to reduce latency. It is not a database, gateway, or broker.
Pregunta 31
What is a message queue?
A message queue lets producers and consumers communicate asynchronously. It is not a table, balancer, or cache.
Pregunta 32
What is publish/subscribe?
Pub/sub decouples publishers from subscribers through topics or channels. It is not replication, DNS, or caching.
Pregunta 33
What is a dead letter queue?
A dead letter queue holds messages that repeatedly fail so they can be inspected later. It is not a general queue or delivery failure state.
Pregunta 34
What is authentication?
Authentication verifies identity, while authorization determines permissions. Encryption and logging are separate concerns.
Pregunta 35
What is authorization?
Authorization decides whether an authenticated user can access a resource. Authentication verifies identity first.
Pregunta 36
What is hashing used for in security?
Hashing transforms passwords into irreversible digests, often with salts. It is not encryption, compression, or routing.
Pregunta 37
What is a JWT?
A JSON Web Token is a signed token containing claims used for authentication and authorization. It is not a framework, index, or cache key.
Pregunta 38
What is TLS?
TLS encrypts data in transit over HTTPS. It is not a balancer, database, or log format.
Pregunta 39
What is CSRF?
Cross-site request forgery tricks a logged-in user into sending unwanted requests. Tokens and same-site cookies help prevent it.
Pregunta 40
What is horizontal scaling?
Horizontal scaling adds more machines, while vertical scaling increases resources on one machine. Disk and compression are different.
Pregunta 41
What is vertical scaling?
Vertical scaling increases CPU, memory, or disk on one server. Horizontal scaling adds more servers.
Pregunta 42
What does a load balancer do?
A load balancer spreads incoming requests across healthy servers to improve availability and utilization. It is not encryption, cache, or jobs.
Pregunta 43
What is a reverse proxy?
A reverse proxy sits in front of backend servers, handling SSL, routing, and load balancing. It is not a replica, database, or DNS.
Pregunta 44
What is statelessness?
Stateless servers do not keep client state between requests, making horizontal scaling easier. Sessions and caches are stateful by nature.
Pregunta 45
What is a microservice?
Microservices are small services with clear boundaries that deploy independently. A monolith is a single application.
Pregunta 46
What is a monolith?
A monolith packages all features into one application. Microservices split features into separate services.
Pregunta 47
What is availability?
Availability measures uptime, such as 99.9%. Latency measures speed, and users or data size are separate metrics.
Pregunta 48
What is latency?
Latency is the time from request to response. Throughput is requests per second, error rate is failures, and memory is resource usage.
Pregunta 49
What is throughput?
Throughput measures capacity such as requests per second. Latency is per-request time, uptime is availability, and hit rate is cache performance.
Pregunta 50
What is a circuit breaker?
A circuit breaker opens when a service fails, preventing cascading failures. It is not a lock, switch, or cache.
Pregunta 51
What is graceful degradation?
Graceful degradation serves reduced functionality during failures instead of failing completely. It is not shutdown, restart, or redirect.
Pregunta 52
What is an API gateway?
An API gateway centralizes routing, auth, rate limiting, and logging for APIs. It is not a pool, broker, or framework.
Pregunta 53
What is eventual consistency?
Eventual consistency means replicas may be briefly different but converge over time. Strong consistency guarantees immediate agreement.
Pregunta 54
What is pagination?
Pagination limits and pages through result sets, often with offset or cursor parameters. It is not encryption, caching, or compression.
Pregunta 55
What is a background job?
Background jobs process work asynchronously, such as emails or image resizing, to keep requests fast. They are not synchronous calls or queries.
Pregunta 56
What is observability?
Observability uses logs, metrics, and traces to understand and debug systems. It is not a firewall, cache, or balancer.
Pregunta 57
Which of the following are HTTP methods? Select all that apply.
GET, POST, and PUT are HTTP methods. FETCH is a browser API, not an HTTP method.
Pregunta 58
Which of the following are database types? Select all that apply.
Relational, document, key-value, and graph are all database models. They support different data shapes and workloads.
Pregunta 59
POST requests are guaranteed to be idempotent.
POST is not guaranteed to be idempotent because repeating it can create multiple resources. PUT and DELETE are typically idempotent.
Pregunta 60
Match each HTTP status code to its meaning.
200 means OK, 404 means not found, 500 is an internal server error, and 429 means too many requests.