Unit 4: Economic Benefits of Microservices - Practice Quiz

INT363 — Cloud Microservices 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is a key scalability advantage of microservices?

Scalability advantages and cost implications Easy
A. All services use one database
B. Each service can scale independently
C. Each service requires one server
D. Every service must scale together

2 How can automatic scaling reduce cloud costs?

Scalability advantages and cost implications Easy
A. By adjusting resources to demand
B. By keeping all resources active
C. By disabling usage monitoring
D. By duplicating every service

3 What is overprovisioning in cloud computing?

Scalability advantages and cost implications Easy
A. Removing resources during peak demand
B. Allocating more resources than needed
C. Purchasing resources from several clouds
D. Using fewer resources than required

4 What does the pay-as-you-go cloud pricing model mean?

Pricing models of major cloud providers (AWS, Azure, Google Cloud) Easy
A. Customers pay a permanent fixed price
B. Customers receive all resources for free
C. Customers purchase physical data centers
D. Customers pay only for used resources

5 Which AWS pricing option provides unused compute capacity at a discounted price but may interrupt instances?

Pricing models of major cloud providers (AWS, Azure, Google Cloud) Easy
A. On-Demand Instances
B. Spot Instances
C. Reserved Instances
D. Dedicated Hosts

6 Which Azure pricing option can reduce costs when a customer commits to eligible resources for a fixed term?

Pricing models of major cloud providers (AWS, Azure, Google Cloud) Easy
A. Azure Marketplace
B. Azure Support Plans
C. Azure Reservations
D. Azure Free Account

7 What does Google Cloud offer for customers who commit to consistent resource usage for a specified term?

Pricing models of major cloud providers (AWS, Azure, Google Cloud) Easy
A. Storage lifecycle rules
B. Network service tiers
C. Committed use discounts
D. Cloud support credits

8 Which factor commonly affects the cost of a cloud virtual machine?

Compute costs Easy
A. The user password
B. The instance size
C. The file extension
D. The folder name

9 In serverless computing, customers are commonly charged based on what?

Compute costs Easy
A. Function executions and duration
B. Employee count and location
C. Application name and color
D. Physical server ownership

10 Which action can directly reduce compute costs for an unused virtual machine?

Compute costs Easy
A. Add another processor
B. Copy it to another folder
C. Stop or terminate it
D. Increase its memory

11 Which factor most directly determines the capacity charge for cloud storage?

Storage costs Easy
A. Number of account users
B. Length of object names
C. Amount of data stored
D. Color of the dashboard

12 Which storage class is generally most cost-effective for data that is rarely accessed?

Storage costs Easy
A. Premium storage
B. Frequent-access storage
C. Archive storage
D. High-performance storage

13 Besides stored capacity, what may also generate object storage charges?

Storage costs Easy
A. API requests
B. Dashboard themes
C. Resource labels
D. Account passwords

14 Which managed component can produce network-related cloud charges?

Network costs Easy
A. Database column name
B. User interface icon
C. Source code comment
D. Load balancer

15 Which action can help reduce unnecessary network service costs?

Network costs Easy
A. Removing unused network resources
B. Keeping unused gateways active
C. Duplicating every network service
D. Adding idle load balancers

16 Which type of cloud data transfer is commonly called egress?

Data transfer costs Easy
A. Data entering the cloud
B. Data deleted from storage
C. Data leaving the cloud
D. Data stored in memory

17 Which data transfer direction is often free or less expensive with major cloud providers?

Data transfer costs Easy
A. Outbound internet transfer
B. Intercontinental data transfer
C. Inbound data transfer
D. Cross-region data transfer

18 Which AWS tool helps users visualize and analyze their cloud spending?

Cost monitoring and optimization tools Easy
A. AWS CodeCommit
B. AWS CloudShell
C. AWS Route 53
D. AWS Cost Explorer

19 Which Azure service is used to monitor, allocate, and optimize cloud spending?

