Tüm alıştırma soruları
976 soru
An organization runs a memory-sensitive workload on a standalone Amazon EC2 instance. To ensure stability, the instance must be automatically rebooted if the custom metric `AvailableMemory`—which is published every `` minutes to a custom namespace—falls below `` MB for two consecutive evaluation periods (a total of `` minutes). Which two configuration steps should a SysOps Administrator perform to achieve this requirement?
Geçerli olan tümünü seçin
A SysOps Administrator is troubleshooting an issue where a newly configured AWS CloudTrail trail is failing to deliver logs to a centralized Amazon S3 bucket. The trail is configured to encrypt log files using an AWS Key Management Service (AWS KMS) customer managed key. The S3 bucket policy is verified to correctly permit the 'cloudtrail.amazonaws.com' service principal to write objects. However, log delivery is failing, and the CloudTrail console displays an access denied error related to encryption. Which modification will resolve this log delivery issue?
A SysOps administrator notices that an Auto Scaling group is launching excessive, redundant EC2 instances shortly after a scale-out event begins. This behavior occurs because new instances are still bootstrapping and have not yet begun reporting metrics, causing the CloudWatch alarm to remain in the ALARM state. Which Auto Scaling configuration setting should the administrator adjust to prevent these redundant scaling actions?
A SysOps Administrator is configuring a new AWS CloudTrail trail to deliver management events to an Amazon S3 bucket. The logs must be encrypted using an AWS Key Management Service (AWS KMS) customer managed key (SSE-KMS), and log file integrity validation must be enabled. Which actions must the SysOps Administrator take to configure this log delivery and encryption? (Select two.)
Geçerli olan tümünü seçin
A SysOps Administrator is troubleshooting log delivery for an AWS Organizations trail configured in the management account (111122223333). The trail is configured to log API events for all member accounts, deliver logs to a centralized Amazon S3 bucket named central-trail-logs, and encrypt the logs using a customer managed AWS KMS key. Currently, no logs are appearing in the S3 bucket, and CloudTrail logs show delivery errors. Which two configuration updates are required to resolve this issue? (Select TWO.)
Geçerli olan tümünü seçin
An administrator has installed the unified Amazon CloudWatch agent on an Amazon EC2 instance to send application log files to Amazon CloudWatch Logs. The agent status is running, but no log streams are appearing in the CloudWatch console. Which of the following configurations is missing and preventing the logs from being delivered?
A company runs a production web application on AWS. The application tier consists of stateless Amazon EC2 instances, and the data tier uses an Amazon RDS for PostgreSQL database instance. A SysOps administrator must implement a cross-region disaster recovery (DR) strategy with a Recovery Time Objective (RTO) of 4 hours and a Recovery Point Objective (RPO) of 24 hours. The strategy must minimize ongoing costs. Which DR strategy should the administrator implement to meet these requirements?
A financial services provider hosts a critical transaction application in the us-east-1 Region. The architecture consists of an Application Load Balancer, an Auto Scaling group of Amazon EC2 instances, and an Amazon Aurora PostgreSQL database cluster. The provider requires a disaster recovery (DR) solution in the us-west-2 Region with a Recovery Point Objective (RPO) of less than 5 minutes and a Recovery Time Objective (RTO) of less than 15 minutes. The solution must minimize ongoing operational costs.
Which strategy meets these requirements?
A company's production environment runs on a single-node Amazon RDS for MySQL DB instance. Due to recent network issues, a SysOps Administrator is tasked with configuring the database for high availability to ensure it can survive an Availability Zone outage with minimal downtime. Which actions should the administrator take to achieve this configuration? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is configuring a new multi-region trail in AWS CloudTrail for Account A (). The trail is configured to deliver logs to a centralized Amazon S3 bucket located in Account B (). The bucket is configured to encrypt all new objects using a Customer Managed Key (CMK) in AWS KMS located in Account B. The S3 bucket policy in Account B has been updated to allow log delivery from Account A, but CloudTrail displays a log delivery error and no log files are generated. Which configuration change will resolve this log delivery failure?
{
"Sid": "Allow CloudTrail to encrypt logs",
"Effect": "Allow",
"Principal": {
"Service": "cloudtrail.amazonaws.com"
},
"Action": [
"kms:GenerateDataKey*",
"kms:DescribeKey"
],
"Resource": "*",
"Condition": {
"StringLike": {
"kms:EncryptionContext:aws:cloudtrail:arn": "arn:aws:cloudtrail:*:111111111111:trail/*"
}
}
}
{
"Sid": "Allow CloudTrail KMS encryption",
"Effect": "Allow",
"Principal": {
"Service": "cloudtrail.amazonaws.com"
},
"Action": [
"kms:GenerateDataKey*",
"kms:DescribeKey"
],
"Resource": "arn:aws:kms:us-east-1:222222222222:key/my-kms-key"
}
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Allow KMS usage for CloudTrail",
"Effect": "Allow",
"Action": [
"kms:GenerateDataKey*",
"kms:DescribeKey"
],
"Resource": "arn:aws:kms:us-east-1:222222222222:key/my-kms-key"
}
]
}
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Allow PassRole to CloudTrail",
"Effect": "Allow",
"Action": "iam:PassRole",
"Resource": "arn:aws:iam::111111111111:role/CloudTrailDeliveryRole",
"Condition": {
"StringEquals": {
"iam:PassedToService": "cloudtrail.amazonaws.com"
}
}
}
]
}
A SysOps Administrator is designing a disaster recovery strategy for a critical transactional application. The primary infrastructure is in the eu-west-1 Region, utilizing an Amazon RDS for PostgreSQL DB instance in a Multi-AZ deployment. For cross-region disaster recovery, the administrator deploys an RDS Read Replica in the eu-central-1 Region.
To manage traffic during a regional outage, the administrator configures an Amazon Route 53 active-passive failover routing policy. The primary routing record is a CNAME pointing to the primary RDS endpoint in eu-west-1, associated with a Route 53 health check. The secondary routing record is a CNAME pointing to the replica's endpoint in eu-central-1.
During a simulated outage of eu-west-1, the health check fails, and Route 53 successfully redirects traffic to eu-central-1. However, the application fails to perform any write operations, returning read-only database transaction errors.
Which of the following describes the root cause of this issue, and the correct action to resolve it?
A company has an Amazon EC2 Auto Scaling group (ASG) configured with a scale-in lifecycle hook. When a scale-in event occurs, application log files on the instance must be backed up to an Amazon S3 bucket before the instance is terminated. A SysOps administrator is configuring this flow using Amazon EventBridge and AWS Systems Manager Run Command.
Arrange the sequence of events in the correct chronological order from the initiation of the scale-in event to the final termination of the instance.
Öğeleri doğru sıraya koymak için sürükleyin
A SysOps administrator is configuring a monitoring solution for a legacy transaction-processing application. The application logs are streamed to an Amazon CloudWatch Logs log group. The log events use a space-delimited format, with each line structured as:
`[Date] [Time] [Transaction_ID] [Status] [Latency_MS]`
An example log line is:
`2026-07-14 10:15:30 tx-40293 SUCCESS 1250`
The administrator needs to monitor performance degradation by capturing the latency of all successful transactions where the latency exceeds milliseconds. The captured latency values must be published to a custom CloudWatch metric.
Which configuration should the administrator use to accomplish this?
An organization has enabled log file integrity validation on an active AWS CloudTrail trail. While the trail successfully delivers CloudTrail log files to the destination Amazon S3 bucket, the administrator notices that no digest files are being generated or delivered to the bucket, preventing log validation. Which of the following is the most likely cause of this issue?
A company hosts a web application on Amazon EC2 instances with an Amazon RDS for MySQL DB instance. A SysOps Administrator must establish a cross-region disaster recovery (DR) strategy with a Recovery Point Objective (RPO) of 1 hour and a Recovery Time Objective (RTO) of 30 minutes. The solution must minimize ongoing running costs in the recovery region. Which disaster recovery strategy should the SysOps Administrator implement to meet these requirements?
A SysOps administrator manages an Amazon EC2 Auto Scaling group (ASG) behind an Application Load Balancer. The ASG is configured with a target tracking scaling policy based on the metric at a target value of . Standard monitoring is enabled on the EC2 instances in the launch template. During sudden traffic spikes, CPU utilization rises to , triggering a scale-out. However, the administrator observes that the ASG launches multiple consecutive batches of instances before the first batch has finished initializing and registering with the load balancer, leading to significant over-provisioning. The application on the instances requires minutes to become fully operational and begin processing requests. Which action should the administrator take to prevent this over-provisioning behavior?
An organization's enterprise resource planning (ERP) application uses an Amazon RDS for PostgreSQL DB instance configured in a Multi-AZ deployment within the us-east-1 Region. For disaster recovery purposes, the database also has a cross-Region read replica configured in the us-west-2 Region. The application servers in us-east-1 connect to the database using the primary database endpoint CNAME. Amazon Route 53 is configured with an active-passive failover routing policy to redirect client traffic to us-west-2 only if the application stack in us-east-1 becomes completely unavailable.
Following an unexpected hardware failure on the active primary DB instance in us-east-1, the database undergoes an automatic failover. However, the SysOps Administrator observes that the local application servers in us-east-1 continue to encounter database connection timeout errors for several minutes, and Route 53 does not redirect client traffic to the us-west-2 Region.
Which two statements correctly explain these observations and identify the appropriate steps to resolve the connection issues? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is troubleshooting an Amazon EC2 instance in a private subnet that is unable to send application logs to Amazon CloudWatch Logs. The unified CloudWatch agent is installed on the instance, and an interface VPC endpoint for CloudWatch Logs (`com.amazonaws.us-east-1.logs`) is deployed in the VPC. The CloudWatch agent log file on the instance shows repeated connection timeouts when attempting to reach the CloudWatch Logs service endpoint.
Which TWO configurations should the administrator verify to resolve these connection timeouts? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is configuring a monitoring solution for a microservice running on AWS. The application outputs structured JSON logs to an Amazon CloudWatch Logs log group. Below is a sample log event:
{
"eventType": "OrderDelivery",
"details": {
"status": "Failed",
"retryCount": 3,
"latencyMs": 450
}
}
The administrator needs to monitor this log group and trigger an alert if there are frequent occurrences of order deliveries that fail after 3 or more retries. The administrator wants to ensure that the alarm evaluates correctly even during periods of zero traffic when no logs are generated.
Which TWO configuration steps should the administrator perform to meet these requirements? (Select TWO.)
Geçerli olan tümünü seçin
An organization runs an internal document processing system on AWS. The application tier uses stateless Amazon EC2 instances in a single Availability Zone in the us-west-2 Region. The data tier consists of an Amazon RDS for PostgreSQL database for metadata and an Amazon S3 bucket for PDF storage. A SysOps Administrator must establish a Disaster Recovery (DR) strategy in the us-east-1 Region. The business requires a Recovery Point Objective (RPO) of 15 minutes for the PDFs, an RPO of 1 hour for the metadata database, and a Recovery Time Objective (RTO) of 4 hours. The strategy must minimize ongoing costs under normal operating conditions. Which two configuration steps should the SysOps Administrator perform to meet these requirements? (Select TWO.)
Geçerli olan tümünü seçin