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. Reducing the cost of software licensing
B. Eliminating the need for load balancers
C. Scaling only the specific service that needs more resources
D. Scaling the entire application for a small feature change

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. On-Demand Instances
C. Spot Instances
D. Dedicated Hosts

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

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

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

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

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. Loyalty Bonus
B. Committed Use Discount
C. Spot Discount
D. Sustained Use Discount

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

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

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

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

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

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

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. Convertible Reserved Instances
B. Spot Instances
C. On-Demand Instances
D. Standard Reserved Instances

12 What is the 'Azure Hybrid Benefit'?

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

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

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

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

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

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

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

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

A. They are automatically deleted and not billed
B. They are free of charge
C. They continue to incur full storage costs until deleted
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. Sustained Use Discounts
C. Free Tier
D. Committed Use Discounts

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

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

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

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

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

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

21 How are AWS Lambda functions typically billed?

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

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

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

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

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

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

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

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

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

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. Savings Plans
B. Reserved Instances
C. On-Demand
D. Spot Instances

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

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

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

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

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

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

30 What is a 'Snapshot' cost?

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

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

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

32 What is 'FinOps'?

A. Final Operations before deployment
B. Financial Operations for cloud cost management and cultural practice
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. There is usually a per-GB data transfer fee
C. It costs the same as internet egress
D. It is only charged during peak hours

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 EC2 instance type
B. Per container image size
C. Per user request
D. Per vCPU and Memory resources consumed per second

36 What does TCO stand for in cloud economics?

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

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

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

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

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

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

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

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

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

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 requires expensive specialized hardware, while horizontal allows using smaller, cheaper commodity instances
C. Horizontal scaling is free
D. Vertical scaling is not supported in the cloud

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

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

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

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

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

A. It removes the need for networking
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. Stateless services cannot use Spot Instances

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

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

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

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

48 What is a 'Dedicated Host'?

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

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

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

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

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