Cost monitoring and optimization tools Easy
A. Azure Virtual Desktop
B. Azure Cost Management
C. Azure DevOps
D. Azure App Service

20 What is the main purpose of a cloud budget alert?

Cost monitoring and optimization tools Easy
A. To increase instance capacity
B. To restart failed services
C. To notify users about spending
D. To encrypt stored objects

21 An online retailer experiences heavy traffic for 4 hours each day and low traffic during the remaining 20 hours. Which microservices deployment strategy is likely to minimize compute cost while maintaining performance?

Scalability advantages and cost implications Medium
A. Deploy every microservice in multiple regions and keep all replicas active continuously
B. Vertically resize every service once each month
C. Use horizontal autoscaling based on service demand
D. Run peak-capacity instances throughout the day

22 A document-conversion microservice receives requests only a few times per hour, and each conversion finishes within seconds. Which scaling approach offers the strongest cost advantage?

Scalability advantages and cost implications Medium
A. A serverless service that can scale to zero
B. A fixed cluster sized for peak demand
C. A continuously running high-memory virtual machine
D. A dedicated host reserved for three years

23 A company splits one application into 80 microservices, although most services always scale together. Which economic risk is most likely?

Scalability advantages and cost implications Medium
A. Higher operational and observability overhead
B. Automatic elimination of network charges
C. Guaranteed reduction in engineering effort
D. Lower storage usage for every service

24 Which mapping correctly associates each cloud provider with a common discounted commitment model?

Pricing models of major cloud providers (AWS, Azure, Google Cloud) Medium
A. AWS Budgets, Azure Spot VMs, Google Cloud sustained storage
B. AWS Glacier, Azure Reservations, Google Cloud network tiers
C. AWS Savings Plans, Azure Monitor, Google Cloud preemptible storage reservations
D. AWS Savings Plans, Azure Reservations, Google Cloud Committed Use Discounts

25 A batch-processing microservice can tolerate interruption and automatically retries unfinished jobs. Which pricing model is generally the most economical?

Pricing models of major cloud providers (AWS, Azure, Google Cloud) Medium
A. Long-term premium support
B. Provisioned compute with no interruption handling
C. On-demand dedicated hosts
D. Spot or preemptible compute

26 A microservice has stable baseline usage for the next three years but occasionally needs extra capacity. Which purchasing combination is usually most cost-effective?

Pricing models of major cloud providers (AWS, Azure, Google Cloud) Medium
A. On-demand pricing for both the baseline and bursts
B. Commitment pricing for the baseline and on-demand pricing for bursts
C. Long-term commitments for the maximum possible peak even when that peak occurs only briefly
D. Spot pricing for the baseline and dedicated hosts for bursts

27 A microservice runs on 6 instances costing $0.12 per instance-hour for 10 hours per day. What is its approximate 30-day compute cost?

Compute costs Medium
A. $360
B. $216
C. $180
D. $240

28 A service uses 10 virtual machines at 20% average CPU utilization. Testing shows that 4 right-sized machines can meet the same performance target. If each machine costs $90 per month, what is the monthly compute saving?

Compute costs Medium
A. $540
B. $360
C. $900
D. $600

29 A serverless microservice processes 4 million requests per month. Ignoring free tiers, its average compute charge is $0.00002 per request. What is the monthly compute charge?

Compute costs Medium
A. $8
B. $200
C. $800
D. $80

30 A service stores 2,000 GB of data. It keeps 25% in standard storage at $0.023 per GB-month and 75% in archive storage at $0.004 per GB-month. What is the monthly storage cost?

Storage costs Medium
A. $14.00
B. $46.00
C. $17.50
D. $23.00

31 A team moves old logs to a low-cost archive tier but frequently queries them for troubleshooting. Which cost is most likely to reduce the expected savings?

Storage costs Medium
A. Domain registration charges
B. Reserved compute charges
C. Load-balancer certificate charges
D. Archive retrieval charges

32 A microservice retains all application logs indefinitely in high-performance storage. Which change would most directly lower storage cost without immediately deleting recent logs?

