1. Home
  2. Subjects
  3. Computer Science MCQs
  4. Cloud Computing

Cloud Computing MCQs · Page 2

85 multiple choice questions with answers in Computer Science MCQs.

Showing 26–50 of 85

An EBS gp3 volume is created with default settings. What baseline performance does it provide regardless of volume size?

  1. 16000 IOPS and 1000 MiB/s, the maximum that any gp3 volume can ever reach
  2. 3000 IOPS and 125 MiB/s, with extra IOPS and throughput purchased separately Correct answer
  3. 3000 IOPS and 250 MiB/s, with throughput scaling automatically with volume size
  4. 100 IOPS per GiB and 250 MiB/s, both scaling in proportion to the volume's size
MCQSEXAM Read explanation

Which statement correctly distinguishes instance store from EBS-backed volumes on EC2?

  1. Instance store is ephemeral local disk tied to the host, while EBS persists independently Correct answer
  2. Instance store survives a stopped instance, while EBS volumes are deleted with the host
  3. Both are network-attached, but instance store offers higher durability by replicating twice
  4. Instance store is billed per gigabyte-month, while EBS is included in the instance price
MCQSEXAM Read explanation

What does the cooldown period of an Auto Scaling group actually prevent?

  1. New instances from receiving traffic until their health checks have passed twice in a row
  2. Scale-in events entirely, so the group can only ever grow during a traffic spike
  3. The load balancer from deregistering instances that are still serving requests
  4. Further scaling actions until metrics stabilise, avoiding repeated over-correction Correct answer
MCQSEXAM Read explanation

Why is an IAM role preferred over an IAM user with access keys for code running on an EC2 instance?

  1. The role issues an encrypted access key that is written to the instance's root volume at boot
  2. The role removes the need for any permission policy at all, since the instance identity is trusted by default
  3. The role lets the instance share one access key with other accounts without extra configuration
  4. The role issues short-lived credentials through instance metadata, so no long-term secret is stored Correct answer
MCQSEXAM Read explanation

What fundamentally distinguishes a container from a virtual machine?

  1. A container includes a hypervisor of its own, while a VM does not, so a container needs more privileged hardware
  2. Containers cannot be networked, unlike virtual machines, which each receive their own network stack
  3. A VM shares the host kernel while a container virtualises the hardware, which is why a VM starts faster
  4. Containers share the host kernel and isolate at the process level, whereas each VM runs its own guest kernel Correct answer
MCQSEXAM Read explanation

Declarative infrastructure-as-code tools are described as idempotent. What does that mean in practice?

  1. Resources are created only in the first apply of each day, and later runs are silently skipped
  2. The tool rolls back every change made by a failed run, restoring the previous state automatically and safely
  3. Applying the same template repeatedly converges to the same state instead of creating duplicate resources Correct answer
  4. Each apply must be run exactly once, since repeated runs change resource identifiers every time
MCQSEXAM Read explanation

Which response header primarily controls how long a CDN edge may serve a cached object before revalidating?

  1. Cache-Control with max-age, and s-maxage which overrides it for shared caches Correct answer
  2. Content-Length, which sets the freshness window in seconds for the response
  3. ETag, which fixes the cache lifetime and forces revalidation on every single request
  4. Vary, which sets a separate cache lifetime per client and per user agent string
MCQSEXAM Read explanation

Which workload is the best fit for interruptible spot or preemptible instances?

  1. A single-instance production database with no replica and a strict uptime requirement
  2. A licensing server that must stay online during business hours and cannot tolerate a restart
  3. A stateful session store for a shopping cart that must survive an abrupt termination
  4. A checkpointed batch rendering job that can resume after a two-minute interruption notice Correct answer
MCQSEXAM Read explanation

