Tüm alıştırma soruları
976 soru
A SysOps administrator is managing an AWS CloudFormation template that deploys a web application hosted on Amazon EC2 instances within an Auto Scaling group (ASG) behind an Application Load Balancer. The ASG has a desired capacity of instances. The administrator is preparing to deploy an application update by updating the Amazon Machine Image (AMI) reference in the ASG's Launch Template.
The deployment must satisfy the following operational requirements:
- The update must be zero-downtime and maintain at least the desired capacity of healthy instances in service throughout the entire update process.
- Each new instance must be verified as fully initialized and running the application successfully before any existing instance is terminated.
- If any new instance fails to initialize within a specified timeframe, the deployment must automatically roll back to the original Launch Template version without administrative intervention.
Which configuration should the administrator implement to meet these requirements?
A company runs a critical web application on a fleet of Amazon EC2 instances managed by an Amazon EC2 Auto Scaling group behind an Application Load Balancer. A SysOps Administrator is setting up a deployment pipeline using AWS CodeDeploy. The deployment process must satisfy the following requirements:
- The application must not experience any downtime during updates.
- If the update fails, the application must be rolled back to the previous version immediately without requiring the redeployment of code or launching of new instances during the rollback process.
- The deployment process must minimize the temporary increase in running instance costs.
Which deployment strategy and configuration should the Administrator choose to meet these requirements?
A SysOps administrator needs to automatically stop any Amazon EC2 instance that transitions to the running state in a development AWS account. Which configuration will achieve this with the least operational overhead?
A SysOps Administrator is setting up an Amazon CloudWatch metric filter to parse JSON logs from an application. The logs contain the following structure:
{ "request_id": "req-102", "service": "billing", "response_time_ms": 350, "status": "FAIL" }
The administrator wants to create a custom metric to track the number of failed billing requests that exceed a response time of ms. The administrator needs to record these occurrences at a -minute resolution in CloudWatch. Which configuration should the administrator use?
An operations team manages a containerized service on Amazon ECS with a desired task count of . Due to strict resource limits on the hosting infrastructure, the deployment of a new task definition version must not run more than tasks concurrently. The service must remain online and accept traffic throughout the deployment, even if at a temporarily reduced capacity.
Which two deployment parameters must a SysOps administrator configure in the ECS service definition to meet these requirements? (Choose two.)
Geçerli olan tümünü seçin
A SysOps administrator is managing an Amazon EC2 Auto Scaling group (ASG) that hosts a batch processing application. To accommodate a predictable surge in workload, the administrator configured a scheduled scaling action to increase the desired capacity of the ASG from to instances daily at 06:00 UTC. However, the administrator notices that the desired capacity remains at at 06:00 UTC, and no scaling occurs. The administrator verifies that dynamic scaling policies triggered by CloudWatch alarms are still scaling the group successfully. What is the most likely cause of this issue?
A SysOps Administrator is designing a deployment process for a stateless web application hosted on Amazon EC2 instances in an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). The update process must meet the following operational requirements:
1. The application's total serving capacity must not decrease during the deployment.
2. A small, controlled percentage () of live production traffic must be routed to the new version to perform canary testing.
3. If target group errors or latency metrics exceed predefined Amazon CloudWatch thresholds, the deployment must automatically roll back within minutes.
4. Active user sessions on the stable version must not be disconnected, terminated, or disrupted during the rollback process.
Which two deployment actions or configurations should the SysOps Administrator implement to achieve these requirements? (Select two.)
Geçerli olan tümünü seçin
A SysOps administrator needs to deploy a custom application update to a fleet of Amazon EC2 instances by using AWS Systems Manager Run Command. The administrator wants to execute the deployment in a rolling manner to maintain application availability, ensuring that at least instances remain online and healthy during the process. Additionally, the deployment must stop immediately if more than instances fail the installation to prevent further errors across the fleet.
Which two configurations should the administrator specify when executing the Run Command? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is configuring a blue/green deployment strategy using AWS CodeDeploy for an application running on Amazon EC2 instances. The deployment must meet the following requirements:
- The deployment must automatically roll back if any of the replacement instances exceed a specific memory utilization threshold during the deployment.
- The original EC2 instances must remain active for 2 hours after traffic has successfully shifted to the replacement instances to allow for final validation.
Which combination of configurations will meet these requirements? (Select TWO.)
Geçerli olan tümünü seçin
An organization wants to automatically send a notification to an Amazon SNS topic whenever an Amazon EC2 instance changes its state to 'stopped'. Which event-driven solution should a SysOps administrator implement to meet this requirement with the least operational overhead?
A company hosts a high-traffic web application on AWS Elastic Beanstalk. A SysOps Administrator must configure a deployment strategy for an upcoming application update that satisfies the following operational requirements:
1. The application must maintain of its serving capacity throughout the deployment process.
2. The rollback process must be immediate and automated if the new version fails post-deployment health checks.
3. The strategy must not rely on DNS routing changes or CNAME swaps, as downstream client applications cache DNS records with long Time to Live (TTL) values.
Which deployment strategy should the SysOps Administrator select to meet these requirements?
A SysOps Administrator is managing a production web application deployed on AWS Elastic Beanstalk. The application must maintain its full capacity of running instances at all times to handle peak traffic. The administrator needs to deploy a new application version with zero downtime. The deployment strategy must also support a rapid, automatic rollback to the previous version without requiring a full redeployment of the older application version package if any post-deployment health checks fail. Which deployment strategy should the administrator implement to meet these requirements?
An operations team uses an AWS CloudFormation stack to manage a multi-tier application. The stack was created using a custom IAM service role to restrict CloudFormation's execution permissions. During a recent stack update, a resource modification failed, initiating an automatic rollback. During the rollback process, the stack transitioned to the UPDATE_ROLLBACK_FAILED state because the custom IAM service role had its permissions modified during the update, removing the authorization to delete EC2 security groups. Which sequence of steps should a SysOps administrator perform to successfully complete the rollback to a stable state while minimizing privileges?
A company runs a production web application on Amazon EC2 instances within an Auto Scaling Group (ASG) managed by AWS CloudFormation. The ASG is configured with a DesiredCapacity of 6 and a MinSize of 6. A SysOps administrator is updating the CloudFormation stack to deploy a new version of the application using an AutoScalingRollingUpdate policy. The application is highly sensitive to capacity reductions, and the administrator must ensure that at least 6 healthy instances remain in service at all times during the update, which should proceed in batches of 2. Which configuration will successfully complete this deployment while meeting the application's availability requirements?
A SysOps Administrator is configuring AWS CodeDeploy to deploy a new version of a critical web application hosted on a fleet of Amazon EC2 instances within an Auto Scaling group behind an Application Load Balancer. The deployment must minimize application downtime, automatically revert to the previous version if the deployment fails or if application errors spike, and allow manual verification on the original instances for a period before they are terminated. Which two configurations should the SysOps administrator apply to meet these requirements? (Select TWO.)
Geçerli olan tümünü seçin
A company runs a critical microservice on Amazon ECS using the AWS Fargate launch type. A SysOps administrator is configuring a blue/green deployment strategy using AWS CodeDeploy to update the ECS service.
The deployment must satisfy the following operational requirements:
- Route a small fraction of test traffic to the new task set (green environment) using a test listener on port to perform integration tests.
- Automatically roll back to the original task set (blue environment) if the integration tests fail or if the Application Load Balancer (ALB) green target group's `HTTPCode_Target_5XX_Count` metric exceeds a threshold during the deployment.
- The rollback must occur automatically without manual intervention.
Which two configurations must the SysOps administrator implement to meet these requirements? (Select two.)
Geçerli olan tümünü seçin
A SysOps Administrator needs to distribute and execute a custom administrative task across multiple AWS accounts using AWS Systems Manager Run Command. The task requires a custom command document. The administrator has already configured the necessary IAM roles. What is the correct sequence of steps to deploy and run this custom task?
Öğeleri doğru sıraya koymak için sürükleyin
An Amazon RDS for PostgreSQL DB instance configured in a Multi-AZ deployment undergoes an automated failover during a maintenance window. Following the failover event, a Java-based application server experiencing high traffic is unable to reconnect to the database for several minutes, whereas other client services reconnect almost immediately. Which actions should a SysOps Administrator take to resolve this issue and minimize connection downtime during future failovers? (Select TWO.)
Geçerli olan tümünü seçin
A company runs a critical microservice on Amazon ECS with an EC2 launch type. The service has a desired task count of . Due to strict budget constraints, the underlying Auto Scaling group of EC2 instances is configured to not scale out, and there is no spare capacity in the cluster to run additional tasks. The SysOps Administrator needs to update the service to a new task definition. The deployment must guarantee that at least tasks are always running and healthy to handle baseline traffic. Which combination of minimum healthy percent and maximum percent settings will achieve this deployment goal?
A SysOps Administrator is designing a disaster recovery and backup compliance strategy for a critical transaction application. The requirements dictate that the MySQL database must support point-in-time recovery (PITR) to any moment within the past 14 days, fail over automatically to a standby instance in another Availability Zone with zero administrative intervention during an outage, and copy daily backup exports to an Amazon S3 bucket that is replicated to a different AWS Region for long-term retention. How should the SysOps Administrator configure this environment to meet all requirements?