Load Balancers and High Availability
28 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the goal of high availability?

  • To vertically scale an application
  • To increase the number of systems for an application
  • To survive a data center loss (correct)
  • To provide unlimited scalability
  • Which type of scalability is common for modern web applications?

  • Static scalability
  • Horizontal scalability (correct)
  • Vertical scalability
  • Diagonal scalability
  • What is the key difference between vertical and horizontal scaling?

  • Vertical scaling involves adding more instances, while horizontal scaling increases instance size
  • Vertical scaling increases instance size, while horizontal scaling adds more instances/systems (correct)
  • Vertical scaling is used in cloud environments, while horizontal scaling is used in on-premise setups
  • Vertical scaling implies distributed systems, while horizontal scaling is limited to single-server setups
  • In the context of EC2, what is the role of Load Balancers?

    <p>Elastic Load Balancers are servers that forward traffic to multiple servers downstream</p> Signup and view all the answers

    Which term refers to increasing the number of instances of an application?

    <p>Horizontal Scalability</p> Signup and view all the answers

    What does running instances for the same application across multi AZ contribute to?

    <p>High Availability</p> Signup and view all the answers

    In the context of high availability, what does passive high availability refer to?

    <p>Having redundant systems in place but only one actively handling traffic</p> Signup and view all the answers

    Elastic Load Balancer helps in ensuring what aspect of an application?

    <p>Load Distribution and High Availability</p> Signup and view all the answers

    What does Auto Scaling Group facilitate in terms of scalability?

    <p>Automatically adjusting instance sizes based on demand</p> Signup and view all the answers

    What feature of SSL certificates does the Application Load Balancer (v2) support?

    <p>Supports multiple listeners with multiple SSL certificates</p> Signup and view all the answers

    Which Load Balancer type uses Server Name Indication (SNI) to support multiple SSL certificates?

    <p>Application Load Balancer (v2)</p> Signup and view all the answers

    What is the purpose of Connection Draining in Elastic Load Balancers?

    <p>Ensure in-flight requests complete before de-registering instances</p> Signup and view all the answers

    Which Load Balancer type stops sending new requests to an EC2 instance that is de-registering?

    <p>Classic Load Balancer (v1)</p> Signup and view all the answers

    What does an Auto Scaling Group (ASG) aim to achieve?

    <p>Scale in or out based on load fluctuations</p> Signup and view all the answers

    What is the key function of Server Name Indication (SNI) in Load Balancers?

    <p>Allow serving multiple SSL certificates on a single IP address</p> Signup and view all the answers

    What is a key feature of Application Load Balancers in handling downstream instances?

    <p>Exposing only a single point of access (DNS)</p> Signup and view all the answers

    How does an Application Load Balancer ensure high availability?

    <p>By seamlessly handling failures of downstream instances</p> Signup and view all the answers

    In what way does SSL termination (HTTPS) play a role in Application Load Balancers?

    <p>It integrates with AWS Certificate Manager (ACM)</p> Signup and view all the answers

    Why is spreading the load across multiple downstream instances essential for a load balancer?

    <p>To handle increased traffic and prevent overload on individual instances</p> Signup and view all the answers

    Which factor makes using an Elastic Load Balancer more appealing compared to setting up your own load balancer?

    <p>Guaranteed high availability and managed maintenance by AWS</p> Signup and view all the answers

    How does enforcing stickiness with cookies contribute to the efficiency of an Application Load Balancer?

    <p>It ensures that requests from the same client go to the same instance</p> Signup and view all the answers

    What does the health check response '200 (OK)' indicate about an instance in the context of Load Balancers?

    <p>The instance is healthy</p> Signup and view all the answers

    Which layer of the OSI model does the Application Load Balancer (ALB) operate at?

    <p>Layer 7 (Application layer)</p> Signup and view all the answers

    What is a feature of Application Load Balancers (ALB) that makes them a great fit for microservices and container-based applications?

    <p>Capability to route based on Query String and Headers</p> Signup and view all the answers

    In an Application Load Balancer (ALB), what type of routing is based on the path in a URL such as 'example.com/users'?

    <p>Path-based routing</p> Signup and view all the answers

    What is a notable feature of Application Load Balancers (ALB) related to handling HTTP/2 and WebSockets?

    <p>Ability to handle HTTP/2 and WebSockets</p> Signup and view all the answers

    How can Application Load Balancers (ALB) route traffic based on different target groups?

    <p>Routing based on different target group configurations</p> Signup and view all the answers

    In an Application Load Balancer (ALB), what does the X-Forwarded-For header provide for the application servers?

    <p>The true IP of the client</p> Signup and view all the answers

    More Like This

    Cross-Zone Load Balancing Overview
    8 questions

    Cross-Zone Load Balancing Overview

    AstoundedMahoganyObsidian avatar
    AstoundedMahoganyObsidian
    Use Quizgecko on...
    Browser
    Browser