Cloud Computing Expert

1 / 69

Explain the differences between IaaS, PaaS, and SaaS. When would you choose one over the others?

Select the correct answer

1

IaaS delivers ready-made applications, PaaS provides virtual machines to configure, and SaaS exposes the operating system layer for full control

2

IaaS handles application logic, PaaS manages billing only, and SaaS provisions the physical servers that customers rack and maintain themselves

3

IaaS runs functions on demand, PaaS supplies bare storage buckets, and SaaS gives you kernel-level access to the underlying host machine

4

IaaS gives raw compute and networking to manage, PaaS abstracts the runtime for deploying code, and SaaS delivers finished applications to end users

What is FaaS (Function-as-a-Service) and how does it differ from traditional PaaS?

Select the correct answer

1

FaaS and PaaS are identical models, differing only in the marketing name that each cloud vendor chooses to assign to their offering

2

FaaS requires you to provision and patch the servers yourself, whereas PaaS abstracts everything including the code you write and deploy for events

3

FaaS hosts persistent always-on application processes billed hourly, whereas PaaS only executes single functions that terminate right after each request

4

FaaS runs short-lived event-triggered functions that scale to zero and bill per invocation, whereas PaaS keeps a platform running to host longer applications

What is the difference between Public, Private, and Hybrid cloud deployment models? In what scenario would a company choose a Private cloud over a Public one?

Select the correct answer

1

Public shares infrastructure across many tenants, Private is dedicated to one organization, and Hybrid links both; a Private cloud suits strict data-control needs

2

Public and Private are the same shared model, and Hybrid means no cloud at all; a Private cloud is chosen mainly to cut every possible cost

3

Public runs on your own servers, Private runs on vendor servers, and Hybrid removes vendors; a Private cloud suits firms wanting elastic public scaling

4

Public is dedicated to one firm, Private is shared by many tenants, and Hybrid uses only on-premises hardware; a Private cloud suits low-budget startups

What is a community cloud, and in what situations would organizations use one?

Select the correct answer

1

Infrastructure built from volunteer home computers donated freely, used when organizations need massive compute without paying any provider fees at all

2

Infrastructure owned by a single company for its own exclusive use, adopted when that firm wants total isolation from every other external tenant

3

Infrastructure open to the general public over the internet, chosen when organizations want the lowest cost and do not care about who shares it

4

Infrastructure shared by several organizations with common concerns such as compliance or mission, used when they have aligned regulatory and security requirements

What are managed (PaaS) services, and what are the trade-offs of using them versus self-managing the same capability?

Select the correct answer

1

The provider gives full source access and root control with no lock-in at all, while self-managing is always cheaper and simpler across every workload type

2

The provider only rents you hardware while you patch everything, which lowers control but avoids lock-in, whereas self-managing removes all operational responsibility entirely

3

The provider handles operations like patching and scaling, saving effort but reducing control and risking lock-in, while self-managing gives flexibility at higher operational cost

4

The provider guarantees zero cost and unlimited customization forever, whereas self-managing forces vendor lock-in and strips away any ability to tune performance

What is the difference between CapEx and OpEx, and how does moving to the cloud shift a company's financial model?

Select the correct answer

1

CapEx and OpEx both mean depreciation of hardware over time; cloud eliminates all spending categories and makes infrastructure completely free after initial setup

2

CapEx is recurring monthly usage cost, OpEx is a one-time asset purchase; cloud shifts spending from operating fees toward big upfront capital investments

3

CapEx is upfront spending on owned assets, OpEx is ongoing usage cost; cloud shifts spending from large capital purchases toward pay-as-you-go operating expenses

4

CapEx is the tax on operating profit, OpEx is the tax on capital gains; cloud shifts a firm from paying income tax toward paying only sales tax

What are the five essential characteristics of cloud computing according to NIST?

Select the correct answer

1

Automated backups, global routing, shared licensing, vertical scaling, and guaranteed uptime service

2

On-demand billing, private networking, dedicated hardware, manual scaling, and fixed monthly service

3

Self-hosting, limited access, single tenancy, static capacity, and unmetered flat-rate service

4

On-demand self-service, broad network access, resource pooling, rapid elasticity, and measured service

What does it mean for an application to be 'Cloud-Native'?

Select the correct answer

1

It is an application that runs exclusively offline on local desktops and connects to the cloud purely for occasional data backup tasks

2

It is designed to exploit cloud models using microservices, containers, and automation to scale and recover in dynamic environments