Storage costs Medium
A. Increase the replication count of every log object
B. Store additional uncompressed copies in each region
C. Apply lifecycle rules to move older logs to cheaper tiers
D. Move all recent and historical logs to the highest-performance tier for consistent access

33 Several microservices exchange large messages through a managed network gateway even though they run in the same cloud region. Which design change should be evaluated first to reduce network cost?

Network costs Medium
A. Add more gateways to every subnet regardless of whether those gateways are needed
B. Route all internal traffic through the public internet
C. Replicate every request to an additional region
D. Keep high-volume traffic on private regional paths

34 A public API repeatedly serves the same large images to users around the world. Which architecture is most likely to reduce origin network traffic and improve latency?

Network costs Medium
A. Disable caching on every response
B. Send each image from the database
C. Cache the images through a CDN
D. Route all requests through an additional cross-region service mesh before reaching the origin

35 A cloud provider charges $0.09 per GB for the first 1,000 GB of monthly outbound traffic and $0.07 per GB for the next tier. What is the charge for 5,000 GB of outbound traffic?

Data transfer costs Medium
A. $450
B. $370
C. $350
D. $420

36 A frontend in one cloud region frequently calls a backend in another region, transferring several terabytes each month. Which change most directly targets the resulting data transfer cost?

Data transfer costs Medium
A. Move the logs to a premium storage tier
B. Create additional cross-region calls so that traffic is distributed among more locations
C. Co-locate the tightly coupled services in one region
D. Increase the CPU allocation of both services

37 A microservice sends 10 TB of uncompressed JSON responses to external clients each month. Which change is most likely to reduce outbound data transfer charges?

Data transfer costs Medium
A. Enable response compression
B. Write every response to multiple storage regions before sending it to the client
C. Increase response field duplication
D. Use larger uncompressed payloads

38 A team wants an alert when projected monthly cloud spending is likely to exceed $5,000. Which capability should it configure?

Cost monitoring and optimization tools Medium
A. A cloud budget with forecast-based alerts
B. A container readiness probe
C. A storage lifecycle transition rule
D. A network firewall rule that automatically blocks every service when any billing record is created

39 A cloud bill rises unexpectedly, but total user traffic remains stable. Which tool capability is most useful for quickly identifying the unusual spending pattern?

Cost monitoring and optimization tools Medium
A. Cost anomaly detection
B. Container image signing
C. DNS record validation
D. Source-code formatting

40 A company cannot determine which microservice is responsible for shared cloud costs. Which practice would provide the most useful cost attribution?

Cost monitoring and optimization tools Medium
A. Rename every resource with a random identifier
B. Record only the company's total invoice and avoid collecting resource-level usage data
C. Combine all accounts into one untagged billing group
D. Apply consistent service and team cost-allocation tags

41 A monolith contains services A and B. One monolith instance costs $0.18/hour and can handle 100 A requests/s and 20 B requests/s. At peak, A receives 600 requests/s and B receives 60 requests/s. If separated, an A instance costs $0.12/hour with capacity 100 requests/s, while a B instance costs $0.08/hour with capacity 20 requests/s. Ignoring shared overhead, what is the hourly cost effect of independent scaling?

Scalability advantages and cost implications Hard
A. Microservices cost $0.96/hour, which is 11.1% lower
B. Microservices cost $1.08/hour, which produces no saving
C. Microservices cost $1.20/hour, which is 11.1% higher
D. Microservices cost $1.00/hour, which is 7.4% lower

42 A service needs 4 instances normally and 20 instances during a 10-minute burst each hour. Sixteen additional instances take 5 minutes to start and remain allocated for a 10-minute cooldown after the burst ends. Assuming per-minute billing begins when an instance becomes available, how does autoscaling compare with keeping 20 instances active for the entire hour?

Scalability advantages and cost implications Hard
A. Autoscaling uses 720 instance-minutes and reduces cost by 40%
B. Autoscaling uses 560 instance-minutes and reduces cost by 53.3%
C. Autoscaling uses 480 instance-minutes and reduces cost by 60%
D. Autoscaling uses 400 instance-minutes and reduces cost by 66.7%

