


















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
ALBERTA SOFTWARE DEVELOPER EXAM| QUESTIONS AND CORRECT ANSWERS (VERIFIED ANSWERS) PLUS RATIONALES 2026 Q&A | INSTANT DOWNLOADPDF
Typology: Exams
1 / 26
This page cannot be seen from the preview
Don't miss anything!



















1. In large-scale software systems, what is the primary risk of high coupling between modules? A. Improved test coverage B. Increased system modularity C. Change propagation leading to system-wide failures D. Faster deployment cycles Correct Answer: C Rationale: High coupling causes changes in one module to affect others, increasing fragility and system-wide failure risk. 2. What design principle is violated when a class has multiple unrelated responsibilities? A. Open/Closed Principle B. Dependency Inversion Principle C. Single Responsibility Principle D. Liskov Substitution Principle Correct Answer: C Rationale: The Single Responsibility Principle states that a class should have only one reason to change. 3. In scalable system design, what is the primary benefit of stateless services? A. Reduced database size B. Easier horizontal scaling C. Faster UI rendering D. Lower CPU usage only Correct Answer: B Rationale: Stateless services can be replicated easily across multiple servers, enabling horizontal scalability.
4. What is the main disadvantage of synchronous blocking I/O in high-concurrency systems? A. Improved throughput B. Thread starvation and poor scalability C. Reduced memory usage D. Better fault tolerance Correct Answer: B Rationale: Blocking I/O consumes threads while waiting, limiting scalability under heavy load. 5. Which algorithmic complexity is most efficient for large-scale search operations in sorted datasets? A. O(n) B. O(n²) C. O(log n) D. O(2ⁿ) Correct Answer: C Rationale: Binary search operates in logarithmic time, making it highly efficient for sorted data. 6. What is the main purpose of dependency injection in software architecture? A. Increase coupling B. Reduce runtime performance C. Achieve loose coupling and better testability D. Replace interfaces Correct Answer: C Rationale: Dependency injection decouples components, making systems easier to test and maintain. 7. In distributed systems, what is the CAP theorem primarily concerned with? A. CPU, API, Performance
Correct Answer: B Rationale: Integration testing ensures that combined modules work correctly together.
11. What is a major drawback of monolithic architecture in large teams? A. Easy deployment B. High scalability C. Difficult parallel development D. Reduced build time Correct Answer: C Rationale: Monoliths make parallel development difficult due to shared codebase dependencies. 12. What does idempotency mean in API design? A. Different results per request B. Same result regardless of repeated requests C. Random output generation D. Stateless UI rendering Correct Answer: B Rationale: Idempotent operations produce the same result even when executed multiple times. 13. What is the main purpose of a load balancer? A. Encrypt network traffic B. Distribute traffic across multiple servers C. Store session data D. Compile source code Correct Answer: B Rationale: Load balancers distribute incoming traffic to ensure system reliability and performance.
14. What is a race condition in concurrent programming? A. UI rendering delay B. Memory leak C. Unpredictable behavior due to timing of threads D. API failure Correct Answer: C Rationale: Race conditions occur when multiple threads access shared data without proper synchronization. 15. What is the primary purpose of caching in software systems? A. Increase database writes B. Store frequently accessed data for faster retrieval C. Increase latency D. Reduce scalability Correct Answer: B Rationale: Caching improves performance by reducing repeated data fetch operations. 16. What is a major risk of improper memory management in managed languages? A. Faster execution B. Memory leaks due to retained references C. Improved GC performance D. Reduced CPU usage Correct Answer: B Rationale: Improper references can prevent garbage collection, causing memory leaks. 17. What is the role of a compiler in software development? A. Executes runtime code B. Translates source code into machine code C. Manages databases D. Handles networking
B. Strong separation of concerns C. Reduced modularity D. Tight coupling Correct Answer: B Rationale: Clean architecture enforces separation between business logic and external systems.
22. What is the role of abstraction in software design? A. Expose implementation details B. Hide complexity and expose only essential features C. Increase coupling D. Reduce scalability Correct Answer: B Rationale: Abstraction hides unnecessary details and simplifies system usage. 23. What is a primary characteristic of RESTful APIs? A. Stateful communication B. Stateless request handling C. Binary-only communication D. UI-based logic Correct Answer: B Rationale: REST APIs are stateless, meaning each request is independent. 24. What is the main purpose of unit testing? A. Test full system behavior B. Validate individual components in isolation C. Deploy applications D. Design UI layouts Correct Answer: B Rationale: Unit testing ensures individual functions or components work correctly.
25. What is technical debt in software engineering? A. Extra hardware cost B. Future cost of quick/poor design decisions C. Database size reduction D. UI improvement strategy Correct Answer: B Rationale: Technical debt refers to the cost of maintaining suboptimal code choices over time. 26. What is the main purpose of logging in production systems? A. Improve UI design B. Track system behavior and debug issues C. Increase API speed D. Reduce memory usage Correct Answer: B Rationale: Logging helps monitor system activity and diagnose issues in production. 27. What is the difference between HTTP and HTTPS? A. No difference B. HTTPS is encrypted using TLS/SSL C. HTTP is faster D. HTTPS does not use APIs Correct Answer: B Rationale: HTTPS secures communication using encryption protocols. 28. What is a key advantage of microservices over monolithic systems? A. Single deployment unit B. Independent service scaling C. Tight coupling D. Reduced fault isolation Correct Answer: B Rationale: Microservices allow independent scaling and deployment of components.
Correct Answer: B Rationale: Sharding distributes data across multiple database nodes, improving scalability and performance.
33. What is the key drawback of eventual consistency systems? A. Immediate synchronization B. Temporary stale reads C. No replication D. No fault tolerance Correct Answer: B Rationale: Eventual consistency allows temporary inconsistencies before all replicas converge. 34. What problem does a distributed consensus algorithm like Raft solve? A. UI rendering B. Agreement on shared state across nodes C. Image processing D. Database indexing Correct Answer: B Rationale: Consensus algorithms ensure all distributed nodes agree on a single consistent system state. 35. What is the main purpose of a circuit breaker pattern in microservices? A. Increase API traffic B. Prevent cascading service failures C. Reduce memory usage D. Improve UI responsiveness Correct Answer: B Rationale: Circuit breakers stop requests to failing services, preventing system-wide cascading failures.
36. What is a major benefit of asynchronous processing in backend systems? A. Blocking execution B. Improved system throughput C. Reduced scalability D. Increased latency Correct Answer: B Rationale: Asynchronous processing allows systems to handle more concurrent operations efficiently. 37. What is the primary function of a message broker like Kafka? A. UI rendering B. Distributed event streaming and messaging C. Database encryption D. API authentication Correct Answer: B Rationale: Kafka enables high-throughput event streaming and decoupled communication between services. 38. What is backpressure in reactive systems? A. UI animation delay B. Controlling data flow to prevent overload C. Database corruption D. Memory allocation failure Correct Answer: B Rationale: Backpressure manages data flow to prevent fast producers from overwhelming consumers. 39. What is the main role of a CDN in system architecture? A. Store application logic B. Deliver content closer to users geographically C. Execute backend logic D. Replace APIs
43. What is the main advantage of event-driven architecture? A. Tight coupling of services B. Loose coupling and scalability C. Synchronous execution D. Reduced fault tolerance Correct Answer: B Rationale: Event-driven systems allow services to react independently to events, improving scalability. 44. What is a primary risk of shared mutable state in concurrent systems? A. Improved performance B. Race conditions C. Better scalability D. Reduced latency Correct Answer: B Rationale: Shared mutable state can lead to race conditions due to unsynchronized access. 45. What is the purpose of idempotency in API design? A. Different results per request B. Same result regardless of repeated calls C. UI optimization D. Data compression Correct Answer: B Rationale: Idempotent operations ensure repeated requests produce the same outcome. 46. What is the primary benefit of database replication? A. Slower queries B. High availability and fault tolerance C. Reduced storage D. UI enhancement
Correct Answer: B Rationale: Replication ensures data availability even if one node fails.
47. What is a key characteristic of a strongly consistent system? A. Eventually consistent reads B. All reads reflect latest write immediately C. Random data updates D. No replication Correct Answer: B Rationale: Strong consistency ensures all nodes see the most recent write instantly. 48. What is the main purpose of load testing? A. UI design validation B. Measuring system performance under expected load C. Code formatting D. API encryption Correct Answer: B Rationale: Load testing evaluates system behavior under normal and peak traffic conditions. 49. What is a major advantage of caching at multiple layers? A. Increased redundancy without benefit B. Reduced latency at different access points C. Slower response times D. Higher database load Correct Answer: B Rationale: Multi-layer caching reduces response time by serving data closer to users. 50. What is the primary purpose of rate limiting? A. Improve UI speed B. Prevent abuse of system resources
54. What is a major challenge in distributed systems debugging? A. Too simple logs B. Lack of centralized visibility C. Too much CPU power D. Excess UI components Correct Answer: B Rationale: Distributed systems lack centralized visibility, making debugging complex. 55. What is the main benefit of GraphQL over REST? A. Fixed responses B. Client-controlled data fetching C. No schema required D. Slower queries Correct Answer: B Rationale: GraphQL allows clients to request exactly the data they need. 56. What is the role of a service mesh? A. UI rendering B. Managing service-to-service communication C. Database indexing D. Compiling code Correct Answer: B Rationale: Service meshes manage communication, security, and observability between microservices. 57. What is a key disadvantage of synchronous microservice communication? A. Better fault isolation B. Cascading failures C. Reduced latency always D. Improved scalability
Correct Answer: B Rationale: Synchronous dependencies can cause cascading failures across services.
58. What is the primary purpose of an API gateway? A. Store database records B. Centralized routing and authentication C. Replace backend services D. Compile frontend code Correct Answer: B Rationale: API gateways manage routing, authentication, and request aggregation. 59. What is the main risk of missing API timeouts? A. Faster execution B. Resource exhaustion C. Improved performance D. Better scalability Correct Answer: B Rationale: Missing timeouts can cause resources to be held indefinitely, exhausting system capacity. 60. What is the primary goal of fault tolerance? A. Increase UI complexity B. System continues operating despite failures C. Reduce API usage D. Remove redundancy Correct Answer: B Rationale: Fault-tolerant systems continue functioning even when parts of the system fail. 61. A production system experiences cascading failures after a single downstream service slows down. What is the most effective mitigation strategy?
Correct Answer: B Rationale: Thread pooling and async processing prevent thread exhaustion under high concurrency.
65. What is the primary cause of thundering herd problems in distributed caching systems? A. Too many UI updates B. Simultaneous cache expiration leading to backend overload C. Low CPU usage D. Excess database indexing Correct Answer: B Rationale: When cached data expires simultaneously, many requests hit the backend at once, causing overload. 66. A system uses retries without limits for failed API calls. What is the major risk? A. Faster recovery B. Amplified system overload and cascading failures C. Reduced traffic D. Improved latency Correct Answer: B Rationale: Unlimited retries can flood systems and worsen outages during failures. 67. What is the most appropriate solution for handling high- frequency real-time stock updates in a mobile app? A. REST polling every second B. WebSockets or streaming protocol C. Manual refresh only D. Local static storage Correct Answer: B Rationale: Streaming protocols like WebSockets efficiently handle real- time continuous data.
68. A database shows high read latency despite indexing. What is a likely root cause? A. UI design issue B. Poor query design or missing composite indexes C. High screen resolution D. Excess caching Correct Answer: B Rationale: Inefficient queries or missing composite indexes can still cause high latency. 69. What is the key disadvantage of synchronous distributed transactions? A. Increased throughput B. High latency and blocking dependencies C. Reduced consistency D. Lower fault tolerance Correct Answer: B Rationale: Synchronous distributed transactions require multiple systems to wait, increasing latency. 70. What is the main purpose of graceful degradation in system design? A. Improve UI colors B. Maintain partial functionality during failures C. Increase database size D. Remove APIs Correct Answer: B Rationale: Graceful degradation ensures core features remain functional even during partial system failure. 71. A mobile backend experiences memory leaks in production. What is the most effective long-term solution? A. Restart servers frequently B. Implement proper profiling and fix reference retention issues