3

It is a legacy monolith simply moved onto a single virtual machine without changing its original architecture or scaling behavior

4

It is any software that can only run on one specific vendor's proprietary hardware and cannot be deployed anywhere else at all

What is cloud computing, and what are the main benefits and drawbacks of adopting it?

Select the correct answer

1

On-demand delivery of IT resources over the internet with pay-as-you-go pricing.

2

A private network connecting office computers to share files and printers locally.

3

Permanent ownership of physical servers housed in a company's own data center.

4

Software installed locally on each user's machine and licensed per device yearly.

What is 'resource pooling' and how does it enable the economies of scale that cloud providers offer?

Select the correct answer

1

Each customer receives a dedicated physical server that no one else can ever use.

2

Providers serve many tenants from shared physical resources allocated on demand.

3

Resources are copied to every region so each user gets a full local hardware set.

4

Idle servers are powered off nightly and rebuilt fresh from backups each morning.

What does 'XaaS' (Anything-as-a-Service) mean, and can you give examples beyond IaaS/PaaS/SaaS?

Select the correct answer

1

A hardware standard letting servers from different vendors share one common chassis.

2

A pricing tier where every service is bundled into one flat monthly subscription fee.

3

Delivering any capability as an internet service, such as FaaS or DBaaS offerings.

4

A framework forcing all workloads to use exactly the same runtime and language stack.

Can you describe the historical evolution of cloud computing, from grid/utility computing and virtualization to modern cloud?

Select the correct answer

1

It began with public cloud, then added virtualization, and finally reached mainframes.

2

It started with smartphones, moved to laptops, and later introduced shared servers.

3

It progressed from grid and utility computing through virtualization to modern cloud.

4

It emerged fully formed from a single vendor's data center release in the year 2015.

What are the key trade-offs between running workloads on-premises versus in the public cloud?

Select the correct answer

1

Public cloud removes all security duties from the customer and needs no configuration.

2

On-premises scales automatically with demand, whereas cloud requires manual purchasing.

3

On-premises always costs less at any scale while offering unlimited instant elasticity.

4

On-premises means upfront capital cost and control; cloud offers elastic pay-per-use.

What is a hypervisor, and what is the difference between Type 1 (bare-metal) and Type 2 (hosted) hypervisors?

Select the correct answer

1

Type 1 emulates the full CPU in software; Type 2 passes instructions straight through.

2

Type 1 runs inside a browser tab; Type 2 runs as a background system service daemon.

3

Type 1 hosts only Linux guests; Type 2 hosts only Windows guests on the same box.

4

Type 1 runs directly on the hardware; Type 2 runs on top of a host operating system.

Explain the difference between Object Storage, Block Storage, and File Storage. When would you use each?

Select the correct answer

1

Object storage exposes a shared directory hierarchy, block storage stores objects with rich metadata for archives, and file storage provides raw low-latency volumes ideal for transactional relational database workloads

2

Object storage holds data as flat objects with metadata for media and backups, block storage offers raw volumes for databases and VM disks, and file storage exposes a shared hierarchy for multiple clients

3

Object storage keeps mounted volumes for databases, block storage stores flat objects for backups and media, and file storage handles raw disk blocks attached directly to a single virtual machine instance

4

Object storage provides raw disk volumes for VMs, block storage exposes a shared network file hierarchy, and file storage stores immutable flat objects accessed over HTTP for large media libraries

What is 'Infrastructure as Code' (IaC) and why is it preferred over manual configuration in the cloud?

Select the correct answer

1

Defining infrastructure in declarative files that can be versioned and repeated, giving consistent, reproducible environments and avoiding error-prone manual clicking

2

Defining infrastructure by clicking through the console once and saving screenshots, giving a documented setup that teammates can follow and reproduce manually when needed

3

Writing application business logic that provisions its own servers at runtime, giving each request the ability to scale hardware without any predefined configuration files

4

Storing server credentials and network diagrams in a shared wiki page, giving operators a single reference so they can rebuild environments by hand consistently later

Compare and contrast Containers and Virtual Machines (VMs) at a conceptual level. Why are containers considered more 'cloud-native'?

Select the correct answer

1

Containers emulate hardware for each app, so they are heavier than VMs but much more portable overall

2

Containers run a full guest OS per instance, giving them stronger isolation but far slower startup times

3

Containers share the host OS kernel and bundle only the app, so they start fast and use fewer resources

