Tüm alıştırma soruları
976 soru
An administrator is configuring a custom step scaling policy for an Amazon EC2 Auto Scaling group (ASG) based on a custom MemoryUtilization metric. The custom metric is collected and sent to Amazon CloudWatch by the CloudWatch agent installed on the EC2 instances. During testing, the administrator notices two issues:
1. Scale-out actions are delayed by up to 5 minutes because the custom metric alarms are evaluated using the default period.
2. Immediately after a scale-out event triggers, the ASG repeatedly launches additional instances before the newly launched instances have finished booting and initializing, causing temporary over-provisioning.
Which two actions should the administrator take to resolve these issues? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps administrator is troubleshooting an issue where an Amazon EC2 Auto Scaling group behind an Application Load Balancer (ALB) is registering new instances with the ALB before they are fully configured, leading to temporary HTTP 502 Bad Gateway errors. The administrator implements an `EC2_INSTANCE_LAUNCHING` lifecycle hook to pause the instance state during initialization. Arrange the sequence of operational steps and state transitions that must occur for a new instance to be successfully configured and start receiving healthy traffic from the ALB.
Öğeleri doğru sıraya koymak için sürükleyin
A SysOps Administrator is troubleshooting network connectivity between an Amazon EC2 instance in a public subnet and an external database. The EC2 instance is attempting to connect to the database at IP address 203.0.113.50 on TCP port 5432. The connection attempts are failing with a timeout.
The administrator enables VPC Flow Logs for the EC2 instance's elastic network interface (ENI). The flow logs capture the following records:
text
2 123456789012 eni-0123456789abcdef0 10.0.1.15 203.0.113.50 49152 5432 6 1 40 1620000000 1620000060 ACCEPT OK
2 123456789012 eni-0123456789abcdef0 203.0.113.50 10.0.1.15 5432 49152 6 1 40 1620000000 1620000060 REJECT OK
Which two statements explain this behavior and identify the correct configuration changes required to resolve this connectivity issue? (Select two.)
Geçerli olan tümünü seçin
An operations team reports that a critical application running on Amazon EC2 instances in a private subnet is unable to retrieve data from an external API, though the API endpoint is verified as active. To investigate the issue, a SysOps Administrator enables VPC Flow Logs for the subnet. The flow logs reveal that outbound TCP traffic to the API on port 443 shows an action of ACCEPT, but the inbound return traffic from the API's IP address on TCP ports 1024–65535 shows an action of REJECT. Which of the following is the most likely cause of this behavior?
A SysOps Administrator is deploying the AWS Replication Agent on an on-premises server to configure replication with AWS Elastic Disaster Recovery (AWS DRS). The installation fails because the AWS credentials provided do not have the permissions necessary to register the source server. Which configuration will resolve this issue and allow the Replication Agent to successfully register the server?
A company's production application runs in the us-east-1 Region. The application tier consists of stateless Amazon ECS tasks running on AWS Fargate behind an Application Load Balancer (ALB). The database tier uses a Multi-AZ Amazon Aurora PostgreSQL DB cluster. User documents are stored in an Amazon S3 bucket. A SysOps administrator must establish a disaster recovery (DR) strategy in the us-west-2 Region. The business requires a Recovery Point Objective (RPO) of 5 minutes and a Recovery Time Objective (RTO) of 15 minutes while minimizing ongoing idle resource costs in the recovery region.
Which combination of actions will meet these requirements? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps administrator is managing an Amazon EC2 Auto Scaling group (ASG) configured to scale out based on CPU utilization using a dynamic scaling policy. The administrator observes that although the associated Amazon CloudWatch alarm has transitioned to the ALARM state, the ASG does not launch any new instances. The maximum capacity of the ASG is set to , the minimum is , and the current desired capacity is . Which two troubleshooting steps should the administrator perform to identify the root cause of this behavior? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is managing a write-heavy PostgreSQL database on Amazon RDS. The database is currently deployed as a standard Multi-AZ DB instance. During a recent Availability Zone outage, the database failed over to the standby instance, but the application experienced approximately 80 seconds of downtime. The administrator needs to migrate the database to a configuration that reduces the failover time to under 35 seconds while still allowing the standby instances to serve read traffic. Which database configuration and architectural transition should the administrator implement to meet these requirements?
A SysOps Administrator is configuring a monitoring and remediation solution for a backend service running on Amazon EC2. The service outputs space-delimited logs to an Amazon CloudWatch Logs log group. A typical log entry is formatted as follows:
`api-srv-01 srv-core WARN 500 1200`
The fields, from left to right, represent: `Source`, `Service`, `LogLevel`, `StatusCode`, and `ResponseTimeMs`.
The administrator wants to:
1. Extract `ResponseTimeMs` as a custom metric named `TransactionLatency` in the `BackendApp` namespace.
2. Only count logs where the `LogLevel` is either `WARN` or `ERROR`, and the `StatusCode` is not equal to .
3. Automatically restart the EC2 instance using the Systems Manager Automation document `AWS-RestartEC2Instance` if the average `TransactionLatency` exceeds ms over three consecutive -minute periods.
Which two steps must the SysOps Administrator take to meet these requirements? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is configuring AWS Elastic Disaster Recovery (AWS DRS) to replicate an on-premises server to AWS. Which of the following requirements must be met to ensure that the AWS Replication Agent can successfully register the source server and replicate data to AWS? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is planning to update an AWS Elastic Beanstalk application. The update must be deployed with zero downtime, and the administrator must be able to roll back to the previous version immediately if any issues are detected. The old environment must remain active during the initial cutover. Which deployment strategy meets these requirements?
A financial services firm runs a critical transaction processing application on AWS. The application tier consists of stateless Amazon EC2 instances in an Auto Scaling group, while the data tier uses an Amazon Aurora PostgreSQL database. Transaction receipts are stored in an Amazon S3 bucket. A SysOps Administrator must establish a cross-region disaster recovery (DR) strategy that achieves a Recovery Time Objective (RTO) of less than 15 minutes and a Recovery Point Objective (RPO) of less than 1 minute. The strategy must also minimize baseline infrastructure costs. Which of the following architectures meets these requirements?
A company uses Amazon Route 53 to manage DNS for its web application. The primary routing record is an Alias record pointing to an Application Load Balancer (ALB), and the secondary record is an Alias record pointing to an Amazon S3 static website bucket, configured as an active-passive failover pair. During a scheduled disaster recovery drill, all EC2 instances behind the ALB are stopped. However, external clients continue to be routed to the ALB, resulting in HTTP 503 Service Unavailable errors, rather than being redirected to the S3 bucket. Which configuration adjustment will resolve this issue and enable automatic failover?
A SysOps Administrator is setting up Amazon S3 Cross-Region Replication (CRR) between a source bucket and a destination bucket. The administrator has configured the replication rule and the IAM role, but objects are not replicating to the destination bucket. Which of the following configuration steps must be performed to enable replication? (Select two.)
Geçerli olan tümünü seçin
A company hosts a legacy resource planning application in the us-west-2 Region. The application consists of Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer (ALB) and an Amazon RDS for MySQL DB instance. The company needs to establish a disaster recovery (DR) site in the us-east-1 Region. The DR plan requires a Recovery Point Objective (RPO) of less than 5 minutes and a Recovery Time Objective (RTO) of less than 15 minutes. The configuration must minimize ongoing running costs in the secondary region. Which strategy should a SysOps administrator implement to meet these requirements?
A SysOps Administrator is configuring Amazon S3 Cross-Region Replication (CRR) between a source bucket and a destination bucket. The replication configuration is successfully applied, but the objects are not replicating. Upon investigation, the administrator discovers that S3 Versioning is enabled on the source bucket but is suspended on the destination bucket. Which action will resolve this issue?
A SysOps administrator is managing an Amazon EC2 Auto Scaling group (ASG) that uses a step scaling policy to scale out when average CPU utilization exceeds . During unexpected traffic spikes, the ASG launches new instances, but it continues to launch more instances every minutes before the previously launched instances have finished bootstrapping and begun processing traffic. This behavior causes the group to scale out beyond the required capacity, leading to unnecessary costs. Which action will prevent the ASG from launching additional instances while the newly launched instances are still bootstrapping?
An operations team needs to update an application hosted on AWS Elastic Beanstalk. The update must be performed with zero downtime, and the application must maintain its full instance capacity throughout the deployment process. Which two Elastic Beanstalk deployment policies should be selected to meet these requirements?
Geçerli olan tümünü seçin
An administrator is configuring a rolling update deployment for an Amazon Elastic Container Service (Amazon ECS) service that has a desired task count of . The deployment must guarantee that the service capacity does not drop below healthy tasks at any time, but it can scale up to tasks during the update process. Which deployment configuration parameters should the administrator specify to meet these requirements?
A SysOps Administrator is using the AWS CLI to configure VPC Flow Logs to monitor rejected network traffic at the subnet level. The administrator wants to deliver the flow logs to an Amazon CloudWatch Logs log group. To comply with company security policies, the administrator must ensure that the role used to deliver the logs operates with least privilege. Additionally, to manage costs, the logs must be retained for only 90 days.
Which TWO actions must the administrator take to complete this configuration and meet these requirements?
Geçerli olan tümünü seçin