43 At traffic multiplier , a monolith requires instances, while independently scalable microservices require instances. Each instance costs $50/month, but the microservices platform adds a fixed $2,800/month for gateways, observability, and control-plane services. If must be a positive integer, what is the smallest value at which microservices are strictly cheaper?

Scalability advantages and cost implications Hard
A.
B.
C.
D.

44 A company has a stable aggregate compute spend but frequently moves workloads among EC2 instance families and also shifts some services between EC2, AWS Fargate, and AWS Lambda. Which AWS pricing model most directly preserves commitment discounts across those changes?

Pricing models of major cloud providers (AWS, Azure, Google Cloud) Hard
A. Standard Reserved Instances with Availability Zone scope
B. Convertible Reserved Instances for each EC2 family
C. EC2 Instance Savings Plans for each active region
D. Compute Savings Plans based on hourly spend

45 An organization runs steady Windows Server and SQL Server workloads on Azure and owns eligible licenses with Software Assurance. Which strategy generally minimizes the stable baseline cost without relying on interruptible capacity?

Pricing models of major cloud providers (AWS, Azure, Google Cloud) Hard
A. Use pay-as-you-go VMs and retain licenses on premises
B. Combine autoscaling with standard pay-as-you-go licensing
C. Combine Azure Reservations with Azure Hybrid Benefit
D. Use Spot VMs and purchase separate marketplace licenses

46 A Google Cloud workload continuously uses 60 vCPUs and bursts to 100 vCPUs for 12 full days each month. The VMs are eligible for sustained-use discounts. Which purchasing strategy best avoids overcommitment while targeting both predictable and variable usage?

Pricing models of major cloud providers (AWS, Azure, Google Cloud) Hard
A. Commit 60 vCPUs and leave burst usage on eligible on-demand pricing
B. Purchase a commitment for 100 vCPUs and leave it idle outside bursts
C. Use only on-demand pricing because commitments disable all discounts
D. Run all 100 vCPUs as Spot VMs throughout the entire month

47 An on-demand instance costs $0.40/hour, while an equivalent Spot instance costs $0.12/hour. If interruptions make a fraction of all paid Spot execution unusable, checkpoint overhead is otherwise negligible. For what range of is Spot still strictly cheaper per useful compute-hour?

Compute costs Hard
A.
B.
C.
D.

48 A serverless microservice handles 80 million requests per month. Each request uses 1.5 GB of memory for an average of 0.24 seconds. Pricing is $0.000016667 per GB-second plus $0.20 per million requests, with free tiers ignored. What is the approximate monthly compute and request cost?

Compute costs Hard
A. $480.01
B. $488.00
C. $496.01
D. $464.01

49 A Kubernetes node provides 8 vCPUs and 32 GB of memory for $0.40/hour. The workload has twenty pods requesting 1 vCPU and 2 GB each, plus eight pods requesting 0.5 vCPU and 8 GB each. An anti-affinity rule permits at most one of the 8-GB pods per node. Ignoring system reservations, what is the minimum node cost per hour?

Compute costs Hard
A. $3.20/hour, constrained by pod anti-affinity
B. $2.40/hour, constrained by aggregate CPU
C. $1.60/hour, constrained by aggregate memory
D. $4.00/hour, constrained by pod anti-affinity

50 A system stores 100 TB using decimal units. Standard storage costs $0.023/GB-month. Archive storage costs $0.004/GB-month plus $0.03 per GB retrieved. Ignoring request, minimum-duration, and transition charges, below what monthly retrieval fraction $f$ is archive storage strictly cheaper?

Storage costs Hard
A.
B.
C.
D.

51 A microservice stores 60 TB of logical data. Triple replication uses three times the logical capacity. An erasure-coded design uses 1.5 times the logical capacity but adds $450/month in compute overhead. Storage costs $0.02/GB-month using decimal units. What saving does erasure coding provide?

