All practice questions
976 questions
A company's regional API Gateway REST API is protected by an AWS WAF Web ACL. During a security audit, the SysOps administrator identifies a brute-force attempt targeting the `/checkout` endpoint. To mitigate this threat, the administrator must restrict each client IP address to a maximum of requests per minutes on the `/checkout` path only. Traffic to other endpoints must not be affected.
Which configuration should the SysOps administrator implement to meet these requirements?
An organization runs a web application on four Amazon EC2 instances, each configured with an Elastic IP address. A SysOps Administrator must configure Amazon Route 53 to distribute client requests randomly across all four instances. The configuration must perform health checks on each instance individually and automatically stop routing traffic to any instance that becomes unhealthy. Which Route 53 configuration will meet these requirements?
A company hosts an application on Amazon EC2 instances in a private subnet. The instances must access files in an Amazon S3 bucket within the same AWS Region without traversing the public internet. A SysOps administrator creates an Amazon S3 gateway VPC endpoint to enable this private connection. However, the instances are still unable to communicate with the S3 bucket. Which two configuration steps must the SysOps administrator take to resolve this connectivity issue? (Select TWO.)
Select all that apply
A SysOps Administrator configures a CloudWatch alarm to monitor the CPUUtilization metric of an Amazon EC2 instance. The alarm is set to trigger if the CPU utilization exceeds for a period of 1 minute. However, the administrator notices that the alarm frequently enters the INSUFFICIENT_DATA state because the instance is using standard monitoring, which only sends metric data to CloudWatch every 5 minutes. Which of the following actions will resolve this issue by ensuring the instance reports CPU metrics every minute?
A SysOps Administrator is configuring an Amazon CloudWatch metric alarm to monitor the average CPU utilization of an Amazon EC2 Auto Scaling group. The alarm is configured with a period of 60 seconds (1 minute) and an evaluation period of 2. The instances in the Auto Scaling group currently have standard monitoring enabled. The administrator observes that the alarm state frequently fluctuates to INSUFFICIENT_DATA and fails to trigger the configured scaling policies when CPU utilization spikes. What is the correct action to resolve this issue?
An operations team is running a containerized transaction service on Amazon ECS. To monitor transaction processing delays, they publish a custom metric named ProcessingLatency to Amazon CloudWatch. They set up a CloudWatch alarm with an evaluation period of 10 seconds to alert them of latency spikes. However, they observe that the alarm remains in an INSUFFICIENT_DATA state during periods of low transaction volume, and even under normal load, it fails to trigger reliably. Which of the following explains why this alarm is failing to function as expected?
A SysOps Administrator is setting up monitoring and automated remediation for a standalone Amazon EC2 instance. The administrator needs to configure a CloudWatch alarm to detect CPU utilization spikes and automatically reboot the instance if CPU utilization exceeds 90% for three consecutive 1-minute periods. Which TWO of the following configuration steps are required to achieve this goal?
Select all that apply
A SysOps Administrator is designing an automated remediation workflow for a critical microservice running on Amazon EC2 instances. The microservice publishes a custom metric named QueueBacklog to Amazon CloudWatch every minute. The administrator needs to configure a CloudWatch metric alarm that triggers an AWS Systems Manager (SSM) Automation document to remediate the backlog when the metric exceeds 500 for three consecutive evaluation periods.
Which two configurations must the administrator perform to meet these requirements? (Select TWO.)
Select all that apply
A SysOps Administrator is setting up an automated remediation workflow to stop an Amazon EC2 instance when its CPU utilization exceeds 90%. The administrator needs the instance's CPU metric to be evaluated at 1-minute intervals to ensure rapid response, and wants to execute a custom Systems Manager Automation runbook as the remediation action. Which configuration will meet these requirements?
A SysOps Administrator is troubleshooting a monitoring setup for a critical transactional API. A custom monitoring daemon on each Amazon EC2 instance in an Auto Scaling group publishes a custom metric named `TransactionLatency` to Amazon CloudWatch every 10 seconds. The metric is published with three dimensions: `InstanceId`, `AutoScalingGroupName`, and `Stage`. To detect latency spikes across the fleet, the administrator creates a CloudWatch metric alarm with a 10-second period, evaluating 3 datapoints, and utilizing the dimension `AutoScalingGroupName = production-asg`. However, the alarm constantly remains in the `INSUFFICIENT_DATA` state, even during peak periods when latency is high. What is the root cause of this issue?
A SysOps Administrator is tasked with setting up automated remediation for a critical application running on a fleet of Amazon EC2 instances. The administrator configures an Amazon CloudWatch alarm on the `CPUUtilization` metric to trigger when the CPU usage exceeds for consecutive periods of minute. The remediation workflow must trigger an AWS Systems Manager (SSM) Automation runbook to collect application logs and reboot the instances. Currently, standard monitoring is enabled on the EC2 instances. During testing, the alarm remains in the `INSUFFICIENT_DATA` state even when CPU utilization is verified to be at for over minutes, and the remediation workflow fails to run.
Which combination of actions will resolve this issue and enable the automated remediation workflow to run successfully?
A SysOps Administrator created a new trail in AWS CloudTrail to log API activity across an AWS account and configured it to deliver log files to a newly created Amazon S3 bucket. A few hours later, the administrator notices that no log files have been delivered to the S3 bucket. Which of the following configuration issues is the most likely cause of this failure?
A SysOps Administrator is managing an application running on a fleet of Amazon EC2 instances within an Auto Scaling group. The application publishes a custom metric named `TransactionLatency` to Amazon CloudWatch at a standard resolution of seconds. The administrator has configured a CloudWatch alarm to monitor the percentile () of `TransactionLatency` over a period of minute. The alarm is designed to trigger an AWS Systems Manager (SSM) Automation document to reboot an unhealthy instance if the latency exceeds for consecutive evaluation periods.
During testing, the administrator observes two issues:
1. The alarm frequently transitions to `INSUFFICIENT_DATA` when traffic is very low and no transactions are processed, triggering false notifications.
2. When the latency threshold is breached, the SSM Automation document is never executed, even though the SSM execution role has the correct trust policy.
Which TWO configuration changes should the SysOps Administrator make to address these issues?
Select all that apply
An organization requires a SysOps Administrator to verify that the AWS CloudTrail log files delivered to an Amazon S3 bucket have not been modified, deleted, or tampered with after delivery. Which CloudTrail feature should be configured to satisfy this requirement?
A SysOps Administrator is configuring an Amazon CloudWatch alarm to monitor the CPU utilization of a standalone Amazon EC2 instance. The administrator wants the alarm to evaluate metrics at 1-minute intervals. However, the alarm remains in the INSUFFICIENT_DATA state because the CPU metric is only being reported every 5 minutes. Which actions must the administrator take to resolve this issue? (Select TWO.)
Select all that apply
An application team wants to automatically reboot an Amazon EC2 instance when a custom application metric, `TransactionFailureRate`, exceeds a threshold. A SysOps Administrator configures a CloudWatch alarm to monitor this metric. The administrator needs to trigger the `AWS-RestartEC2Instance` Systems Manager (SSM) Automation runbook when the alarm enters the ALARM state, but finds that CloudWatch alarms cannot directly target SSM Automation runbooks. Which configuration should the administrator use to achieve this goal?
A SysOps Administrator is configuring a new AWS CloudTrail trail to deliver log files to an Amazon S3 bucket. The logs must be encrypted using a customer managed AWS KMS key. After configuring the trail, the administrator notices that CloudTrail is failing to deliver logs to the S3 bucket. Which of the following configuration changes must the administrator make to resolve this issue? (Select two.)
Select all that apply
A SysOps Administrator is managing a production application on Amazon EC2 instances. The instances are running with default monitoring enabled. The administrator configures an Amazon CloudWatch alarm to monitor the CPUUtilization metric of the instances. The alarm is configured with a period of 60 seconds and an evaluation period of 3 consecutive periods. However, the administrator notices that the alarm remains in the INSUFFICIENT_DATA state even when the instances are under high load. Which two actions should the administrator take to resolve this issue and allow the alarm to transition to the ALARM state correctly? (Select TWO.)
Select all that apply
An application deployed on Amazon EC2 instances publishes a custom metric named `TransactionLatency` at -second intervals using the AWS SDK. The metric is sent with three dimensions: `ClusterName`, `Service`, and `Region`. A SysOps Administrator needs to configure an Amazon CloudWatch alarm to trigger if the average latency across all services in the `prod-cluster` cluster exceeds for consecutive -minute evaluation periods. The administrator creates a CloudWatch alarm for `TransactionLatency` specifying a single dimension of `ClusterName=prod-cluster` and a period of . However, the alarm remains in the `INSUFFICIENT_DATA` state even though the services are actively publishing metrics. Which of the following describes the root cause of this issue and the correct resolution?
A SysOps Administrator is managing a microservices application running on a fleet of Amazon EC2 instances. The fleet size fluctuates dynamically based on demand via an Auto Scaling group. Each instance publishes a custom CloudWatch metric named `RequestLatency` in the namespace `CustomApp` using two dimensions: `InstanceId` and `ServiceName`. The administrator needs to configure a single CloudWatch alarm to alert when the average `RequestLatency` for the service named `InventoryService` exceeds milliseconds across the entire fleet. Which two configurations or actions should the administrator perform to achieve this? (Select TWO.)
Select all that apply