S3 Standard advertises eleven nines of durability but only 99.99 percent availability. What does this distinction mean?

  1. Both figures describe exactly the same property measured over different periods, so eleven nines and 99.99 percent must always agree in practice
  2. Eleven nines actually refers to availability and 99.99 percent to durability, so the two numbers are simply swapped labels
  3. Durability measures the request latency, while availability measures the error rate of the service under sustained load
  4. Durability is the probability of not losing a stored object, while availability is the fraction of time the service responds successfully Correct answer
MCQSEXAM Read explanation

Which is the accurate difference between a layer 4 and a layer 7 load balancer?

  1. Layer 4 inspects HTTP headers and cookies, while layer 7 works only on raw IP addresses and port numbers
  2. Layer 4 terminates TLS for every client connection, while layer 7 cannot, because it needs the decrypted payload to route
  3. Layer 4 routes on IP and port information from TCP or UDP, while layer 7 can inspect HTTP paths, headers and cookies Correct answer
  4. Layer 7 is faster because it forwards raw packets without parsing them, which layer 4 must always do
MCQSEXAM Read explanation

Which statement correctly contrasts an AWS security group with a network ACL?

  1. Both are stateful, but only the security group can explicitly deny traffic from a given source address
  2. Both are stateless, and the only difference is that a NACL applies to one instance while a security group applies to a subnet
  3. The security group is stateful and allows only allow rules, while the NACL is stateless and supports both allow and deny rules Correct answer
  4. The security group is stateless and evaluated in numbered order, while the NACL is stateful and supports allow rules only
MCQSEXAM Read explanation

What is a cold start in a serverless function platform?

  1. The first invocation after any code deployment, which is always noticeably slower by design and by contract
  2. The restart of the function after it exceeds its memory limit, which clears the warm container pool
  3. A scheduled invocation triggered by a timer event, which wakes a function that has never run
  4. The added latency when a new execution environment must be created and initialised before the handler runs Correct answer
MCQSEXAM Read explanation

Since late 2020, what consistency does Amazon S3 provide for writes of new objects, for overwrites and for listings?

  1. Strong consistency only in the us-east-1 region, with eventual consistency in every other region
  2. Strong read-after-write consistency for PUTs of new objects and overwrites, and for list operations Correct answer
  3. Eventual consistency for all operations, with no listing guarantee and no overwrite guarantee
  4. Eventual consistency for overwrites only, with strong consistency everywhere else in the whole service
MCQSEXAM Read explanation

Which statement correctly contrasts vertical and horizontal scaling for a web tier?

  1. Both require application changes, since neither approach affects the instance count or the load balancer configuration at all
  2. Vertical scaling enlarges one instance and often needs a restart, while horizontal scaling adds instances and requires statelessness or load balancing Correct answer
  3. Vertical scaling adds more instances to the tier, while horizontal scaling enlarges the instance type, so the two terms are very often swapped in practice
  4. Horizontal scaling is limited by the largest instance size that the provider offers, so it cannot grow beyond a single machine without sharding
MCQSEXAM Read explanation

Which description correctly distinguishes an availability zone from a region?

  1. An availability zone is one or more discrete data centres with independent power and cooling inside a region, while a region is a geographic area containing several zones Correct answer
  2. An availability zone spans multiple countries and contains many regions, while a region is a single data centre with redundant power, cooling and networking of its own
  3. A region is one data centre with all of its racks, and an availability zone is a subset of those racks inside it, so the two terms describe the same facility at different scales
  4. An availability zone is a billing boundary that groups accounts, while a region is a network boundary that groups several of those billing boundaries together
MCQSEXAM Read explanation

A team runs its own database on an IaaS virtual machine. Who is responsible for applying guest operating system security patches?

  1. Neither, because patching is automated by the hypervisor at every boot of the guest
  2. The provider, because it owns the physical hosts and the hypervisor that sits beneath them
  3. The customer, because in IaaS the provider stops at the hypervisor and virtual hardware Correct answer
  4. Both equally, under a default that splits patching by kernel version and by machine image
MCQSEXAM Read explanation