AWS CPE - M2 QUIZ

AWS Compute Services Quiz (Multiple Choice - Collapsed Answers)

Choose the best answer for each question based on the provided notes. Click the arrow next to "Answer" to reveal it.

Pasted image 20250328111840.png|30 Amazon EC2 Questions

  1. Which AWS service provides secure, resizable compute capacity in the cloud as virtual servers?
    A) AWS Lambda
    B) Amazon S3
    C) Amazon EC2
    D) AWS Fargate

  2. The concept of "multitenancy" in the context of Amazon EC2 means:
    A) Each customer gets their own dedicated physical server.
    B) Virtual machines share underlying physical hardware with other customers.
    C) Instances can only run one specific operating system.
    D) Networking bandwidth is exclusively allocated per instance.

  3. A company needs to run a high-performance database that requires large amounts of RAM. Which EC2 instance type category is MOST suitable for this workload?
    A) Compute Optimized
    B) Storage Optimized
    C) General Purpose
    D) Memory Optimized

  4. Which EC2 pricing option offers the MOST significant discount but carries the risk of instances being terminated by AWS with short notice?
    A) On-Demand Instances
    B) Reserved Instances
    C) Spot Instances
    D) Dedicated Hosts

  5. A company wants to commit to a specific amount of compute usage ($/hour) for 1 year to reduce costs, desiring flexibility across instance families and regions, potentially including AWS Fargate usage. Which pricing model BEST fits this need?
    A) Standard Reserved Instances
    B) Convertible Reserved Instances
    C) Spot Instances
    D) Savings Plans

  6. Amazon EC2 Auto Scaling primarily helps achieve which type of scaling?
    A) Vertical Scaling
    B) Diagonal Scaling
    C) Horizontal Scaling
    D) Manual Scaling

  7. If a company requires guarantees that their EC2 instances are running on physical hardware solely dedicated to them due to compliance requirements, which option should they choose?
    A) Spot Instances
    B) Reserved Instances
    C) Dedicated Hosts
    D) Standard EC2 Instances

Arch_Elastic-Load-Balancing_64.png|24 Elastic Load Balancer (ELB) Questions

  1. What is the primary function of AWS Elastic Load Balancing (ELB)?
    A) To automatically resize EC2 instances based on load.
    B) To distribute incoming traffic across multiple targets, such as EC2 instances.
    C) To provide DNS resolution for applications.
    D) To cache static content closer to users.

  2. How does Elastic Load Balancing enhance the fault tolerance of an application?
    A) By automatically backing up EC2 instance data.
    B) By operating across multiple Availability Zones within a Region.
    C) By encrypting all traffic between instances.
    D) By reducing the cost of EC2 instances.

  3. In an architecture using EC2 Auto Scaling and ELB, what role does the ELB typically play?
    A) It triggers the scaling actions based on instance health.
    B) It acts as the single entry point for traffic directed to the Auto Scaling group instances.
    C) It manages the configuration of the EC2 instances.
    D) It archives the logs generated by the instances.

Messaging and Queuing Questions

  1. Using services like Amazon SQS and SNS helps to build applications that are:
    A) Tightly coupled and monolithic.
    B) Stateful and persistent.
    C) Loosely coupled and more resilient.
    D) Primarily focused on synchronous communication.

  2. Arch_Amazon-Simple-Queue-Service_32.png|24 Which AWS service allows you to decouple application components by using a message queue where messages are stored until processed and deleted by a consumer?
    A) Amazon SNS
    B) Amazon SQS
    C) AWS Lambda
    D) Amazon Kinesis

  3. Arch_Amazon-Simple-Notification-Service_32.png|24 A developer needs to send a notification simultaneously to multiple subscribers, including email addresses, SMS numbers, and SQS queues. Which AWS service is designed for this publish/subscribe (pub/sub) scenario?
    A) Amazon SQS
    B) Amazon MQ
    C) Amazon Connect
    D) Amazon SNS

Additional Compute Services Questions

  1. Arch_AWS-Lambda_16 1.png Which AWS compute service allows you to run code in response to events without provisioning or managing servers, typically for short-duration tasks?
    A) Amazon EC2
    B) AWS Fargate
    C) AWS Lambda
    D) Amazon Lightsail

  2. Arch_Amazon-Elastic-Container-Service_16.png Amazon ECS and Arch_Amazon-Elastic-Kubernetes-Service_16.png Amazon EKS are primarily used for what purpose?
    A) Running serverless functions.
    B) Managing relational databases.
    C) Orchestrating containers.
    D) Building virtual private networks.

  3. Arch_AWS-Fargate_16.png What is the key benefit of using AWS Fargate with Amazon ECS or EKS?
    A) It provides dedicated physical servers for containers.
    B) It allows running containers without managing the underlying server infrastructure.
    C) It offers significant cost savings compared to Spot Instances.
    D) It enables running containers directly on bare metal hardware.


All Quizzes