Unit 4: Economic Benefits of Microservices - Practice Quiz

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

1 Which of the following best describes the economic advantage of 'Granular Scaling' in a microservices architecture?

A. Scaling only the specific service that needs more resources
B. Reducing the cost of software licensing
C. Scaling the entire application for a small feature change
D. Eliminating the need for load balancers

2 In the context of cloud economics, what does the shift from CAPEX to OPEX refer to?

A. Moving from manual scaling to auto-scaling
B. Moving from upfront hardware investment to pay-as-you-go operational costs
C. Moving from cloud storage to on-premise storage
D. Moving from operational expenses to capital expenses

3 Which AWS EC2 pricing model provides the highest discount (up to 90%) but comes with the risk of interruption?

A. Reserved Instances
B. Dedicated Hosts
C. Spot Instances
D. On-Demand Instances

4 What is 'Rightsizing' in the context of cloud cost optimization?

A. Using only serverless architecture
B. Switching cloud providers every month
C. Deleting all unused data
D. Matching instance types and sizes to your workload performance and capacity requirements

5 Which pricing model in Microsoft Azure is best suited for stable, predictable workloads running for a 1 or 3-year term?

A. Azure Reserved Virtual Machine Instances
B. Dev/Test Pricing
C. Spot VMs
D. Pay-As-You-Go

6 In Google Cloud Platform (GCP), what is the automatic discount applied for running a specific compute instance for a significant portion of the billing month called?

A. Spot Discount
B. Loyalty Bonus
C. Sustained Use Discount
D. Committed Use Discount

7 Which cost component is typically free of charge across major cloud providers?

A. Data Egress (Outbound)
B. Data Ingress (Inbound)
C. Storage at rest
D. Inter-region data transfer

8 What is the primary cost benefit of Serverless Computing (e.g., AWS Lambda, Azure Functions)?

A. Free unlimited bandwidth
B. Fixed monthly pricing
C. Lower storage costs
D. Zero cost for idle time (Scale-to-zero)

9 Which of the following is a cost monitoring tool provided specifically by AWS?

A. Google Cloud Billing
B. AWS Cost Explorer
C. Azure Cost Management
D. CloudHealth

10 How does 'Data Egress' impact cloud costs?

A. It is always free
B. It refers to data leaving the cloud or region and typically incurs per-GB charges
C. It refers to data coming into the cloud and is expensive
D. It only applies to storage, not networking

11 Which AWS pricing model offers flexibility to change instance families, OS types, and tenancies while still receiving a discount for a commitment?

A. Standard Reserved Instances
B. Convertible Reserved Instances
C. Spot Instances
D. On-Demand Instances

12 What is the 'Azure Hybrid Benefit'?

A. A free tier for hybrid cloud architectures
B. A tool for monitoring hybrid cloud latency
C. A discount for using Azure and AWS simultaneously
D. A benefit allowing use of on-premises Windows Server/SQL Server licenses in Azure to save costs

13 In Google Cloud, what corresponds to AWS Spot Instances?

A. Committed Use VMs
B. Sustained Use VMs
C. Preemptible VMs (or Spot VMs)
D. Standard VMs

14 Which storage tier is generally the most cost-effective for long-term data archiving where immediate access is not required?

A. Premium SSD
B. Standard Storage
C. Cold/Archive Storage
D. Hot Storage

15 What is the purpose of 'Resource Tagging' in cloud cost management?

A. To increase the speed of the server
B. To secure the resource from hackers
C. To allocate costs to specific departments, projects, or environments
D. To automatically backup the resource

16 How are unattached 'Orphaned' Persistent Volumes (e.g., AWS EBS) treated in terms of billing?

A. They continue to incur full storage costs until deleted
B. They are free of charge
C. They are automatically deleted and not billed
D. They are billed at a reduced rate

17 Which GCP pricing model requires a commitment of 1 or 3 years in exchange for discounted rates, but does not require upfront payment?

A. Preemptible Discounts
B. Committed Use Discounts
C. Free Tier
D. Sustained Use Discounts

18 What is the economic risk of 'Over-provisioning'?

A. Application downtime
B. Security vulnerabilities
C. Slower data transfer
D. Paying for resources that are not being used

19 Which tool in Azure helps identify high-availability and cost-optimization recommendations?

A. Azure Active Directory
B. Azure Sentinel
C. Azure Monitor
D. Azure Advisor

20 What is 'Elasticity' in cloud computing regarding cost?

A. The ability to automatically scale resources up and down to match demand, optimizing spend
B. The flexibility to choose any operating system
C. The fixed cost of long-term contracts
D. The ability to stretch the budget indefinitely

21 How are AWS Lambda functions typically billed?

A. Based on the number of requests and duration (GB-seconds) of code execution
B. Flat monthly fee
C. Based on the amount of code stored
D. Per instance hour

22 Which network component often incurs an hourly charge plus data processing charges in AWS?

A. VPC
B. Route Tables
C. Security Groups
D. NAT Gateway

23 What is the concept of 'Budgets and Alerts' in cloud cost management?

A. Limiting the CPU speed
B. Setting spending thresholds to receive notifications when costs exceed a limit
C. Automatically shutting down the entire account
D. Pre-paying for services

24 Which AWS service helps customers reduce costs by advising on security, performance, and cost optimization?

A. AWS Artifact
B. AWS Trusted Advisor
C. AWS Inspector
D. AWS Shield

25 Why might a 'Static IP' (e.g., AWS Elastic IP) incur a cost?

