Tüm alıştırma soruları
976 soru
A SysOps Administrator is configuring monitoring for a containerized microservices application that writes logs to an Amazon CloudWatch Logs group in JSON format. A typical log event with a successful response looks like this:
{
"tenantId": "tenant-12",
"requestPath": "/checkout",
"responseCode": 200,
"executionTimeMs": 1250
}
For requests that fail due to an early gateway timeout, the `executionTimeMs` field is omitted from the JSON payload:
{
"tenantId": "tenant-12",
"requestPath": "/checkout",
"responseCode": 504
}
The Administrator needs to create a metric filter to track the latency of failed gateway requests (where `responseCode` is or ). The resulting metric must be named `GatewayLatency` in the custom namespace `AppMetrics`, with the dimension `Tenant` mapped to `tenantId` and the dimension `Path` mapped to `requestPath`. When the `executionTimeMs` field is missing, the metric must record a value of milliseconds. Metric points should not be published for successful requests or other status codes.
Which configuration combination should the SysOps Administrator implement to meet these requirements?
A SysOps Administrator is configuring a new VPC Flow Log to send traffic data to an Amazon CloudWatch Logs group. To manage costs, the administrator wants to ensure that the flow logs are retained for exactly 90 days.
Which action must the administrator take to configure this retention period?
A SysOps Administrator is troubleshooting an Amazon CloudWatch alarm configured to monitor a custom application metric named `ProcessingErrors` across a fleet of Amazon EC2 instances. The application code publishes this metric to CloudWatch with two dimensions: `InstanceId` and `Environment`. The CloudWatch alarm is configured to monitor the `ProcessingErrors` metric filtering by the `Environment` dimension only, in order to alert on the total aggregate error count. However, the alarm remains in the `INSUFFICIENT_DATA` state. Which of the following actions should the SysOps Administrator take to resolve this issue? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is configuring automatic remediation for an AWS Config rule that checks if Amazon S3 buckets have server-side encryption enabled. The administrator wants to use an AWS Systems Manager (SSM) Automation document to automatically remediate non-compliant buckets. Which of the following configuration steps are required to set up this automated remediation? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is configuring a monitoring solution for a fleet of web servers. The web servers write access logs to an Amazon CloudWatch Logs group in the Apache Common Log Format (CLF). The administrator needs to monitor for server-side errors and identify instances where response sizes exceed (). Specifically, if there are more than occurrences of HTTP status codes in the range combined with a response size greater than within any window, the administrator must receive an email notification. Additionally, to manage costs, the log group's retention period must be automatically adjusted to days if a peak event occurs, as it is currently set to never expire. Which TWO actions should the SysOps Administrator take to meet these requirements?
Geçerli olan tümünü seçin
An administrator wants to count database connection timeout errors in an application's logs using Amazon CloudWatch. The administrator sets up a metric filter on the log group to scan for the term 'Timeout' and configures a metric transformation to publish a value of for each occurrence.
Which additional action is necessary to trigger a notification when the frequency of timeout errors exceeds a specific threshold?
To verify that CloudTrail logs have not been tampered with after delivery, an organization enables log file integrity validation. A SysOps administrator attempting to run the `aws cloudtrail validate-logs` command from the AWS CLI receives access denied errors when the command attempts to fetch the digest files from the Amazon S3 log bucket. The administrator has the necessary CloudTrail permissions, but the S3 bucket policy is highly restrictive. Which two modifications will resolve this access issue and allow log validation? (Select two.)
Geçerli olan tümünü seçin
A SysOps Administrator is setting up an AWS CloudTrail organization trail in the management account (account ID 111122223333) to log all API activity across all accounts in an AWS Organization (org ID o-exampleorg12). The administrator creates a centralized S3 bucket named org-audit-logs-bucket in the management account.
The S3 bucket policy is configured as follows:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AWSCloudTrailAclCheck",
"Effect": "Allow",
"Principal": {
"Service": "cloudtrail.amazonaws.com"
},
"Action": "s3:GetBucketAcl",
"Resource": "arn:aws:s3:::org-audit-logs-bucket"
},
{
"Sid": "AWSCloudTrailWrite",
"Effect": "Allow",
"Principal": {
"Service": "cloudtrail.amazonaws.com"
},
"Action": "s3:PutObject",
"Resource": "arn:aws:s3:::org-audit-logs-bucket/AWSLogs/111122223333/*",
"Condition": {
"StringEquals": {
"s3:x-amz-acl": "bucket-owner-full-control"
}
}
}
]
}
After creating the organization trail, the administrator notices that logs from the management account are successfully delivered, but no logs are appearing for any of the member accounts in the organization. How should the SysOps Administrator modify the configuration to ensure logs from all member accounts are successfully delivered?
A SysOps Administrator is troubleshooting a CloudWatch alarm designed to initiate an automated remediation workflow when a custom application metric, `DatabaseQueryLatency`, exceeds . The application runs on Amazon EC2 instances with standard monitoring enabled. The alarm is configured with a 1-minute evaluation period and is intended to trigger an AWS Systems Manager (SSM) Automation runbook. However, the administrator notices that the alarm remains in the `INSUFFICIENT_DATA` state even when latency is high, and the runbook is never executed.
Which TWO actions should the administrator take to resolve these issues?
Geçerli olan tümünü seçin
A SysOps Administrator is monitoring an application running on a fleet of Amazon EC2 instances. The application logs are streamed to an Amazon CloudWatch Logs log group named `/aws/app/production-backend` using the CloudWatch agent. The logs are structured in JSON format as follows:
{
"request_id": "req-9823f",
"path": "/checkout",
"latency_ms": 350,
"db_queries": 4
}
The administrator needs to monitor occurrences of high latency for the `/checkout` path. Specifically, they must trigger an AWS SNS notification if there are more than requests to `/checkout` where `` exceeds within any -minute window.
Which of the following configurations will meet these requirements?
An e-commerce company operates an application on AWS where the frontend instances are managed by an Auto Scaling group (ASG). During scheduled flash sales, the company notices that CPU utilization spikes instantly on the active instances, causing the application to become temporarily unresponsive. However, the ASG fails to launch any new instances until exactly minutes after the flash sale starts, despite a target tracking policy being active. The ASG's launch template does not have detailed monitoring enabled.
Which configuration adjustment will resolve the delay in the initial scale-out actions?
A SysOps Administrator enabled log file integrity validation on an AWS CloudTrail trail. The trail encrypts its logs at rest using a customer managed AWS KMS key and delivers them to an Amazon S3 bucket. An audit requires the administrator to verify the integrity of the logs using the AWS CLI. However, when running the `aws cloudtrail validate-logs` command, the validation fails. Which of the following configuration issues could cause this validation failure? (Select TWO.)
Geçerli olan tümünü seçin
An administrator is configuring a lifecycle hook (EC2_INSTANCE_TERMINATING) for an Amazon EC2 Auto Scaling group to back up application logs to an Amazon S3 bucket before instances are terminated. What is the correct chronological sequence of events starting from when the Auto Scaling group initiates the termination of an instance?
Öğeleri doğru sıraya koymak için sürükleyin
A SysOps Administrator is monitoring a latency-sensitive application hosted on Amazon EC2 instances. The application publishes a custom metric named RequestLatency to Amazon CloudWatch. The administrator needs to design an automated remediation workflow that triggers within 30 seconds when average latency exceeds 500 milliseconds. Which TWO actions should the SysOps Administrator take to implement this monitoring and remediation capability? (Select TWO.)
Geçerli olan tümünü seçin
A company is hosting a file-sharing application on an Amazon EC2 instance that runs with standard monitoring enabled. To detect sudden spikes in outbound data transfer, a SysOps Administrator creates an Amazon CloudWatch alarm for the NetworkOut metric. The alarm is configured with a threshold of bytes, a period of minute, and an evaluation period of . During a testing window, a large file transfer causes the NetworkOut metric to exceed the threshold for exactly minutes, but the alarm remains in the OK state.
Which action will resolve this issue and ensure the alarm triggers during future traffic spikes?
A SysOps Administrator is monitoring a third-party payment processing helper utility that writes space-delimited transaction logs to Amazon CloudWatch Logs. The format of the log entries is:
`[timestamp, transaction_id, status_code, latency_ms, response_size]`
An example log entry is:
`2026-07-14T12:00:00Z tx-9988 502 350 1024`
The administrator wants to extract the `latency_ms` value into a custom metric for any transaction where the `status_code` is or higher.
Which TWO steps are required to correctly configure this monitoring solution? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is designing a centralized monitoring solution for an application distributed across two AWS accounts. Account A has Amazon Elastic Container Service (Amazon ECS) clusters running on AWS Fargate in the us-east-1 Region. Account B has ECS clusters running on AWS Fargate in the us-west-2 Region. The Administrator needs to create a single, consolidated Amazon CloudWatch dashboard in Account C (us-east-1) that displays container-level CPU and memory utilization metrics from both Account A and Account B clusters. The solution must minimize custom script development and operational overhead.
Which combination of actions should the SysOps Administrator take to meet these requirements? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is tasked with establishing a compliance baseline across all member accounts within an AWS Organization. The administrator wants to deploy a pre-defined package containing several AWS Config rules and their associated remediation actions as a single unit from the organization's management account.
Which of the following components or configurations are required to accomplish this deployment? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is designing an automated remediation workflow for a web application running on an Amazon EC2 instance. The administrator needs to configure an Amazon CloudWatch alarm to monitor the EC2 instance's CPU utilization (). The alarm must trigger an automated response if the CPU utilization exceeds for three consecutive -minute periods. The automated response must execute an AWS Systems Manager (SSM) Automation runbook. Which actions should the administrator take to meet these requirements? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is configuring an automated remediation workflow for an application running on a standalone Amazon EC2 instance. The administrator wants to execute a custom AWS Systems Manager (SSM) Automation document to reboot the instance when the `CPUUtilization` metric exceeds for consecutive -minute periods. Currently, default monitoring is enabled on the instance. During testing, the alarm remains in the `INSUFFICIENT_DATA` state and fails to trigger the remediation workflow.
Which of the following actions should the administrator take to resolve this issue and execute the remediation workflow? (Select TWO.)
Geçerli olan tümünü seçin