






















































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!























































































Question 1. Which architectural style separates an application into independent services that communicate over lightweight protocols? A) Monolithic architecture B) Service‑Oriented Architecture (SOA) C) Microservices architecture D) Event‑Driven Architecture (EDA) Answer: C Explanation: Microservices break a system into small, independently deployable services that interact via lightweight protocols such as HTTP/REST or gRPC. Question 2. In a monolithic deployment, which of the following is a primary drawback when scaling the application? A) Independent scaling of components is easy B) All components must be scaled together, leading to resource waste C) Continuous delivery pipelines are simpler D) Service isolation is guaranteed Answer: B Explanation: Because all components run in the same process, scaling requires replicating the entire monolith, which can waste resources. Question 3. Which pattern is best suited for decoupling heterogeneous systems using a central hub that mediates communication? A) Point‑to‑point integration B) Hub‑and‑spoke model C) Direct API calls D) Shared database integration
Answer: B Explanation: The hub‑and‑spoke model centralizes routing, transformation, and governance, reducing the number of direct connections. Question 4. What is the primary difference between ETL and ELT processes? A) ETL loads data before transformation, ELT transforms before loading B) ETL extracts from multiple sources, ELT extracts from a single source C) ETL transforms data in a staging area, ELT leverages the target database’s compute power for transformation D) ETL is used only for batch, ELT only for streaming Answer: C Explanation: ELT pushes raw data into the target system and performs transformations there, taking advantage of the target’s processing capabilities. Question 5. Which data integration model is most appropriate for near‑real‑time replication of changes from a source database to downstream systems? A) Batch processing B) Change Data Capture (CDC) C) Full extract‑load‑transform (ELT) D) Manual data export Answer: B Explanation: CDC captures and streams row‑level changes as they happen, enabling real‑time synchronization. Question 6. Which protocol is optimized for low‑latency, bi‑directional communication in IoT scenarios? A) gRPC
Question 9. Which API style enables clients to request exactly the data they need, reducing over‑fetching? A) REST B) SOAP C) GraphQL D) RPC Answer: C Explanation: GraphQL lets clients specify the fields they require, avoiding unnecessary data transfer. Question 10. Which of the following best describes an Integration Platform as a Service (iPaaS)? A) On‑premise middleware that requires manual scaling B) Cloud‑based platform offering pre‑built connectors, orchestration, and monitoring as a service C) Simple message queue without transformation capabilities D) A container orchestration engine Answer: B Explanation: iPaaS provides cloud‑hosted integration tools, connectors, and runtime services without the need for infrastructure management. Question 11. In Apache Kafka, what is the purpose of a consumer group? A) To replicate topics across clusters B) To provide load‑balanced parallel consumption of partitions while maintaining order per partition C) To encrypt messages at rest
D) To schedule batch jobs Answer: B Explanation: Consumer groups allow multiple consumers to share the work of reading a topic’s partitions while guaranteeing order within each partition. Question 12. Which message queuing system is a fully managed, highly scalable service offered by AWS that guarantees at‑least‑once delivery? A) RabbitMQ B) Apache ActiveMQ C) Amazon SQS D) Google Pub/Sub Answer: C Explanation: Amazon Simple Queue Service (SQS) is a managed queue with at‑least‑once delivery semantics. Question 13. What is the primary function of an API gateway in a microservices environment? A) Store persistent data for services B) Manage inbound traffic, enforce security policies, and provide request routing, throttling, and transformation C) Deploy containers automatically D) Perform database migrations Answer: B Explanation: API gateways act as a single entry point, handling authentication, rate limiting, routing, and response transformations.
Answer: B Explanation: Two‑phase commit coordinates commit/rollback across distributed resources, providing atomicity. Question 17. Which authentication framework issues short‑lived access tokens and optional refresh tokens for delegated access? A) SAML B) OAuth 2. C) LDAP D) Kerberos Answer: B Explanation: OAuth 2.0 issues bearer tokens for resource access and can issue refresh tokens to obtain new access tokens. Question 18. OpenID Connect (OIDC) extends which protocol to provide identity information? A) SAML B) OAuth 2. C) WS‑Security D) JWT Answer: B Explanation: OIDC is built on top of OAuth 2.0 and adds an ID token that conveys user identity. Question 19. Which secret management tool stores API keys, passwords, and certificates securely and provides fine‑grained access control? A) Docker Hub
B) HashiCorp Vault C) GitHub Actions D) Jenkins Answer: B Explanation: Vault is purpose‑built for secure secret storage, dynamic credential generation, and access policies. Question 20. Mutual TLS (mTLS) provides which security benefit in service‑to‑service communication? A) Encrypts data at rest only B) Authenticates both client and server, preventing man‑in‑the‑middle attacks C) Replaces OAuth for user authentication D) Enables anonymous access Answer: B Explanation: mTLS requires both parties to present valid certificates, authenticating each other. Question 21. Which container runtime is most commonly used to package integration components for deployment? A) Vagrant B) Docker C) LXC D) Hyper‑V Answer: B Explanation: Docker provides lightweight image creation, distribution, and runtime for containerized services.
Answer: B Explanation: Service meshes inject sidecar proxies to handle routing, telemetry, and security policies transparently. Question 25. Which CI/CD practice validates that an API contract has not been broken before code is merged? A) Unit testing B) Load testing C) Contract testing (Pact) D) Smoke testing Answer: C Explanation: Contract testing ensures that provider and consumer expectations remain compatible. Question 26. In a blue‑green deployment, what is the main advantage? A) Zero downtime by switching traffic between two identical environments B) Automatic rollback on failure within the same environment C) Gradual rollout to a subset of users D) Deploying only the changed microservice Answer: A Explanation: Blue‑green maintains two parallel production environments; traffic is switched instantly, minimizing downtime. Question 27. Which deployment strategy gradually routes a small percentage of traffic to a new version, monitoring for errors before full rollout? A) Blue‑green
B) Canary C) Rolling update D) Recreate Answer: B Explanation: Canary releases expose a limited audience to the new version, allowing early detection of issues. Question 28. Which IaC tool uses JSON or YAML templates to provision AWS resources? A) Terraform B) Ansible C) CloudFormation D) Chef Answer: C Explanation: AWS CloudFormation defines stacks via JSON/YAML templates. Question 29. Which IaC language is cloud‑agnostic and uses a declarative HCL syntax? A) Pulumi B) Terraform C) CloudFormation D) SaltStack Answer: B Explanation: Terraform’s HashiCorp Configuration Language (HCL) works across multiple cloud providers. Question 30. Maintaining environment parity between Development, Staging, and Production helps prevent which issue?
Explanation: WebSockets allow bidirectional, low‑latency messaging after an initial HTTP handshake. Question 33. Distributed tracing tools such as Jaeger and Zipkin primarily help with what? A) Storing large binary files B) Visualizing the flow of a request across multiple services to pinpoint latency sources C) Encrypting traffic between services D. Managing container images Answer: B Explanation: Tracing captures spans across services, enabling end‑to‑end latency analysis. Question 34. Which log aggregation stack includes Elasticsearch, Logstash, and Kibana? A) ELK Stack B) LAMP Stack C) MEAN Stack D) TICK Stack Answer: A Explanation: ELK stands for Elasticsearch, Logstash, Kibana, providing collection, indexing, and visualization of logs. Question 35. Prometheus stores metrics in a time‑series database and uses which language for querying? A) SQL B) PromQL C) GraphQL D) DAX
Answer: B Explanation: PromQL is Prometheus’s query language for extracting and aggregating time‑series data. Question 36. Which pattern implements automatic retry with increasing delay to avoid overwhelming a failing downstream service? A) Circuit breaker B) Bulkhead C) Exponential backoff D) Fail‑fast Answer: C Explanation: Exponential backoff doubles the wait time after each retry, reducing load on the failing service. Question 37. A circuit breaker opens after a threshold of failures is reached. What is the next state after a cool‑down period? A) Closed B) Half‑open C) Open D) Reset Answer: B Explanation: In the half‑open state, a limited number of requests are allowed to test if the service has recovered. Question 38. Which queue construct stores messages that could not be processed after all retry attempts? A) Dead Letter Queue (DLQ)
Question 41. Connection pooling primarily improves which performance aspect? A) Disk I/O throughput B) CPU utilization of the application server C) Latency of acquiring a database connection D) Network bandwidth Answer: C Explanation: Pooling reuses existing connections, avoiding the overhead of establishing new ones for each request. Question 42. Which in‑memory data store is commonly used for caching frequently accessed API responses? A) PostgreSQL B) Redis C) Cassandra D) Hadoop HDFS Answer: B Explanation: Redis provides fast key‑value storage in memory, ideal for caching. Question 43. Round‑robin load balancing distributes traffic based on which principle? A) Least connections B. Weighted distribution C) Equal sequential allocation of requests to each backend D) IP hash Answer: C Explanation: Round‑robin cycles through backends, sending each new request to the next server in order.
Question 44. Which GDPR principle requires that personal data be processed only for a specific, explicit purpose? A) Data minimization B) Purpose limitation C) Right to be forgotten D) Data portability Answer: B Explanation: Purpose limitation restricts data use to the originally declared reason. Question 45. Under HIPAA, which of the following is considered Protected Health Information (PHI) when transmitted over a network? A) Server CPU usage metrics B) Patient’s name and diagnosis C) Publicly available health statistics D) Anonymous aggregate data Answer: B Explanation: PHI includes any individually identifiable health information, such as name and diagnosis. Question 46. Which compliance framework focuses on securing credit card holder data? A) GDPR B) HIPAA C) PCI‑DSS D) SOC 2 Answer: C
D) Using console output only Answer: B Explanation: Immutable storage ensures logs cannot be altered, satisfying audit requirements. Question 50. In a microservices environment, which pattern helps prevent a single service from exhausting shared resources? A) Singleton B) Bulkhead C) Shared cache D) Global lock Answer: B Explanation: Bulkhead isolates resources (threads, connections) per service, limiting cascading failures. Question 51. Which of the following best describes a “fan‑out” pattern in event‑driven architectures? A) One event triggers multiple downstream services simultaneously B) Multiple events are combined into a single message C) Events are processed sequentially by a single consumer D) Events are stored in a relational database Answer: A Explanation: Fan‑out publishes an event that multiple subscribers consume independently. Question 52. When using gRPC, which data serialization format is used by default? A) JSON B) XML
C) Protocol Buffers D) Avro Answer: C Explanation: gRPC relies on Protocol Buffers for efficient binary serialization. Question 53. Which of the following is a key advantage of serverless integration functions (e.g., AWS Lambda) over containerized services? A) Persistent local storage B) Predictable startup latency C) Automatic scaling to zero when idle, reducing cost D) Full control over OS kernel version Answer: C Explanation: Serverless functions scale down to zero, paying only for execution time. Question 54. In an Enterprise Service Bus (ESB), which capability is typically provided? A) Direct database replication B) Message routing, transformation, and protocol mediation C) Container orchestration D) Load testing Answer: B Explanation: ESBs act as a central hub that routes, transforms, and mediates messages between services. Question 55. Which of the following is a primary benefit of using Avro schema registry with Kafka? A) Automatic compression of messages