Soru

Zorluk: OrtaHigh-Performing and Elastic Compute Solutions

A technology company is deploying a self-managed distributed search engine cluster on Amazon EC2 instances. The cluster nodes must communicate with each other with the lowest possible network latency to ensure fast query indexing. Additionally, an Application Load Balancer (ALB) is used to expose an internal management dashboard that runs on port 8443 of the same instances, while the standard HTTP port 80 is closed on the instances' firewalls. Which combination of configurations will meet the performance requirements and prevent the instances from being falsely marked as unhealthy by the load balancer?

  1. A
    Deploy the EC2 instances in a spread placement group. Configure the ALB target group's health checks to use port 8443.
  2. Deploy the EC2 instances in a cluster placement group. Configure the ALB target group's health checks to use port 8443.Cevap
  3. C
    Deploy the EC2 instances in a partition placement group. Configure the ALB target group's health checks to use port 8443.
  4. D
    Deploy the EC2 instances in a cluster placement group. Configure the ALB target group's health checks to use the default port 80.

Cevap

Deploying the EC2 instances in a cluster placement group and configuring the Application Load Balancer's target group health check to port 8443.
Deploying the EC2 instances in a cluster placement group provides low-latency, high-throughput communication by physically grouping instances within a single Availability Zone. Additionally, configuring the Application Load Balancer (ALB) health checks to target port 8443 aligns the health probes with the port where the management daemon is actually listening, ensuring the instances are not incorrectly marked as unhealthy due to port 80 being closed.

Adım Adım Çözüm

1
Determine the placement strategy for the EC2 instances to achieve the lowest possible network latency.
A cluster placement group is selected as it groups instances within a single Availability Zone for low-latency node-to-node communication.
This provides the required low-latency performance for the search engine cluster.
2
Check where the web management dashboard is running and which ports are open.
The management service runs on port 8443, and port 80 is closed on the firewall.
This determines the correct port for the load balancer health checks to prevent false negatives.
3
Configure the Application Load Balancer's health checks.
The ALB successfully monitors the running service on port 8443.
This ensures the ALB registers the instances as healthy since the service is listening on port 8443.

Anahtar Kavram

Amazon EC2 Placement Groups and Elastic Load Balancing Health Checks
Tahmini Süre:1m 30s
Bu soruyu puanla