4

Containers and VMs both virtualize hardware, but containers require a dedicated hypervisor layer to run

In Identity and Access Management, what is the difference between authentication and authorization?

Select the correct answer

1

Authentication verifies who you are, while authorization determines what actions you are allowed to perform

2

Authentication assigns permitted roles to a user, while authorization confirms the password matches what is stored

3

Authentication determines what you can access, while authorization verifies the identity of a requesting user

4

Authentication encrypts credentials while in transit, while authorization stores those credentials safely at rest

Explain the difference between Encryption at Rest and Encryption in Transit. Who typically manages the keys in a managed cloud service?

Select the correct answer

1

At rest protects moving data, in transit protects stored data; the user always holds keys.

2

Both modes protect only backups; keys are shared publicly so any tenant can decrypt data.

3

At rest encrypts passwords, in transit encrypts logs; no keys are needed for either mode.

4

At rest protects stored data, in transit protects moving data; the provider often holds keys.

What is the 'Principle of Least Privilege' (PoLP) and how is it applied to Identity and Access Management (IAM)?

Select the correct answer

1

Give each identity broad permissions but log every action taken for later security review.

2

Grant every identity full admin rights first, then remove access only after incidents.

3

Grant each identity only the minimum permissions required to do its intended task.

4

Assign all users to one shared role so permissions stay simple and easy to audit later.

What is the difference between 'Durability' and 'Availability' in cloud storage?

Select the correct answer

1

Durability measures how quickly reads and writes complete, while availability measures the total number of copies the provider keeps replicated across separate physical data centers

2

Durability is the likelihood your data is not lost or corrupted over time, while availability is the likelihood you can access that data at any given moment

3

Durability is the likelihood you can access data at any given moment, while availability is the likelihood the data is never lost or corrupted over the entire storage lifetime

4

Durability measures the encryption strength protecting stored data, while availability measures the geographic spread of Regions where the provider is legally permitted to host it

Explain the concept of 'Storage Tiering' (Hot vs. Cold vs. Archive), and how does it help in cost optimization?

Select the correct answer

1

Frequently accessed data sits in the archive tier with instant retrieval while rarely used data stays hot, cutting spend by keeping everything in the fastest storage class available

2

Frequently accessed data sits in cheaper-to-read hot tiers while rarely used data moves to colder tiers with lower storage cost, cutting spend by matching tier to access frequency

3

All data is duplicated equally across hot, cold, and archive tiers at once, cutting spend by spreading identical copies so any single tier failure never affects total availability

4

Data is tiered strictly by file size rather than access pattern, cutting spend by pushing large objects into hot storage and keeping small objects permanently in the archive tier

What is the difference between an SLA, an SLO, and an SLI?

Select the correct answer

1

An SLI is a measured metric, an SLO is the target for it, and an SLA is the contractual promise with penalties

2

An SLA is the measured metric, an SLO is the signed contract, and an SLI is the internal target teams aim for

3

An SLI is the customer contract, an SLO is the raw metric, and an SLA is the informal engineering goal to hit

4

An SLO is the measured metric, an SLI is the penalty clause, and an SLA is the availability target that is set

What are compliance frameworks like GDPR, HIPAA, and SOC 2, and why do they matter when choosing a cloud provider?

Select the correct answer

1

They are open-source security tools that automatically encrypt data before it is uploaded to any provider

2

They are cloud pricing models that guarantee lower costs when workloads meet certain regional data rules

3

They are networking protocols that ensure encrypted data transfer between regions across cloud vendors

4

They are regulatory or audit standards for data handling; certified providers reduce your own compliance burden

What is observability in a cloud context, and how do logs, metrics, and traces differ?

Select the correct answer

1

Logs are discrete event records, metrics are numeric time-series, and traces follow a request across services

2

Logs are numeric aggregates, metrics are event records, and traces store raw text output from each service

3

Logs follow requests across services, metrics are discrete events, and traces are numeric measurements taken

4

Logs are request timelines, metrics are text records, and traces are periodic numeric samples of system health

At a high level, what is container orchestration for, and why is it valuable in the cloud?

Select the correct answer

1

It manages billing and cost allocation for containers running across multiple cloud provider accounts at once

2

It automates deployment, scaling, self-healing, and networking of containers across a cluster of machines

3

It replaces containers with virtual machines to improve isolation while scaling workloads across many regions

4

It compiles container images directly from source code and distributes them to a private registry on its own

