WorksheetsITP108 QUiz -B
Total questions: 50
Worksheet time: 25mins
Netflix faced massive spikes in user demand. Which approach allowed them to dynamically add resources without service interruptions?
Vertical scaling
Horizontal scaling using cloud infrastructure
Manual monitoring
CDN caching
Instagram improved performance by storing frequently accessed images closer to users. Which technique was applied?
Load balancing
In-memory caching
CDN deployment
Vertical scaling
A digital bank upgraded its CPUs and RAM to handle transaction volume. This is an example of:
Horizontal scaling
Vertical scaling
Load balancing
Database query optimization
Which situation benefits MOST from horizontal scaling rather than vertical scaling?
A single server needs more RAM
A global app experiencing millions of simultaneous users
A desktop application with limited local data
A local database needing indexing
Airbnb avoided crashes during peak travel by:
Using vertical scaling
Adding multiple servers globally with load balancing
Switching to batch data processing
Removing caching layers
If a company wants to reduce downtime when one load balancer fails, the BEST solution is:
Health checks only
Vertical scaling
Redundant load balancers with failover
FIFO caching
Which load balancing method ensures one user session always connects to the same server?
Round-robin
IP hash
Least connections
Geographical
A news website wants its pages to load faster worldwide. Which strategy should they implement?
Database query optimization only
CDN
Vertical scaling
FIFO cache eviction
Which caching policy risks removing popular but 'old' items first?
LFU
LRU
FIFO
In-memory
A system requires the fastest possible responses with lowest latency. Which load balancing algorithm fits best?
Least connections
Least response time
FIFO
LRU
An e-commerce company improved search by indexing database queries. This is an example of:
Horizontal scaling
Load balancing
Query optimization
CDN deployment
A social media app used Redis for caching profile data. Why was this effective?
Redis supports batch processing
In-memory cache drastically reduces response time
Redis prevents user errors
Redis replaces horizontal scaling
If a load balancer goes down and DNS automatically redirects traffic to a backup, this is known as:
Query optimization
DNS failover
Auto-scaling
FIFO caching
Why is horizontal scaling often more fault-tolerant than vertical scaling?
Servers are more expensive
Single machine is upgraded
If one server fails, others can still handle requests
It reduces cache eviction
Which case BEST represents performance optimization?
Adding servers globally
Improving query indexes for faster data retrieval
Migrating to cloud
Using OAuth for authentication
An e-commerce site integrates PayPal payments using its API. What principle does this show?
Standardization
Modularity
Facilitate integration
Versioning
A developer reuses Google Maps API in multiple apps. Which benefit of APIs is highlighted?
Reusability
Modularity
Security
Innovation
A company updates its internal algorithm but keeps API endpoints the same. Which API principle is maintained?
Security
Simplify maintenance and updates
Versioning
Documentation
Twilio makes money offering APIs for SMS and calls. This demonstrates:
Drive business growth through API monetization
Facilitate integration
Modularity
Innovation
Which HTTP method in REST is used to update an existing resource?
GET
POST
PUT
DELETE
API versioning is MOST needed when:
Adding a new endpoint
Turning optional parameter into required
Changing documentation
Creating user stories
A banking API requires OAuth tokens before returning data. This shows:
Modularity
Security
Versioning
Standardization
If an API endpoint is modified but still works with old client apps, what practice ensures backward compatibility?
REST principles
Versioning
User-centered design
Caching
Postman is MOST useful for:
Data caching
API testing and collaboration
Server load balancing
ETL migration
A team wants API documentation that allows interactive editing and hosted docs. Which tool suits this need?
Swagger
Postman
API Blueprint
OAuth
Uber monitors microservices proactively to avoid ride disruptions. Which practice is demonstrated?
Logging only
Proactive monitoring
Graceful degradation
Failover
Which tool is open-source and widely used for monitoring with metrics and visualizations?
Swagger
Prometheus
OAuth
Redis
Nagios is best suited for monitoring:
APIs only
Servers, networks, and applications
Cache eviction
User interfaces
A system fails but automatically switches to backup resources. This is called:
Retry
Failover
Degradation
DNS hashing
An e-commerce site lets users continue browsing even if payment gateway is down, but checkout is disabled. This is:
Failover
Graceful degradation
Retry mechanism
Logging
Which error type is caused by user actions, like invalid form input?
System error
User error
Network failure
Load balancing issue
A company sets up alerts and logs for recurring issues. This practice is:
Debugging
Monitoring
Logging and error tracking
DNS failover
Why is structured logging better than plain text logs?
It reduces storage
Easier to parse and analyze
No debugging required
Requires no centralization
Which debugging practice helps inspect variable values step by step?
Using breakpoints and watch expressions
Structured logging
Query optimization
Load balancing
Why is centralizing logs important in complex systems?
It reduces CPU usage
Easier search and analysis across multiple services
Avoids caching failures
Prevents DNS errors
A bank consolidates transactions every night. What integration type is this?
Real-time
Batch integration
Virtualization
Migration
If a system updates a hotel booking instantly across databases, which integration type applies?
Manual integration
Batch integration
Real-time integration
Data migration
Which integration method avoids duplication by creating a logical view instead of moving data?
Data migration
Data virtualization
Batch ETL
Correlation
In batch ETL, why is parallel processing beneficial?
Reduces latency to near-zero
Speeds up batch jobs by dividing work
Simplifies API communication
Avoids logging errors
Which case BEST fits real-time data integration?
Monthly billing cycle
Fraud detection in e-commerce transactions
Annual data migration
Backup restoration
A telecom firm moves CRM data from legacy to cloud CRM in one-time process. Which pattern applies?
Broadcast
Migration
Aggregation
Synchronization
During migration, what prevents data loss?
DNS failover
Data backup before migration
Caching
API versioning
A stock trading company streams live stock data to clients continuously. This is an example of:
Migration
Broadcast pattern
Batch ETL
Virtualization
Bi-directional synchronization ensures:
Faster queries
One-way migration only
Both systems remain consistent in real-time
Cached data is always used
A retail chain synchronizes customer profiles online and offline. Which issue is MOST common?
DNS errors
Network failures causing delays
API versioning conflicts
Logging failures
An e-commerce site correlates sales and feedback data to improve recommendations. This is:
Aggregation
Correlation
Migration
Synchronization
Why is aggregation used in smart city IoT projects?
Merges multiple sensor data into one system for analysis
Ensures one-time migration
Improves logging structures
Caches frequently used queries
Edge computing supports aggregation by:
Storing logs centrally
Processing data closer to where it is generated
Migrating data in batches
Testing APIs
Which integration pattern ensures data is updated across both systems but not irrelevant fields?
Correlation
Broadcast
Synchronization
Aggregation
A financial firm moves large volumes of stock data, compresses it, and replicates across clients. Which challenge are they solving?
Data conflicts
Network bandwidth strain
Migration downtime
Logging errors
