Tüm alıştırma soruları
976 soru
A company uses an AWS Transit Gateway to connect multiple VPCs to its on-premises network. Hybrid connectivity is established using a AWS Direct Connect connection (via a Transit VIF and a Direct Connect Gateway) as the primary path, and an AWS Site-to-Site VPN connection as the backup path. The administrator configures dynamic BGP routing on the Direct Connect connection, which dynamically propagates the on-premises prefix to the Transit Gateway route table. The Site-to-Site VPN is configured with a static route for pointing to the VPN attachment in the Transit Gateway route table. During a failover test, the administrator observes that all outbound traffic destined for the on-premises network continues to be sent over the backup VPN connection, even though the Direct Connect connection is fully operational. Which of the following actions will ensure that the Transit Gateway routes traffic to the on-premises network via the Direct Connect connection as the primary path under normal operating conditions?
An organization has several development environments running in AWS. To reduce monthly expenditures, a SysOps administrator is analyzing AWS Trusted Advisor Cost Optimization recommendations. The administrator wants to identify resources that are either idle or underutilized based on the default criteria of Trusted Advisor checks. Which of the following conditions will cause AWS Trusted Advisor to flag resources as cost optimization opportunities? (Select TWO.)
Geçerli olan tümünü seçin
A company runs a REST API on a fleet of Amazon EC2 instances located in a private subnet. These instances are registered to a target group for an Application Load Balancer (ALB) situated in the public subnets of the same VPC. The target group is configured to send HTTP health checks on port with the path `/healthz`.
A SysOps administrator observes that the ALB is reporting all registered targets as unhealthy with the error code `Target.FailedHealthChecks`. Consequently, clients requesting the application receive HTTP (Bad Gateway) errors.
The administrator verifies the following configuration details:
- Connecting to the EC2 instances directly via AWS Systems Manager Session Manager and running `curl -I http://localhost:8080/healthz` returns HTTP OK.
- The Security Group for the EC2 instances allows inbound TCP traffic on port from the ALB security group, and allows all outbound traffic.
- The Security Group for the ALB allows inbound TCP traffic on ports and from `0.0.0.0/0`, and allows all outbound traffic.
- The stateless Network Access Control List (NACL) for the private subnet has the following rules:
- Inbound: Rule allows TCP traffic on port from the public subnets' CIDR block. Rule denies all other traffic.
- Outbound: Rule allows TCP traffic on port to the public subnets' CIDR block. Rule denies all other traffic.
Which of the following is the most likely cause of the failing health checks?
A SysOps Administrator creates a Gateway VPC Endpoint for Amazon S3 in a VPC. However, EC2 instances in a private subnet continue to access Amazon S3 through a NAT Gateway, resulting in high NAT Gateway data processing charges. Which configuration issue is the root cause of this behavior?
A SysOps administrator is troubleshooting an issue with an Application Load Balancer (ALB). The ALB routes traffic to a fleet of Amazon EC2 instances running a web application on port 8080. In the AWS Management Console, all instances in the target group are marked as unhealthy with the status reason code 'Health.ResponseMismatch'. When analyzing the application logs on the EC2 instances, the administrator observes that incoming health check requests to the '/healthz' path are returning a '401 Unauthorized' status code because a global authentication middleware is applied. Which of the following actions should the administrator take to resolve this health check issue? (Select two.)
Geçerli olan tümünü seçin
A company runs a memory-bound Java application on a fleet of Amazon EC2 m6i.xlarge instances. A SysOps Administrator notices that AWS Compute Optimizer recommendations for these instances only display utilization data for CPU, network, and disk, while memory utilization is listed as 'Unavailable'. Consequently, the tool recommends down-sizing the instances to c6i.xlarge based on low CPU utilization, which would lead to application failures due to insufficient memory. What should the administrator do to enable AWS Compute Optimizer to analyze memory utilization and provide accurate right-sizing recommendations?
A company runs a batch processing application on a fleet of Amazon EC2 instances within an AWS Organizations structure. A SysOps Administrator wants to use AWS Compute Optimizer to obtain right-sizing recommendations for these instances. Currently, Compute Optimizer only provides recommendations based on CPU and network metrics, and reports that memory metrics are unavailable. Which two actions must the administrator take to enable AWS Compute Optimizer to deliver memory-aware right-sizing recommendations? (Select two.)
Geçerli olan tümünü seçin
An organization is establishing a redundant hybrid network connection by deploying an AWS Site-to-Site VPN to act as a backup for a AWS Direct Connect connection. Both the Direct Connect connection (via a Direct Connect Gateway) and the VPN connection terminate on an AWS Transit Gateway. The on-premises router advertises the local network prefix via BGP over both paths. The organization wants to ensure that the Direct Connect path is preferred for all traffic sent from AWS to the on-premises network, and that failover to the VPN path is automatic.
Which configuration steps should the SysOps Administrator perform to achieve this design? (Select TWO.)
Geçerli olan tümünü seçin
A company hosts a high-traffic web application on a fleet of Amazon EC2 instances managed by an Auto Scaling group. The instances are registered with a target group of an Application Load Balancer (ALB). The target group's health check is configured to request the path `/health` on port 80. The script at `/health` performs a deep health check by querying an Amazon RDS PostgreSQL database to verify connection status.
During a marketing event, a massive traffic spike causes the RDS database CPU utilization to reach 100%, resulting in query queuing. Consequently, the ALB health checks on the EC2 instances begin timing out, and the ALB marks all instances as unhealthy. The Auto Scaling group immediately begins terminating the EC2 instances and launching new ones, which also fail health checks upon initialization, leading to a complete application outage.
Which action should a SysOps administrator take to resolve this issue and prevent future cascading failures?
A company has a VPC with private subnets in the us-west-2 Region. Amazon EC2 instances in these subnets transfer of backup data monthly to an on-premises storage system. To reduce data transfer costs, the company establishes an AWS Direct Connect connection and configures a private virtual interface (VIF) associated with a Virtual Private Gateway (VGW) attached to the VPC. However, the SysOps administrator notices that the monthly bill still reflects high NAT Gateway data processing charges and standard internet data transfer out (DTO) fees for this backup traffic. Which action should the SysOps administrator take to resolve this issue and minimize costs?
A startup is experiencing unexpected cost increases because development teams occasionally leave Amazon EC2 instances running over weekends in a sandbox account. The SysOps administrator must implement a cost control mechanism to enforce a monthly cost limit of $300. If the actual cost reaches this limit, all running EC2 instances in the account must be stopped automatically, and the operations team must receive a notification in their Slack channel.
Which combination of steps should the SysOps administrator perform to meet these requirements? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is migrating hybrid connectivity for a company's AWS environment. Currently, an on-premises data center is connected to a single VPC via an AWS Site-to-Site VPN attached to a Virtual Private Gateway (VGW). To support connectivity to multiple new VPCs, the administrator deploys an AWS Transit Gateway, attaches the existing VPC to the Transit Gateway, and establishes a new Site-to-Site VPN connection terminating on the Transit Gateway. The IPsec tunnels are successfully established and show as UP, but EC2 instances in the VPC are unable to reach the on-premises network. Which of the following is the most likely cause of this issue?
A company runs applications on Amazon EC2 instances in a private subnet. The applications must securely retrieve API keys from AWS Secrets Manager. To keep the traffic within the AWS network, a SysOps Administrator deploys an Interface VPC Endpoint for Secrets Manager (com.amazonaws.us-east-1.secretsmanager). However, connection attempts from the EC2 instances to the Secrets Manager service keep timing out. Which of the following actions will resolve this issue?
An application runs on Amazon EC2 instances in private subnets across two Availability Zones (`us-east-1a` and `us-east-1b`) in a VPC. The instances continuously ingest sensor data and send it to an Amazon Kinesis data stream in the same region, transferring approximately of data monthly. Currently, all internet-bound traffic from these subnets routes through a single NAT Gateway located in `us-east-1a`. The monthly AWS bill shows high NAT Gateway data processing charges. Which solution will minimize the data transfer and processing costs while maintaining secure, private connectivity to the Kinesis data stream?
A SysOps administrator is managing an AWS account for a project team that has a strict monthly spending limit of . The administrator must set up a mechanism that alerts the team via email when the forecasted monthly spend is projected to exceed the budget. Additionally, if the actual spend reaches of the limit, the mechanism must automatically restrict the team's ability to launch new resources by applying a restrictive IAM policy to their development group. Which AWS service and configuration should the administrator use to meet these requirements with the least operational overhead?
A research lab runs data processing workloads on Amazon EC2 instances in a single AWS account. The administrator wants to configure AWS Budgets to automatically stop all EC2 instances tagged with `Environment=Sandbox` when the actual monthly spend reaches $550.
Which TWO configurations are required to implement this control? (Select TWO.)
Geçerli olan tümünü seçin
A financial services company uploads monthly compliance reports as PDF documents to an Amazon S3 Standard bucket. The reports are frequently accessed during the first 30 days. From day 31 to day 60, the reports are accessed occasionally but must be retrieved instantly when needed. After 60 days, access is extremely rare, and a retrieval time of several hours is acceptable for audit purposes. The reports must be deleted after 3 years.
A SysOps administrator attempts to implement the following Amazon S3 Lifecycle configuration:
* Transition to S3 Standard-IA after 30 days
* Transition to S3 Glacier Flexible Retrieval after 45 days
* Expiration after 1095 days
However, the AWS CLI returns a validation error when the administrator tries to apply the lifecycle policy.
Which of the following describes the cause of this error and the action required to successfully implement the cost-optimization strategy?
A SysOps Administrator manages a multi-account environment under AWS Organizations and has enabled AWS Compute Optimizer for the entire organization from the management account. The administrator notices that Compute Optimizer is generating recommendations for EC2 instances based only on CPU and network utilization, but is missing memory-based recommendations for a critical microservices application running on Linux EC2 instances. Which of the following actions must the administrator take to ensure Compute Optimizer can provide recommendations that include memory utilization? (Select two.)
Geçerli olan tümünü seçin
A SysOps administrator has configured an Application Load Balancer (ALB) to terminate SSL/TLS traffic and forward requests to a target group of EC2 instances over HTTP on port 80. To ensure all client connections are secure, the administrator added a rewrite rule to the Apache web server configuration on the EC2 instances to redirect all incoming HTTP traffic to HTTPS.
Following this change, users receive a 'Too many redirects' error in their web browsers, and the ALB target group shows all EC2 instances as unhealthy with an HTTP 301 response.
Which action should the administrator take to resolve these issues?
A SysOps administrator is managing an API service hosted on a fleet of Amazon EC2 instances behind an Application Load Balancer (ALB). The instances run a secure service that listens on port 8443. The ALB target group is configured to send HTTPS health checks to port 8443 on the path `/api/v1/health`. All EC2 instances in the target group are reported as unhealthy. When the administrator connects to an instance and runs `curl -k https://localhost:8443/api/v1/health`, the response returns a status of `200 OK`. However, the ALB target group console indicates the health check is failing with an HTTP `401 Unauthorized` status code. Which of the following actions will resolve this health check issue?