What is the difference between Data Residency and Data Sovereignty, and why does a developer need to care about which Region their data is stored in?

Select the correct answer

1

Residency is the physical location where data is stored, while sovereignty means the data is subject to the laws of the country it resides in, so Region choice affects legal compliance

2

Residency is the set of laws governing the data, while sovereignty is simply the physical location of storage, so Region choice mainly affects network latency and replication throughput speeds

3

Residency and sovereignty both refer to encryption standards applied at rest, so Region choice only matters for selecting which key management service and cipher suite your application will use

4

Residency is a backup retention policy while sovereignty is an access control model, so Region choice determines how long snapshots persist and which IAM roles can read the data

What is 'Zero Trust' architecture and how does it differ from traditional perimeter-based security?

Select the correct answer

1

Zero Trust removes all authentication to speed up internal calls, whereas perimeter security relies purely on continuous identity verification for every user and device that connects

2

Zero Trust and perimeter security are identical models, both trusting internal traffic while blocking external requests using a hardened firewall placed at the edge of the corporate network

3

Zero Trust assumes no request is inherently trusted and verifies every one, whereas perimeter security trusts anything already inside the network boundary once it passes the firewall

4

Zero Trust trusts all internal traffic to reduce overhead, whereas perimeter security individually authenticates every single request regardless of whether it originates inside or outside the network

What are 'The Nines' in an SLA (e.g., 99.9% vs 99.99%), and how does increasing the number of nines impact the cost and complexity of your architecture?

Select the correct answer

1

They express the guaranteed uptime percentage; adding a nine increases allowed downtime, so it lets you cut redundancy and reduces both the cost and complexity of the design

2

They express the average request latency in milliseconds; adding a nine tightens the latency budget, so it requires faster hardware but has little effect on redundancy or cost

3

They express the percentage of data durability guaranteed; adding a nine improves replication factors, so it mainly affects storage spend without changing availability or overall complexity

4

They express the guaranteed uptime percentage; adding a nine shrinks allowed downtime dramatically, so it demands more redundancy and raises cost and complexity significantly

What is 'Immutable Infrastructure,' and how does it differ from traditional server maintenance ('Pets vs. Cattle')?

Select the correct answer

1

Servers are continuously patched and updated in place after deployment, treating each one as a unique disposable unit that is rebuilt from scratch on every configuration change

2

Servers are manually configured once and then frozen from all monitoring, treating them as irreplaceable pets that must be individually backed up before any code deployment

3

Servers are never modified after deployment; changes mean replacing instances entirely, treating them as disposable cattle rather than carefully patched, hand-nursed pets

4

Servers share a single mutable image edited live across the fleet, treating the whole cluster as one pet that is upgraded gradually to avoid replacing running instances

What is key management in the cloud, and what are the trade-offs between provider-managed keys and customer-managed keys?

Select the correct answer

1

Provider-managed keys cannot be rotated, while customer-managed keys are automatically rotated by the cloud vendor

2

Provider-managed keys give full customer control, while customer-managed keys are handled entirely by the vendor

3

Provider-managed keys are simpler to operate; customer-managed keys give more control but add operational burden

4

Provider-managed keys are always less secure, while customer-managed keys remove all compliance responsibility

Explain the difference between a Stateless and a Stateful application. Why does the cloud favor statelessness for the application tier?

Select the correct answer

1

Stateless apps store session data on each instance, which lets the cloud replicate them without any load balancer

2

Stateless apps keep no client session data locally, so any instance can handle a request and they scale easily

3

Stateless apps require sticky sessions bound to one instance, which makes horizontal scaling simpler in the cloud

4

Stateful apps hold no local session data, so the cloud can freely add or remove instances during traffic spikes

Explain the 'Twelve-Factor App' methodology at a high level. Why is it relevant to the cloud?

Select the correct answer

1

A set of best practices for building portable, scalable, stateless cloud-native apps.

2

A container orchestration standard defining how Kubernetes pods get scheduled.

3

A pricing model where cloud costs are split across twelve monthly billing factors.

4

A twelve-step security checklist every cloud deployment must pass before its release.

What are 'Sticky Sessions' and why are they generally discouraged in cloud-native architectures?

Select the correct answer

1

Binding a user to one server for their session; it hinders scaling and load balancing.

2

Caching static assets on the client so pages load faster across the whole session.

3

Sharing session state across all servers so any node can handle any request cleanly.

4

