Unit 4 - Practice Quiz

INT363

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

A. Scaling the entire application for a small feature change
B. Scaling only the specific service that needs more resources
C. Reducing the cost of software licensing
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 operational expenses to capital expenses
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 manual scaling to auto-scaling

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

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

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

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

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. Spot VMs
D. Dev/Test Pricing

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

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

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

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

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

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

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

10 How does 'Data Egress' impact cloud costs?

A. It is always free
B. It refers to data coming into the cloud and is expensive
C. It refers to data leaving the cloud or region and typically incurs per-GB charges
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 discount for using Azure and AWS simultaneously
B. A benefit allowing use of on-premises Windows Server/SQL Server licenses in Azure to save costs
C. A free tier for hybrid cloud architectures
D. A tool for monitoring hybrid cloud latency

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

A. Sustained Use VMs
B. Preemptible VMs (or Spot VMs)
C. Committed Use 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. Hot Storage
B. Standard Storage
C. Cold/Archive Storage
D. Premium SSD

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 billed at a reduced rate
C. They continue to incur full storage costs until deleted
D. They are free of charge

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. Committed Use Discounts
B. Sustained Use Discounts
C. Preemptible Discounts
D. Free Tier

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

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

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

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

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 fixed cost of long-term contracts
D. The flexibility to choose any operating system

21 How are AWS Lambda functions typically billed?

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

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

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

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 Trusted Advisor
B. AWS Shield
C. AWS Inspector
D. AWS Artifact

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

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

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 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. Internal Operating Primary Storage
D. Integrated Online Payment System

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

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

30 What is a 'Snapshot' cost?

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

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 more expensive
C. They cost the same
D. SSD is free

32 What is 'FinOps'?

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

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. Lifecycle Policies
B. Replication
C. Provisioned IOPS
D. Data Egress

35 What is the billing unit for AWS Fargate?

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

36 What does TCO stand for in cloud economics?

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

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

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

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

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

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

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

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 hackers
B. Using ML to identify unusual spending patterns and alert administrators
C. Finding bugs in the code
D. Detecting cheap instances

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

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

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

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

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

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

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 allows the service to handle interruptions gracefully, making it safe to use the cheaper Spot instances
C. It reduces the storage cost to zero
D. It removes the need for networking

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

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

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

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

48 What is a 'Dedicated Host'?

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

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

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

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

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