Tüm alıştırma soruları
976 soru
A SysOps Administrator is configuring an Amazon CloudWatch alarm to trigger a scale-out policy for an Auto Scaling group when the average CPU utilization exceeds 75%. The EC2 instances are launched using a template with default monitoring. The administrator sets the CloudWatch alarm period to 1 minute and the evaluation periods to 3. However, after a traffic spike, the scaling policy does not execute, and the CloudWatch alarm remains in the INSUFFICIENT_DATA state. Which action will resolve this issue and allow the alarm to transition to the ALARM state?
A SysOps Administrator is configuring a monitoring and remediation setup for a batch processing application running on Amazon EC2. The application publishes a custom metric named `QueueBacklog` to Amazon CloudWatch every 1 minute. The administrator needs to configure a CloudWatch alarm that meets the following requirements:
- The alarm must transition to the ALARM state if the queue backlog is greater than 1000 items for a continuous duration of 15 minutes.
- If there is a temporary network interruption preventing the application from publishing metrics, the alarm must default to the ALARM state to ensure visibility.
Which TWO of the following configurations are required to meet these requirements?
Geçerli olan tümünü seçin
A SysOps Administrator is designing an automated remediation workflow for a batch-processing application running on Amazon EC2 instances. The application publishes a custom metric named `QueueBacklogDepth` to Amazon CloudWatch at 1-minute intervals. The administrator wants to automatically execute the `AWS-RestartEC2Instance` Systems Manager (SSM) Automation runbook if the backlog depth exceeds 1,000 messages for a duration of 15 minutes.
The administrator configures a CloudWatch alarm for the `QueueBacklogDepth` metric with a threshold of 1,000, a period of 5 minutes (300 seconds), and evaluation periods of 3. During testing, the queue backlog depth exceeds 1,000 for 20 minutes, and the alarm state successfully transitions to ALARM, but the SSM Automation runbook fails to run.
How should the administrator resolve this issue to ensure the remediation workflow executes successfully?
A SysOps Administrator is configuring a new Amazon EC2 instance. The administrator needs to monitor the CPU utilization of the instance at 1-minute intervals and trigger an alarm if the utilization exceeds 80%. Which steps must the administrator take to meet these requirements? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is troubleshooting a CloudWatch alarm configured for a critical database client application running on Amazon EC2 instances. The application publishes a custom metric named `ConnectionFailures` under the namespace `DatabaseMonitor` with the dimension `DatabaseClusterId`. The alarm is configured to monitor `ConnectionFailures` over a -minute period, with a threshold of greater than , and is set to notify an Amazon SNS topic. During a recent database outage, users experienced dozens of connection failures, and the failures were visible as data points in the CloudWatch metric graph. However, the alarm remained in the `OK` state and did not trigger any notification. Which of the following configurations could explain why the alarm failed to transition to the `ALARM` state? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is setting up VPC Flow Logs to publish network traffic metadata to an Amazon CloudWatch Logs group. After configuring the flow log, the administrator notices that no log streams are being created in the target CloudWatch log group. What is the most likely cause of this issue?
An organization monitors an application's transaction rate using a custom Amazon CloudWatch metric. During off-peak hours, the application stops sending data to CloudWatch when there are no transactions. A SysOps Administrator needs to configure a CloudWatch alarm so that it remains in its current state during these periods without transitioning to another state. Which configuration option for treating missing data should the administrator select to achieve this?
A SysOps Administrator needs to monitor an application log group in Amazon CloudWatch Logs. The administrator wants to receive an email notification whenever the keyword "Failed" appears in the logs. Which two configuration steps must the SysOps Administrator perform to set up this monitoring and notification? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is configuring an AWS CloudTrail organization trail from the organization's management account to log all API activity across all member accounts. The trail is configured to deliver logs to a centralized Amazon S3 bucket. While logs from the management account are successfully appearing in the S3 bucket, no logs from the member accounts are being delivered. Which of the following is the most likely cause of this issue?
A SysOps Administrator is designing an automated remediation workflow to reboot an Amazon EC2 instance if a custom application health metric falls below a threshold. The custom metric is published to Amazon CloudWatch every 60 seconds. The reboot must be performed by an AWS Systems Manager (SSM) Automation document. Which configuration will meet these requirements with the least operational overhead?
An administrator is troubleshooting a CloudWatch alarm configured to monitor the `DiskReadBytes` metric of an Amazon EC2 instance. The alarm has a period of seconds, an evaluation period of , and is set to transition to the `ALARM` state when disk read activity exceeds a specific threshold. The administrator notes that the alarm regularly transitions to the `INSUFFICIENT_DATA` state and fails to trigger during brief periods of high disk reads. The EC2 instance is currently using the default monitoring configuration.
Which action will resolve this issue while maintaining the alarm evaluation frequency?
A company runs a critical application on a fleet of Amazon EC2 instances. A SysOps Administrator is configuring a CloudWatch alarm to monitor the aggregate CPU utilization of the fleet. The alarm must transition to the ALARM state and send an Amazon SNS notification if the average CPU utilization exceeds for consecutive evaluation periods of minute. The EC2 instances are currently configured with standard monitoring.
Which combination of actions must the SysOps Administrator take to meet these requirements? (Select TWO.)
Geçerli olan tümünü seçin
An application running on an Amazon EC2 instance in a private subnet is unable to connect to an external database. To determine if outbound network connection attempts are being blocked, a SysOps Administrator decides to enable VPC Flow Logs for the subnet and publish the logs to a new Amazon CloudWatch Logs group.
Which of the following actions must the administrator perform to implement this configuration? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is monitoring a critical processing application running on a fleet of Amazon EC2 instances. The application publishes a custom CloudWatch metric named `QueueProcessingLatency` at 5-minute intervals. The administrator configures a CloudWatch alarm for this metric with a threshold of milliseconds, a period of minute, and `EvaluationPeriods` set to . The alarm is configured to treat missing data as `nonBreaching`.
During a peak traffic event, the latency increases to milliseconds and remains high for an hour, but the alarm never transitions to the `ALARM` state.
Which of the following is the reason for this behavior, and how should it be resolved?
A SysOps Administrator is monitoring an e-commerce application log group named /aws/app/ecommerce in Amazon CloudWatch Logs. The application publishes database timeout event logs in the following JSON format:
`{ "requestId": "req-123", "service": "InventoryService", "event": "DB_TIMEOUT", "details": { "duration_ms": 1500, "retryCount": 3 } }`
The administrator needs to monitor the average timeout duration, count the occurrences, and trigger an alert if the average duration exceeds 2000 ms over a 5-minute period.
Which combination of actions must the SysOps Administrator perform to meet these requirements? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is setting up an organization trail in AWS CloudTrail to aggregate API activity logs from all member accounts into a centralized Amazon S3 bucket named company-audit-logs in the organization's management account (account ID 111122223333). The administrator creates the S3 bucket and configures the following bucket policy statement to authorize log delivery:
{
"Sid": "AWSCloudTrailWrite",
"Effect": "Allow",
"Principal": {"Service": "cloudtrail.amazonaws.com"},
"Action": "s3:PutObject",
"Resource": "arn:aws:s3:::company-audit-logs/AWSLogs/111122223333/*",
"Condition": {
"StringEquals": {
"s3:x-amz-acl": "bucket-owner-full-control"
}
}
}
After enabling the organization trail, the administrator discovers that log files are successfully delivered for the management account, but log delivery fails for all member accounts with an access denied error. What action should the administrator take to resolve this issue?
A SysOps Administrator is monitoring an application log group in Amazon CloudWatch Logs. The administrator has created a metric filter to match the term 'AccessDenied' and configured it to increment a custom metric named 'AccessDeniedCount'. The administrator now needs to ensure that the security team receives an email notification whenever this error occurs.
What is the next step the administrator must take to send an email notification when the error occurs?
A SysOps Administrator is configuring a new AWS CloudTrail trail to deliver log files to an Amazon S3 bucket. The trail is configured to encrypt the log files using a customer managed key in AWS Key Management Service (AWS KMS). However, the administrator notices that log files are not appearing in the S3 bucket, and CloudTrail reports delivery errors.
Which of the following actions must the administrator take to allow CloudTrail to successfully deliver the encrypted log files? (Select two.)
Geçerli olan tümünü seçin
A SysOps Administrator is monitoring an Amazon EC2 instance that hosts a legacy transaction processing application. To detect transient CPU utilization spikes as quickly as possible, the administrator configures an Amazon CloudWatch alarm with a period of 60 seconds (1 minute) and an evaluation period of 1. However, the alarm remains in the INSUFFICIENT_DATA state, and CPU utilization spikes are not triggering the alarm. Which of the following actions will resolve this issue?
A SysOps Administrator is troubleshooting an issue where an automated remediation workflow fails to run. The application publishes a custom metric named `DatabaseConnections` to CloudWatch at `` intervals. The administrator configured a CloudWatch alarm to trigger a Systems Manager (SSM) Automation runbook to reboot the database instance if `DatabaseConnections` exceeds `` for `` consecutive periods of ``. However, during periods of high load, the alarm remains in the `INSUFFICIENT_DATA` state, and the runbook is never executed.
Which two configuration changes should the SysOps Administrator make to resolve this issue and successfully execute the remediation workflow? (Select TWO.)
Geçerli olan tümünü seçin