Tüm alıştırma soruları
976 soru
A SysOps Administrator is updating an AWS CloudFormation stack. During the update process, a resource failure occurs and CloudFormation attempts to roll back the changes. However, the rollback fails, and the stack status changes to UPDATE_ROLLBACK_FAILED. The event logs indicate that the IAM service role originally used to create and manage the stack was deleted out-of-band.
What should the SysOps Administrator do to successfully complete the rollback and return the stack to a stable state?
A SysOps Administrator in Account () is configuring an Amazon EC2 Auto Scaling group to launch instances from a shared Amazon Machine Image (AMI) owned by Account (). The AMI is backed by an Amazon Elastic Block Store (Amazon EBS) snapshot encrypted using a customer managed key (CMK) in Account . The Administrator must establish the necessary permissions so that the Auto Scaling group can decrypt the snapshot to launch the instances. Which combination of actions must the Administrator perform to meet these requirements? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is tasked with executing a custom configuration script on a new fleet of Amazon EC2 instances using AWS Systems Manager Run Command. The script needs to retrieve files from a private Amazon S3 bucket, and all command execution outputs must be streamed to an Amazon CloudWatch Logs group for auditing.
Arrange the steps in the correct sequence to configure the prerequisites and successfully execute the script.
Öğeleri doğru sıraya koymak için sürükleyin
A company runs a microservices application where a payment processing service in Subnet Alpha () must make API calls to a verification service in Subnet Beta () on TCP port . A custom Network Access Control List (NACL) is associated with Subnet Alpha, while Subnet Beta uses the default VPC NACL. Security groups for both services are configured to allow the required traffic. However, connection attempts from Subnet Alpha to Subnet Beta on port are timing out.
Which configuration change must be made to the Subnet Alpha NACL to enable successful communication?
A SysOps Administrator is auditing a multi-account environment where AWS CloudTrail logs are consolidated into a central Amazon S3 bucket. The logs and digest files are encrypted using an AWS KMS customer managed key. During a compliance check, the administrator runs the AWS CLI command to verify log file integrity, but the command fails with an access denied error on decryption. Additionally, the compliance team reports that read-only API activity, such as listing S3 objects and describing EC2 instances, is missing from the logs, although resource modifications are successfully recorded. Which two actions should the SysOps Administrator take to resolve these issues? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is using AWS Systems Manager Run Command to execute a maintenance script on a fleet of Amazon EC2 instances. All target instances have the SSM Agent installed and running, and they are associated with an IAM instance profile containing the AmazonSSMManagedInstanceCore policy. The administrator configures the Run Command to output execution logs to an Amazon S3 bucket that is encrypted using an AWS KMS customer managed key. The command runs successfully on the instances, but the execution logs fail to appear in the S3 bucket. Which of the following is the most likely cause of this issue?
A SysOps administrator is configuring a scheduled backup plan using AWS Backup. The backup plan must run under a custom IAM service role. The administrator creates the service role with the necessary permissions policy but receives an 'Access Denied' error when attempting to assign the role to the backup selection in the console. Which actions must the administrator perform to successfully assign the role and ensure the backup plan executes? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is managing an infrastructure stack deployed via AWS CloudFormation. During a stack update, a resource modification fails, prompting CloudFormation to roll back the stack. However, the rollback fails, and the stack enters the UPDATE_ROLLBACK_FAILED state because a DynamoDB table created by the stack was manually deleted outside of CloudFormation during the update process. Which of the following actions should the SysOps Administrator take to successfully resolve the update rollback failure and return the stack to a stable state? (Select TWO.)
Geçerli olan tümünü seçin
A company manages a fleet of hybrid Amazon EC2 instances and on-premises physical servers running Red Hat Enterprise Linux (RHEL). A SysOps Administrator is configuring AWS Systems Manager Patch Manager to automate patch installations on these managed nodes using a custom patch baseline. The administrator has already registered the on-premises servers as managed nodes using hybrid activations and tagged all target nodes with the key 'Patch Group' and value 'Production-RHEL'. Which of the following actions must the SysOps Administrator perform to ensure that patches are successfully applied to all managed nodes during a scheduled maintenance window? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps administrator is configuring an AWS Glue crawler to scan an Amazon S3 bucket. The administrator has created a custom IAM role named GlueCrawlerRole that has the required S3 read permissions and has configured AWS Glue as the trusted service in the trust policy. When the administrator attempts to create the crawler using the AWS Management Console and associates it with GlueCrawlerRole, the console displays an error: "Access Denied: You do not have permission to perform this action."
Which action must be taken to successfully create the crawler?
A SysOps Administrator deployed a security group using an AWS CloudFormation template. Later, a developer manually added an inbound rule for port 22 (SSH) to the security group using the Amazon EC2 Console. The Administrator runs drift detection on the stack and identifies that the security group status is DRIFTED. The Administrator wants to remediate the drift so that the security group configuration matches the CloudFormation template again, without replacing the resource.
Which action should the Administrator take to resolve the drift?
An organization uses AWS Systems Manager Patch Manager to automate security updates on a fleet of Amazon EC2 instances running Red Hat Enterprise Linux (RHEL). A SysOps administrator is setting up a Maintenance Window to run a custom OS patching automation. The administrator creates a custom SSM Automation document and an IAM service role named PatchingExecutionRole that allows Systems Manager to perform actions on the instances. When the administrator attempts to register the SSM Automation task within the Maintenance Window using the AWS CLI, the operation fails with an AccessDenied exception stating that the user is not authorized to perform iam:PassRole on the resource PatchingExecutionRole.
What is the correct action to resolve this issue and successfully register the task?
A company has two VPCs: VPC A with CIDR block and VPC B with CIDR block . The VPCs are connected using an AWS Transit Gateway. A SysOps administrator is troubleshooting a connectivity issue where Amazon EC2 instances in a private subnet () of VPC A cannot connect to an Amazon RDS DB instance in a private subnet () of VPC B.
The administrator verifies the following configuration details:
- The Transit Gateway route tables show active attachments and successful route propagation for both VPCs.
- The subnet route table for VPC A has a route for pointing to the Transit Gateway.
- The subnet route table for VPC B has a route for pointing to the Transit Gateway.
- The Network ACLs (NACLs) for all subnets in both VPCs allow all inbound and outbound traffic.
Which of the following is the most likely cause of this connection failure?
A financial company needs to enforce OS patch compliance across its fleet of production Windows Server 2022 EC2 instances. The system requires that only critical security updates be installed, bypassing the default AWS-managed baseline. A SysOps Administrator is tasked with establishing a weekly automated patch deployment workflow using AWS Systems Manager.
Order the steps below to reflect the correct sequence for configuring and executing this patching workflow.
Öğeleri doğru sıraya koymak için sürükleyin
A SysOps Administrator is configuring Amazon EC2 instances in a private subnet to securely communicate with Amazon SNS without traversing the public internet. The administrator creates an Interface VPC Endpoint for Amazon SNS (com.amazonaws.us-east-1.sns) in the VPC. The VPC has both DNS resolution and DNS hostnames enabled. However, the EC2 instances still fail to connect to Amazon SNS, resulting in connection timeouts. Which configuration change will resolve this issue?
An operations team is implementing a continuous integration and continuous delivery (CI/CD) pipeline to deploy infrastructure using AWS CloudFormation. The pipeline runner executes under an IAM role named `PipelineDeploymentRole`. To enforce the principle of least privilege, the team creates a separate IAM role named `CloudFormationServiceRole` that contains only the permissions required to create and manage the specific resources in the stack. When the pipeline runner attempts to initiate the deployment and specifies the service role, the deployment fails with an error indicating that the runner is not authorized to use the specified service role.
Which configuration changes must be made to allow the pipeline runner to successfully deploy the stack using this service role? (Select TWO.)
Geçerli olan tümünü seçin
An application server in a custom VPC is deployed in Subnet App (CIDR: ). It is configured to send log data via TCP to a self-managed log collector instance in Subnet Service (CIDR: ) on port . The security group for the log collector allows inbound TCP port traffic from Subnet App. The security group for the application server allows all outbound traffic. The Network Access Control Lists (NACLs) are configured as follows:
- Subnet App NACL:
- Inbound: Allow all traffic
- Outbound: Allow TCP port to Subnet Service ()
- Subnet Service NACL:
- Inbound: Allow TCP port from Subnet App ()
- Outbound: Allow TCP port to Subnet App ()
The application server cannot successfully establish a connection to the log collector. Which configuration change is required to resolve this connectivity issue?
A development team has configured a VPC peering connection (`pcx-0a1b2c3d4e5f6g7h8`) between a database VPC (CIDR ) and an application VPC (CIDR ). An application server with IP address in Subnet App-1 is unable to connect to a PostgreSQL database instance with IP address in Subnet DB-1. The database security group has been configured to allow incoming traffic on port from . The network ACLs for both subnets are configured with their default settings.
Which actions must be completed to enable successful communication between the application server and the database instance? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is troubleshooting a connectivity issue where an application on Amazon EC2 instances in Subnet A (CIDR ) cannot connect to a PostgreSQL database on Amazon EC2 instances in Subnet B (CIDR ). Both subnets are associated with different Network Access Control Lists (NACLs). The application security group allows outbound traffic to the database security group on TCP port 5432. The database security group allows inbound traffic from the application security group on TCP port 5432. Which two configuration changes must be made to the subnet NACLs to successfully permit this database traffic? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator in AWS Account `123456789012` is configuring access to a customer managed KMS key. The administrator wants to grant access to an IAM user named `DataOperator`. The administrator attaches the following IAM policy to the user:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"kms:Encrypt",
"kms:Decrypt"
],
"Resource": "arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012"
}
]
}
When the `DataOperator` user attempts to encrypt a payload using the AWS CLI, they receive an `AccessDeniedException` error. The administrator checks the KMS key policy and finds it only allows access to a specific administration role.
Which of the following describes the cause of this issue and the correct resolution?