A. They are always expensive
B. They are charged per gigabyte of traffic
C. They incur a cost only when attached to a running instance
D. They incur a cost when they are allocated but NOT attached to a running instance

26 Which pricing model allows AWS customers to commit to a specific amount of spend per hour (e.g., $10/hour) for 1 or 3 years?

A. Reserved Instances
B. Savings Plans
C. Spot Instances
D. On-Demand

27 How does using a Content Delivery Network (CDN) like CloudFront potentially reduce costs?

A. It caches content at the edge, reducing expensive data egress from the origin server
B. It eliminates the need for storage
C. It compresses data by 90%
D. It is free to use

28 In the context of storage costs, what does 'IOPS' stand for?

A. Internet Operations Per Server
B. Internal Operating Primary Storage
C. Input/Output Operations Per Second
D. Integrated Online Payment System

29 Which of the following describes 'On-Demand' pricing?

A. Pay upfront for 3 years
B. Pay based on the number of users
C. Bid for unused capacity
D. Pay for capacity by the hour or second with no long-term commitment

30 What is a 'Snapshot' cost?

A. The cost of taking a screenshot of the console
B. The cost of a quick view of the billing dashboard
C. The cost of temporary RAM
D. The cost of storing incremental backups of block storage volumes

31 Generally, how does storage cost compare between SSD (Solid State Drive) and HDD (Hard Disk Drive) in the cloud?

A. SSD is more expensive
B. SSD is free
C. HDD is more expensive
D. They cost the same

32 What is 'FinOps'?

A. Financial Operations for cloud cost management and cultural practice
B. Final Operations before deployment
C. Finance Options for startups
D. Finished Optimization of servers

33 When transferring data between two different Availability Zones (AZs) within the same Region on AWS, what is the cost implication?

A. It is always free
B. It is only charged during peak hours
C. It costs the same as internet egress
D. There is usually a per-GB data transfer fee

34 Which of the following is a strategy to optimize storage costs for rarely accessed data?

A. Data Egress
B. Provisioned IOPS
C. Lifecycle Policies
D. Replication

35 What is the billing unit for AWS Fargate?

A. Per vCPU and Memory resources consumed per second
B. Per container image size
C. Per EC2 instance type
D. Per user request

36 What does TCO stand for in cloud economics?

A. Technical Cost Overhead
B. Total Cost of Ownership
C. Time Consuming Operation
D. Total Cloud Optimization

37 Which Azure tool allows you to estimate the cost of Azure products before you deploy them?

A. Azure Pricing Calculator
B. Azure Billing API
C. Azure Invoice
D. Azure Cost Management

38 In GCP, what are 'Custom Machine Types'?

A. Machines that are dedicated to one customer
B. Machines with custom painted cases
C. Machines located on-premise
D. Configurations where you pay only for the specific vCPU and Memory you need

39 What is the cost implication of VPC Peering within the same region?

A. Monthly subscription fee
B. Charged per connection established
C. Data transfer charges apply for traffic crossing the peering connection
D. Free

40 Which strategy involves purchasing instances in a specific Availability Zone to ensure capacity reservation?

A. Zonal Reserved Instances
B. Regional Reserved Instances
C. Spot Instances
D. On-Demand

41 What is 'Cost Anomaly Detection'?

A. Detecting cheap instances
B. Detecting hackers
C. Finding bugs in the code
D. Using ML to identify unusual spending patterns and alert administrators

42 Why is 'Horizontal Scaling' generally more cost-effective for microservices than 'Vertical Scaling'?

A. Horizontal scaling uses less electricity
B. Vertical scaling is not supported in the cloud
C. Horizontal scaling is free
D. Vertical scaling requires expensive specialized hardware, while horizontal allows using smaller, cheaper commodity instances

43 Which cloud provider offers 'Low Priority VMs' as a cost-saving measure for interruptible workloads?

A. Google Cloud
B. Microsoft Azure
C. IBM Cloud
D. AWS

44 What is the primary factor determining the cost of Object Storage (e.g., S3, Blob Storage)?

A. The total storage volume (GB), request count, and data transfer
B. The number of users logged in
C. The operating system used
D. The CPU speed of the storage server

45 If a microservice is architected to be 'stateless', how does this benefit cost using Spot Instances?

A. Stateless services cannot use Spot Instances
B. It reduces the storage cost to zero
C. It allows the service to handle interruptions gracefully, making it safe to use the cheaper Spot instances
D. It removes the need for networking

46 What is the 'Free Tier' designed to do?

A. Allow new customers to try services within usage limits for free, usually for 12 months
B. Offer free hardware shipping
C. Provide unlimited resources forever
D. Provide free consulting services

47 Which pricing model is best for a workload that runs only for 3 hours once a month?

A. Dedicated Host
B. Savings Plan
C. On-Demand
D. Reserved Instances

48 What is a 'Dedicated Host'?

A. A virtual machine with high priority
B. A dedicated network line
C. A physical server fully dedicated to your use
D. A dedicated support agent

49 Which activity constitutes a 'Data Transfer' cost in Google Cloud?

A. Deleting data
B. Moving data between services in the same region
C. Moving data from a Google Cloud bucket to a user on the internet
D. Moving data into Google Cloud (Ingress)

50 How can 'Auto-scaling' groups help in cost optimization?

A. By keeping the maximum number of instances running at all times
B. By compressing the database
C. By removing unnecessary instances during low traffic periods
D. By automatically buying Reserved Instances