Encrypting session cookies so they cannot be read or tampered with by any attacker.

What is the role of an API Gateway in a cloud-based microservices architecture?

Select the correct answer

1

A single entry point that routes requests and handles auth and rate limiting.

2

A service mesh sidecar that encrypts internal traffic between all services directly.

3

A message broker that queues events and delivers them asynchronously between services.

4

A database proxy that caches queries and balances load across service data stores.

Why is 'Event-Driven Architecture' often paired with serverless functions?

Select the correct answer

1

Functions run only when triggered by events, scaling automatically and billed per use.

2

Serverless demands a persistent connection so each function can hold user state locally.

3

Events require dedicated servers provisioned in advance for predictable throughput levels.

4

Functions poll a central server constantly for events, keeping resources always running.

What is edge computing (and fog computing), and how does it differ from centralized cloud computing?

Select the correct answer

1

Running all computation in one large data center to maximize resource pooling and reuse.

2

Processing data near its source to cut latency, versus in centralized data centers.

3

Distributing databases globally so every region holds an identical copy of all the data.

4

Storing backups at the network edge while all real processing stays in the main cloud.

What does it mean to 'Design for Failure' in the cloud? Give an example of a common cloud failure and how you would mitigate it conceptually.

Select the correct answer

1

Purchase premium hardware and support plans so failures never occur in production.

2

Assume components will fail and build redundancy so the system recovers automatically.

3

Prevent outages entirely by running the whole application in a single strong region.

4

Eliminate all failures by testing code thoroughly before deploying it to production.

Explain RTO and RPO. How do these metrics influence your Disaster Recovery strategy?

Select the correct answer

1

Both measure system uptime percentages used to define availability service agreements.

2

RTO is max acceptable data loss; RPO is max acceptable downtime after an outage occurs.

3

RTO tracks recovery cost; RPO tracks the number of restore points kept in the backups.

4

RTO is max acceptable downtime; RPO is max acceptable data loss measured in time.

Explain the difference between a Cloud Region and an Availability Zone, and how do you use them to design for High Availability?

Select the correct answer

1

An AZ contains multiple regions; spread workloads across regions within one AZ for HA.

2

A region is a single data center; an AZ is a rack within it used for redundancy only.

3

A region contains multiple isolated AZs; spread workloads across AZs for availability.

4

Regions and AZs are identical; using either one alone guarantees full high availability.

What is the difference between High Availability and Fault Tolerance, and how do Regions and Availability Zones help achieve these?

Select the correct answer

1

High availability minimizes downtime through fast recovery, while fault tolerance keeps running with zero interruption during failures

2

High availability keeps running with zero interruption, while fault tolerance only restores service quickly after any component failure occurs

3

High availability and fault tolerance are identical, and both simply require deploying redundant servers within one single availability zone

4

High availability protects against data loss, while fault tolerance is only about scaling capacity to handle larger traffic spikes

How does a Load Balancer contribute to high availability versus just performance?

Select the correct answer

1

It only distributes requests evenly across instances, so it improves throughput but never affects the overall system availability

2

It performs health checks and reroutes traffic away from failed instances, not only spreading load across healthy ones

3

It replicates the database across regions automatically, providing availability while performance depends entirely on the instance sizing

4

It caches responses at the edge so failed instances still serve stale data, guaranteeing availability without any health checks

What are common disaster recovery strategies (backup-and-restore, pilot light, warm standby, active-active), and how do they trade cost against RTO/RPO?

Select the correct answer

1

Cost is unrelated to RTO/RPO because each strategy relies on the same standby capacity and differs only in the region chosen

2

Cheaper strategies like active-active give the lowest RTO/RPO, while pricier backup-and-restore trades speed for stronger data durability

3

Higher spend on always-running standby infrastructure buys higher RTO/RPO, moving from active-active down to plain backup-and-restore

4

Higher spend on always-running standby infrastructure buys lower RTO/RPO, moving from backup-and-restore up to active-active

What does 'pay-as-you-go' or 'measured service' mean, and how does metered billing change how you architect systems?

Select the correct answer

1

You pay a fixed monthly subscription fee, so you architect to provision maximum capacity upfront since additional usage incurs no extra charges at all.

2

You prepay for a capacity reservation, so you architect around long-lived static instances that stay running to guarantee availability during peak times.

3

You pay only for resources actually consumed, so you architect to release idle capacity and scale down when demand is low to reduce cost.

4