Storage costs Hard
A. $1,350/month, or 37.5%
B. $1,200/month, or 33.3%
C. $1,650/month, or 45.8%
D. $1,800/month, or 50.0%

52 An object store contains 8 TB of current data. Each day, 2% of the dataset is replaced, and every replaced portion remains as a noncurrent version for exactly 30 days. Assuming a constant dataset size, no compounding, decimal units, and storage pricing of $0.021/GB-month, what is the steady-state monthly storage cost?

Storage costs Hard
A. $252.00
B. $268.80
C. $235.20
D. $201.60

53 Two chatty microservices run in different availability zones. Monthly metering records 12,000 GB sent from service A to B and 12,000 GB returned from B to A. Cross-zone traffic costs $0.01/GB in each direction. What incremental monthly charge could co-location eliminate, ignoring resilience effects?

Network costs Hard
A. $240
B. $360
C. $120
D. $480

54 Private workloads transfer 40 TB per month to object storage through a NAT gateway. The gateway charges $0.045/GB processed plus $0.045/hour for 730 hours. A private gateway endpoint has no hourly or per-GB processing charge for this traffic. Using decimal units and ignoring unrelated charges, what monthly amount is avoided?

Network costs Hard
A. $1,800.00
B. $1,832.85
C. $1,865.70
D. $1,767.15

55 Direct origin delivery costs $0.09/GB. A CDN costs $0.07/GB delivered to users, and each cache miss adds $0.04/GB for origin-to-CDN transfer. If $h$ is the cache-hit ratio and request charges are ignored, when is the CDN strictly cheaper?

Data transfer costs Hard
A.
B.
C.
D.

56 A cloud provider charges monthly internet egress at $0.09/GB for the first 10 TB, $0.085/GB for the next 40 TB, and $0.07/GB thereafter. A system sends 60 TB in a month using decimal units. What is its total egress charge?

Data transfer costs Hard
A. $4,950
B. $4,750
C. $5,000
D. $4,850

57 A multi-region service ingests 5 TB per month from the internet into region A, synchronously replicates all of it once to region B, and serves 3 TB per month from region B to internet clients. Internet ingress is free, inter-region transfer costs $0.02/GB, and internet egress costs $0.08/GB. Using decimal units, what is the monthly transfer cost?

Data transfer costs Hard
A. $240
B. $340
C. $400
D. $500

58 An AWS account prepays $3,650 for a one-year commitment on the first day of a 365-day term. A FinOps team wants a 30-day report that attributes the commitment evenly across its useful period rather than showing the cash purchase entirely on day one. Which view and amount are appropriate?

Cost monitoring and optimization tools Hard
A. List cost view showing $304.17
B. Unblended cost view showing $3,650
C. Amortized cost view showing $300
D. Net unblended view showing $0

59 A shared observability cluster has no reliable per-team infrastructure tags, but its telemetry records log-ingestion bytes and metric-series counts by tenant. Which cost-allocation approach gives the most defensible showback?

Cost monitoring and optimization tools Hard
A. Join billing exports with tenant usage and apply allocation rules
B. Divide the entire bill equally among all registered teams
C. Allocate charges according to each team's application revenue
D. Assign all shared charges to the central platform team

60 A rightsizing tool evaluates an 8-vCPU instance costing $0.40/hour. Its average, p95, and p99 CPU utilization are 20%, 55%, and 92%. The SLO requires projected p95 utilization not to exceed 80%, while brief p99 throttling is acceptable. Candidate instances have 6 vCPUs at $0.32/hour and 4 vCPUs at $0.22/hour. Assuming utilization scales inversely with vCPU count, what is the best recommendation for a 730-hour month?

Cost monitoring and optimization tools Hard
A. Choose 6 vCPUs and save $58.40 per month
B. Choose 4 vCPUs and save $131.40 per month
C. Keep 8 vCPUs because p99 already exceeds 80%
D. Choose 4 vCPUs because average utilization remains below 50%