Tüm alıştırma soruları
976 soru
A company runs a web application on an Amazon EC2 instance within a VPC. The instance is launched in a public subnet with a CIDR block of and has an associated Elastic IP address. The application must accept incoming HTTPS requests from clients on the internet on port 443, and the instance must also initiate outbound HTTPS connections on port 443 to download software updates from an external repository.
Currently, the EC2 instance cannot be reached from the internet, and it cannot access the external update repository. A SysOps administrator confirms the following configurations:
- The EC2 instance's Security Group allows inbound and outbound TCP traffic on port 443.
- The subnet is associated with a custom Network ACL (NACL) that allows inbound and outbound TCP traffic on port 443, but blocks all other traffic.
- The subnet's route table has a route for the local VPC CIDR block, but no route for the destination .
Which of the following actions should the SysOps administrator take to resolve these connectivity issues? (Select TWO.)
Geçerli olan tümünü seçin
A company uses an automated CI/CD pipeline to deploy utility servers into a designated subnet within a custom VPC. After a recent deployment, the utility servers are assigned public IPv4 addresses, but administrators are unable to establish SSH connections () or ping the servers from the internet. The security group and Network ACL associated with the subnet both explicitly allow SSH traffic.
Which of the following routing issues is preventing external access to these utility servers?
A company has migrated a web application to an Amazon EC2 instance in a VPC. The instance is assigned a public IPv4 address and is placed in a subnet with a CIDR block of . The security group associated with the instance allows all inbound traffic on port and port , and the network ACL allows all inbound and outbound traffic. However, users are reporting that they receive connection timeouts when trying to access the application. The SysOps Administrator confirms that the application is running locally on the instance. Which of the following troubleshooting steps should the administrator perform next to resolve the connectivity issue?
A SysOps Administrator has deployed an Amazon EC2 instance in a newly created subnet. The instance has been assigned a public IPv4 address, and its security group is configured to allow all outbound traffic and inbound SSH traffic from the administrator's IP address. However, the administrator is unable to establish an SSH connection to the instance, and the instance cannot reach external internet-based repositories. Which two configurations should the administrator verify to resolve this connectivity issue?
Geçerli olan tümünü seçin
A SysOps Administrator is managing an application on a standalone Amazon EC2 instance. The administrator configures a custom script on the instance to publish a custom metric named ActiveConnections to Amazon CloudWatch every 10 seconds. The administrator then creates a CloudWatch alarm with a period of 10 seconds and an evaluation period of 3 to monitor this metric. The goal is to automatically trigger an AWS Systems Manager (SSM) Automation runbook to reboot the instance if active connections exceed 500.
During a traffic spike, the active connections exceeded 500 for several minutes, but the alarm remained in the INSUFFICIENT_DATA state and the instance did not reboot.
Which two of the following configuration changes will resolve these issues and ensure the automated reboot executes successfully? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is configuring an Amazon CloudWatch alarm to automatically reboot a critical standalone Amazon EC2 instance if its CPU utilization remains above 90% for three consecutive minutes. The administrator configures the alarm with the following settings:
* Metric: CPUUtilization in the AWS/EC2 namespace
* Period: 1 minute
* Evaluation Periods: 3
* Action: EC2 Reboot action (arn:aws:automate:us-east-1:ec2:reboot) when the alarm is in the ALARM state
During testing, the administrator notices two issues: the alarm remains in the INSUFFICIENT_DATA state even when the instance is under heavy load, and the console displays a validation error stating that the EC2 reboot action cannot be associated with the alarm.
Which of the following actions must the administrator take to resolve these issues and ensure the reboot action executes successfully? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is configuring an Amazon EC2 Auto Scaling group (ASG) to dynamically scale out. The ASG is currently using standard monitoring. The administrator needs to configure a CloudWatch alarm that will trigger the scale-out policy when the average CPU utilization exceeds for two consecutive 1-minute periods. Which two configurations or actions must the administrator perform to achieve this?
Geçerli olan tümünü seçin
A CPU-intensive data analysis application runs on Amazon EC2 instances within an Auto Scaling group. The group uses a target tracking scaling policy based on average CPU utilization. The workload arrives in unpredictable batches. The operations team notices two problems:
1. When a new batch of workload arrives, it takes up to 10 minutes before the Auto Scaling group begins to launch new instances, causing a temporary performance bottleneck.
2. Once scaling begins, the group frequently launches more instances than are needed to handle the load, resulting in underutilized resources and unnecessary costs.
Which two actions should the administrator take to address these problems? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is monitoring a web application hosted on Amazon EC2 instances. The application writes structured JSON logs to an Amazon CloudWatch Logs log group. A representative log event is shown below:
{
"environment": "production",
"http_details": {
"status_code": 502,
"duration_ms": 420
}
}
The Administrator needs to create a custom metric named `BackendLatency` in the `App/Monitoring` namespace. This metric must record the `duration_ms` value only for production environment requests that result in an HTTP 5xx server error (status code to ). Additionally, if the latency exceeds ms, the Administrator wants to trigger an automated workflow to restart the application service on the EC2 instances. Which configuration should the Administrator implement to meet these requirements?
A SysOps Administrator is configuring VPC Flow Logs to monitor network traffic for security compliance. The flow logs must be published to a new Amazon CloudWatch Logs log group. Any high-frequency network rejections should trigger an automated system teardown via an AWS Systems Manager (SSM) Automation runbook. The administrator attempts to configure the workflow but encounters two issues: they receive an access denied error when attempting to create the flow log, and the SSM Automation runbook is not being triggered during simulated network rejection events. Which of the following actions should the SysOps Administrator take to successfully configure the flow log delivery and the automated remediation path? (Select TWO).
Geçerli olan tümünü seçin
A SysOps Administrator is setting up VPC Flow Logs to capture traffic for a critical application and stream it to an Amazon CloudWatch Logs log group. The administrator creates an IAM role named FlowLogDeliveryRole with a trust policy that allows the vpc-flow-logs.amazonaws.com service principal to assume the role. The role has an attached IAM policy granting logs:CreateLogStream and logs:PutLogEvents permissions. When the administrator attempts to create the flow log using the AWS CLI command 'aws ec2 create-flow-logs', the command returns an AccessDenied error. Which of the following is the most likely cause of this issue?
A SysOps administrator must establish a disaster recovery and backup strategy for an application hosted in us-east-1. The application uses an Amazon S3 bucket for object storage and an Amazon RDS for MySQL DB instance. The architecture must satisfy the following criteria:
1. All objects uploaded to the S3 bucket must be replicated to a bucket in us-west-2 while preserving their version history.
2. The database must achieve a Recovery Time Objective (RTO) of less than 2 minutes during an Availability Zone outage in us-east-1 without manual intervention or DNS endpoint updates.
3. Database backups must be copied to us-west-2 daily.
Which two actions should the SysOps administrator take to meet these requirements? (Select TWO.)
Geçerli olan tümünü seçin
A company hosts a production web application in the us-east-1 Region. The application uses Amazon EC2 instances behind an Application Load Balancer (ALB) and an Amazon RDS for PostgreSQL DB instance. The SysOps Administrator needs to design a disaster recovery (DR) strategy to the us-west-2 Region. The business requires a Recovery Point Objective (RPO) of minutes and a Recovery Time Objective (RTO) of hours. The strategy must minimize ongoing infrastructure costs in the secondary region.
Which configuration meets these requirements?
A company hosts a document management application in the us-west-2 Region. The application uses Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer for the compute tier, Amazon Aurora PostgreSQL for the database tier, and an Amazon S3 bucket for document storage.
The company needs to establish a disaster recovery (DR) plan in the us-east-1 Region. The DR strategy must achieve a Recovery Point Objective (RPO) of 5 minutes and a Recovery Time Objective (RTO) of 15 minutes, while minimizing idle resource costs.
Which combination of actions should a SysOps Administrator perform to meet these requirements? (Select TWO.)
Geçerli olan tümünü seçin
An operations team is deploying a compliance control using AWS Config to ensure all Amazon DynamoDB tables have point-in-time recovery (PITR) enabled. To automatically correct non-compliant tables, the team intends to use an AWS Systems Manager (SSM) Automation runbook. They create a dedicated IAM role named 'SSMExecutionRole' containing the DynamoDB update permissions. During testing, when AWS Config identifies a non-compliant table, the remediation fails to execute. What configuration steps must be performed to allow AWS Config to successfully run the remediation using the specified role?
A company hosts a document archiving application on AWS. The application uses a single Amazon EC2 instance to process PDF uploads, stores the files in an Amazon S3 bucket, and writes metadata to a Single-AZ Amazon RDS for PostgreSQL DB instance. A SysOps administrator must configure a cost-effective disaster recovery (DR) strategy in a secondary AWS Region. The DR strategy must meet a Recovery Point Objective (RPO) of 4 hours and a Recovery Time Objective (RTO) of 24 hours. 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 managing an application that writes JSON-formatted log events to an Amazon CloudWatch Logs group named `/aws/apps/auth-service`. A sample log event is shown below:
{
"timestamp": "2026-07-14T10:00:00Z",
"request_id": "req-98213",
"service": "auth-service",
"event": "LoginFailed",
"user_type": "premium",
"latency_ms": 350
}
The administrator needs to monitor the frequency of failed login events specifically for premium users. Additionally, the administrator must ensure that logs in this log group are kept for only 90 days to avoid indefinite storage costs.
Which two actions should the administrator take to meet these requirements? (Select TWO.)
Geçerli olan tümünü seçin
A company uses Amazon Route 53 for active-passive failover routing. The primary record is a non-Alias A record with a TTL of 300 seconds pointing to an on-premises application server. The secondary record points to a static maintenance page hosted on Amazon S3. To monitor the primary server, a custom script on-premises publishes a heartbeat metric to Amazon CloudWatch every 60 seconds. A CloudWatch alarm is configured to trigger if the heartbeat is missing for 3 consecutive periods. A Route 53 health check is set up to monitor the state of this CloudWatch alarm and is associated with the primary A record. During a network outage, the on-premises server is disconnected, causing the CloudWatch alarm to enter the INSUFFICIENT_DATA state. Users continue to experience connection timeouts because they are still routed to the primary server. Which of the following is the correct configuration change to resolve this issue and minimize client failover time?
An Auto Scaling group (ASG) uses a step scaling policy based on the `CPUUtilization` metric. The EC2 instances in the ASG require approximately minutes to run bootstrapping scripts and start processing tasks. During traffic spikes, the SysOps administrator observes that the ASG launches additional instances every minutes before the previously launched instances can finish bootstrapping, resulting in over-provisioning. Additionally, the ASG is slow to trigger scaling actions when traffic initially spikes because the CPU utilization data points are evaluated at -minute intervals. Which actions should the SysOps administrator take to resolve these issues? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator performs a drift detection operation on an AWS CloudFormation stack containing an Amazon EC2 instance and a Security Group. The drift detection report indicates that the stack is DRIFTED because a new inbound port was manually added to the Security Group. Which two methods can the administrator use to resolve the drift and align the stack's actual configuration with its expected template configuration? (Select TWO.)
Geçerli olan tümünü seçin