You pay based on the number of users, so you architect around user quotas and design systems that limit account creation to control the overall spend.

Explain the concept of 'Right-sizing'. How do you identify if a cloud resource is over-provisioned?

Select the correct answer

1

Match resource size to real demand; consistently low CPU, memory, and network utilization signals it is over-provisioned

2

Always pick the cheapest instance tier; a rising monthly bill alone is the clearest signal that a resource is over-provisioned

3

Match resource size to real demand; sustained low CPU and memory utilization over time indicates that it is over-provisioned

4

Buy the largest instance available; frequent throttling and high latency under peak load indicate that it is over-provisioned

What are 'Spot' or 'Preemptible' instances, and what is the trade-off for their lower cost?

Select the correct answer

1

Dedicated capacity offered cheaply on a long contract that the provider guarantees, so workloads run without any interruption risk

2

Spare capacity offered cheaply that the provider can reclaim with little notice, so workloads must tolerate interruption

3

Spare capacity offered cheaply that runs on slower hardware, so the trade-off is reduced performance rather than sudden termination

4

Shared capacity offered cheaply with strict data limits, so the trade-off is capped storage and network rather than being reclaimed

What is the difference between On-Demand, Reserved (Committed Use), and Spot (Preemptible) pricing models, and when is it risky to use Spot instances?

Select the correct answer

1

On-Demand is flexible pay-as-you-go, Reserved discounts a commitment, Spot is cheapest but reclaimable; risky for stateful or critical work

2

On-Demand is cheapest, Reserved is reclaimable capacity, Spot discounts a commitment; risky whenever a workload can pause and resume freely

3

On-Demand and Reserved are identical flat rates, Spot is a premium tier; risky mainly because Spot always costs far more under peak demand

4

On-Demand needs a long commitment, Reserved is pay-as-you-go, Spot is cheapest and guaranteed; risky only for short-lived batch jobs

What are 'Egress Costs,' and why are they often referred to as a 'hidden' cloud cost? How can a developer architect a system to minimize them?

Select the correct answer

1

Charges for data entering the cloud; route all inbound uploads through a single region and disable caching to reduce transfers

2

Charges for storing archived data long-term; move objects to colder storage tiers frequently to reduce the recurring transfer fees

3

Charges for API request counts on services; batch calls together and add more compute nodes to reduce the per-request transfer fees

4

Charges for data leaving the cloud; keep traffic within the same region and use caching or CDNs to reduce transfers

Explain the concept of 'Total Cost of Ownership' (TCO) in the cloud. Why might a cloud bill be higher than the cost of the physical servers it replaced?

Select the correct answer

1

TCO counts only upfront hardware purchases; bills grow because providers must recover the cost of the datacenter buildings they own

2

TCO counts only the monthly compute charge; bills grow because cloud CPUs are always inherently slower than owned physical hardware

3

TCO counts staffing salaries alone; bills grow chiefly because cloud contracts require paying for unused capacity you never provisioned

4

TCO counts all direct and indirect costs; bills grow from data transfer, managed services, and idle over-provisioned resources

What is FinOps, and what do 'showback' and 'chargeback' mean in cloud cost management?

Select the correct answer

1

FinOps is a billing negotiation process with vendors; showback and chargeback both mean forecasting future costs based on historical consumption trends.

2

FinOps is a discipline for cloud cost accountability; showback reports each team's costs for visibility, while chargeback actually bills teams for their usage.

3

FinOps is a security compliance framework; showback bills each team directly, while chargeback only reports usage to teams for internal visibility purposes.

4

FinOps is an automated scaling technique; showback allocates unused credits to teams, while chargeback reserves capacity in advance to reduce total spend.

Explain the difference between Horizontal and Vertical scaling. Which one is generally preferred in a cloud-native environment and why?

Select the correct answer

1

Horizontal upgrades disk capacity; vertical upgrades network bandwidth. Vertical is preferred in the cloud because a single node is far simpler to manage.

2

Horizontal adds more machines; vertical adds power to one machine. Horizontal is preferred in the cloud for resilience and near-limitless growth.

3

Horizontal and vertical both add more machines to a pool. Horizontal is preferred in the cloud because it keeps all state on a single powerful server node.

4

Horizontal adds power to one machine; vertical adds more machines. Vertical is preferred in the cloud because it avoids the need for load balancing entirely.

What is the conceptual difference between Scalability and Elasticity? Can a system be scalable but not elastic?

Select the correct answer

1

Scalability means handling more load; elasticity means handling less load. No, a system must always support both directions to be considered scalable at all.

2

Scalability is the ability to grow capacity; elasticity is doing so automatically in real time. Yes, a system can scale manually without being elastic.

3

Scalability relates only to storage growth; elasticity relates only to compute. Yes, a system can scale storage while keeping its compute completely fixed.

4

Scalability is automatic real-time adjustment; elasticity is the raw ability to grow. No, any scalable system is by definition also fully elastic too.

Explain the concept of 'Cloud Bursting' and a scenario where it would be beneficial.

Select the correct answer

1

Splitting a workload evenly across two public cloud providers at all times, useful for avoiding vendor lock-in and negotiating better contract pricing.

2

Running normally in the public cloud and falling back to a private data center on outages, useful for guaranteeing uptime during provider failures.

3

Running normally in a private data center and overflowing to the public cloud during demand spikes, useful for handling seasonal traffic surges.

4

Rapidly deleting cloud resources when a budget threshold is exceeded, useful for controlling runaway costs during unexpected sustained traffic growth.

What is auto-scaling, and how does it differ from simply provisioning for peak load?

Select the correct answer

1

Auto-scaling adjusts resources dynamically to match demand, whereas peak provisioning keeps maximum capacity always running and paying for idle resources.

2

Auto-scaling and peak provisioning both size for maximum load, but auto-scaling spreads that capacity across multiple regions for redundancy purposes.

3

Auto-scaling manually resizes instances during maintenance windows, whereas peak provisioning automatically responds to real-time traffic fluctuations.

4

Auto-scaling keeps a fixed reserve of capacity ready at all times, whereas peak provisioning adds resources only after monitoring detects a demand increase.

Explain the 'Shared Responsibility Model.' Who is responsible for what in an IaaS vs. a SaaS model?

Select the correct answer

1

The provider secures the underlying infrastructure; in IaaS the customer manages the OS, apps and data, while in SaaS the provider handles nearly everything.

2

The customer is fully responsible for security in both models; in IaaS and SaaS the provider merely supplies hardware and leaves all software to the customer.

3

The provider is fully responsible for security in both models; in IaaS and SaaS the customer only ever manages user passwords and their own billing settings.

4

The customer secures the underlying infrastructure; in IaaS the provider manages the OS and data, while in SaaS the customer handles nearly everything.

What is Multi-tenancy, and what are the risks of 'noisy neighbors' in a public cloud environment?

Select the correct answer

1

Multiple customers share the same infrastructure; a noisy neighbor is a tenant that leaks data across boundaries and directly accesses others' private files.

2

Multiple customers share the same infrastructure; a noisy neighbor is a tenant consuming excess shared resources and degrading others' performance.

3

Each customer runs in a separate region; a noisy neighbor is a tenant located too far away geographically, adding network latency to shared API calls.

4

Each customer gets fully dedicated hardware; a noisy neighbor is a tenant sending too many support requests and slowing down the provider's response times.

What is 'Multi-tenancy' in a cloud environment, and what are the potential security risks associated with it?

Select the correct answer

1

A single application instance serves one client only, which eliminates any risk of cross-customer data exposure.

2

Tenants are billed separately but run isolated clouds, so noisy-neighbor and side-channel attacks are impossible here.

3

Multiple customers share pooled infrastructure with logical isolation; a flaw could expose one tenant's data to another.

4

Each customer receives dedicated physical hardware, so no isolation flaws can ever leak sensitive data between them.

How does a Content Delivery Network (CDN) improve application performance?

Select the correct answer

1

It caches content on edge servers near users, cutting latency and offloading traffic from the origin.

2

It replaces the origin server entirely by generating dynamic pages inside every user's local web browser.

3

It compresses all database queries at the origin server, so responses reach distant users much more quickly.

4

It encrypts every request end to end, which reduces round trips and thereby speeds up content delivery.

Explain the concept of a Virtual Private Cloud (VPC). Why is it important for a developer to understand subnets and security groups even if they don't manage the infra?

Select the correct answer

1

A logically isolated virtual network in the cloud; subnets and security groups control reachability of your services.

2

A physical data center rented per customer; subnets and security groups only affect DNS resolution of endpoints.

3

A managed database cluster spanning regions; subnets and security groups define its automatic backup schedules only.

4

A shared public network for all tenants; subnets and security groups mainly set the billing tiers for developers.

What is a Content Delivery Network (CDN) and how does it relate to Edge Computing?

Select the correct answer

1

A CDN encrypts static assets in transit; edge computing decrypts them only after reaching the origin server.

2

A CDN stores backups in one central region; edge computing moves those backups to a single cheaper zone.

3

A CDN caches content at edge locations; edge computing extends this by running compute close to users.

4

A CDN routes all traffic to the origin; edge computing simply renames that origin server as an edge node.

What role does DNS play in cloud architectures, and how is it used for failover and traffic routing?

Select the correct answer

1

It balances traffic across servers by opening TCP connections and closing them when a health check fails.

2

It resolves names to addresses and can route or fail over traffic using health checks and routing policies.

3

It stores application session state and can reroute users by rewriting their cookies during regional outages.

4

It caches static web assets globally and can shift load by compressing responses when a region fails.

What is the purpose of a VPN or Direct Connect link in a hybrid cloud setup?

Select the correct answer

1

It provides secure, private connectivity between on-premises networks and cloud resources.

2

It caches cloud-hosted content within the local data center to reduce latency for users.

3

It replicates cloud databases onto on-premises servers over encrypted public internet links.

4

It automatically converts on-premises virtual machines into managed cloud serverless functions.

What is Serverless (FaaS) and what are the primary trade-offs, such as cold starts and execution limits, compared to long-running containers?

Select the correct answer

1

Functions run on demand in ephemeral instances; trade-offs include cold starts and execution time limits.

2

Functions require managing the OS and scaling manually; the trade-off is slower deployment of new code.

3

Functions run only inside long-lived containers; the trade-off is unpredictable billing and no autoscaling.

4

Functions run continuously on reserved servers; the main trade-off is paying for idle capacity constantly.

What is a 'Cold Start' in serverless computing, and what architectural patterns can mitigate its impact?

Select the correct answer

1

Latency from encrypting the first request; disabling TLS on internal endpoints avoids it completely.

2

Latency from a full server reboot on deploy; adding more memory to each function removes it entirely.

3

Latency caused by database connection pooling; caching every query result eliminates it across regions.

4

Latency to initialize a new function instance; provisioned concurrency or keep-warm calls reduce it.

When would a company choose a Hybrid Cloud deployment over a pure Public Cloud strategy?

Select the correct answer

1

When every workload can scale elastically and needs no control over the physical infrastructure

2

When the goal is to spread identical workloads across several competing public cloud providers

3

When the company wants to fully eliminate all on-premises hardware and its maintenance costs

4

When data residency, latency, or legacy systems require some workloads to stay on-premises

Explain the '6 Rs' of cloud migration. When would you recommend a 'Lift and Shift' (Rehost) over a full Refactor?

Select the correct answer

1

Rehost when you want to fully re-architect the app to gain elasticity and cost savings

2

Rehost only when the application must be rebuilt to use managed cloud-native services first

3

Rehost when the legacy application should be retired and replaced with a SaaS product

4

Rehost when speed matters and the app can move as-is; refactor later once value is proven

What is 'Vendor Lock-in', and what architectural patterns can help mitigate it?

Select the correct answer

1

Dependence on a single billing contract; reserved instances and spot pricing help to reduce it

2

Dependence on one region's data centers; multi-zone replication and failover fully eliminate it

3

Dependence on legacy hardware vendors; virtualization and hypervisor tuning largely eliminate it

4

Dependence on one provider's proprietary services; abstraction layers and open standards reduce it

Explain the difference between Hybrid Cloud and Multi-Cloud. Why might a company choose a multi-cloud strategy despite the increased complexity?

Select the correct answer

1

Hybrid mixes private and public; multi-cloud uses several public providers to avoid lock-in

2

Hybrid uses several public providers; multi-cloud mixes private and public to boost security

3

Hybrid means SaaS plus IaaS; multi-cloud means running only containers across data centers

4

Hybrid and multi-cloud both mean one provider spanning many regions for lower latency

What is the difference between a 'Cloud-Native' and a 'Cloud-Agnostic' architecture? What are the risks of vendor lock-in?

Select the correct answer

1

Cloud-native means virtual machines only; cloud-agnostic means serverless functions on any provider

2

Cloud-native means on-premises only; cloud-agnostic means using exclusively public cloud offerings

3

Cloud-native stays portable across providers; cloud-agnostic embraces one provider's managed services

4

Cloud-native embraces one provider's managed services; cloud-agnostic stays portable across providers