All practice questions
976 questions
An application tier is deployed on Amazon EC2 instances in a private subnet with CIDR block . The instances must download software updates from an external repository over HTTPS (port ). The private subnet's route table contains a route pointing to a NAT Gateway located in a public subnet. The Security Group attached to the instances allows outbound TCP traffic on port to , with no inbound rules. The subnet's Network Access Control List (NACL) has an inbound rule allowing TCP traffic on port from , and an outbound rule allowing TCP traffic on port to . However, the instances are unable to establish a connection to the external repository. Which configuration change will resolve this connectivity issue?
A SysOps Administrator is configuring an AWS Organization-level trail to collect management events from all member accounts. The CloudTrail logs are consolidated into an Amazon S3 bucket located in a dedicated Security Operations account. To meet compliance requirements, the trail must be encrypted using a customer managed AWS KMS key located in the same Security Operations account. After configuring the organizational trail and specifying the KMS key, the administrator notices that no logs are being delivered to the S3 bucket, and CloudTrail reports access denied errors. The S3 bucket policy is already correctly configured to allow the cloudtrail.amazonaws.com service principal to write logs. Which configuration change must the administrator make to resolve this delivery failure?
A SysOps Administrator in a multi-account organization wants to organize monthly AWS spending by project using the tag key `ProjectName`. The administrator has successfully applied this tag to all Amazon EC2 instances within the member accounts. However, when generating a monthly cost report in AWS Cost Explorer from the management account, the administrator cannot find `ProjectName` in the tag filtering options. Which action must the administrator take to ensure the `ProjectName` tag is available in Cost Explorer?
A SysOps Administrator is configuring a launch constraint for an AWS Service Catalog product. The administrator wants to use a custom IAM role named ServiceCatalogLaunchRole to provision the resources. However, when the administrator tries to assign the role as a launch constraint in the AWS Service Catalog console, the console displays an error stating that the chosen role must have a trust relationship with Service Catalog. Furthermore, the administrator needs to ensure they have the necessary permissions to apply this constraint. Which two actions should the administrator take to resolve the console error and successfully apply the launch constraint? (Select two.)
Select all that apply
A SysOps Administrator is troubleshooting a cross-account Same-Region Replication (SRR) setup between a source S3 bucket in Account A and a destination S3 bucket in Account B. Objects in the source bucket are encrypted with a customer managed AWS KMS key in Account A. The destination bucket is also encrypted with a customer managed AWS KMS key in Account B. The administrator notices that replication fails for new objects, and their replication status is marked as FAILED. Which combination of actions will resolve this replication failure? (Select two.)
Select all that apply
A logistics startup runs its tracking application on an Amazon RDS for PostgreSQL DB instance in a single Availability Zone (AZ). Due to strict business continuity requirements, a SysOps Administrator must convert this database to a highly available deployment to ensure automatic failover in the event of an AZ outage. The migration must minimize downtime during implementation, and the application must automatically connect to the new database instance after failover without manual updates to the connection configuration. Which two steps should the SysOps Administrator take to meet these requirements? (Select TWO.)
Select all that apply
A central operations team manages AWS Service Catalog portfolios in a hub account () and shares them with spoke accounts in an AWS Organization. A SysOps administrator in a spoke account () has associated developer IAM groups with an imported portfolio containing a product that deploys a multi-tier application. When developers in the spoke account attempt to launch the product, the deployment fails during the Amazon EC2 instance provisioning stage with an 'Access Denied' error. The developers do not have direct IAM permissions to manage EC2 instances, and the administrator wants to use a local IAM role named `CustomLaunchRole` in the spoke account to perform the deployment. Which two actions must the administrator take in the spoke account to successfully configure and troubleshoot this deployment?
Select all that apply
An Amazon EC2 instance is configured with two Elastic Network Interfaces (ENIs). The primary interface () is in Subnet A () and the secondary interface () is in Subnet B (). Both subnets are public subnets with default routes () targeting the VPC's Internet Gateway. A SysOps administrator assigns an Elastic IP address to both interfaces. External clients can successfully establish SSH connections to the Elastic IP of . However, SSH connection attempts to the Elastic IP of time out. The administrator verifies that both security groups and network ACLs allow inbound TCP port and outbound traffic. Which of the following is the root cause of this connectivity failure?
A company is designing a disaster recovery (DR) strategy for a non-critical reporting application. The business requires a Recovery Point Objective (RPO) of 24 hours and a Recovery Time Objective (RTO) of 12 hours. The primary objective is to minimize ongoing infrastructure costs.
Which combination of actions should a SysOps administrator take to meet these requirements at the lowest cost? (Select TWO.)
Select all that apply
A SysOps administrator is troubleshooting an Amazon EC2 Auto Scaling group (ASG) that is scaling out too slowly during sudden traffic spikes. The ASG is configured with a step scaling policy based on the average CPU utilization of the group. The associated CloudWatch alarm has a period of 60 seconds and an evaluation period of 1. However, during high-load events, the ASG takes approximately 5 minutes to trigger the scale-out action. What is the root cause of this delay?
A SysOps administrator is configuring an AWS Service Catalog portfolio to allow developers to deploy a standardized three-tier application. The administrator wants to ensure that developers can launch the product even if they do not have direct IAM permissions to create the underlying Amazon EC2 and Amazon RDS resources. The resources must be provisioned using a specific IAM service role. Which configuration should the administrator apply to meet these requirements?
A SysOps Administrator is configuring a monitoring and remediation system for a custom application. The application runs on Amazon EC2 instances and publishes a custom metric named TransactionLatency every 10 seconds. The administrator needs to configure an Amazon CloudWatch alarm that triggers within 1 minute of a latency spike, and automatically runs an AWS Systems Manager Automation runbook to remediate the issue. Which two configuration steps should the administrator perform to meet these requirements? (Select TWO.)
Select all that apply
A SysOps administrator is configuring scaling for an Amazon EC2 Auto Scaling group (ASG) that processes messages from an Amazon SQS queue. The workload fluctuates significantly throughout the day. The administrator wants to use a target tracking scaling policy to scale the ASG dynamically, keeping the backlog at approximately 100 messages per EC2 instance. Which two actions must the administrator take to implement this configuration? (Select TWO.)
Select all that apply
A SysOps Administrator is configuring a new AWS CloudTrail trail to deliver log files to an Amazon S3 bucket. The trail is currently failing to deliver logs. Which two configurations must be present in the S3 bucket policy to allow AWS CloudTrail to successfully deliver the log files? (Select two.)
Select all that apply
A SysOps Administrator is configuring Amazon CloudWatch metric filters to monitor application logs stored in a CloudWatch log group. Which of the following statements correctly describe the characteristics and behavior of CloudWatch Logs metric filters? (Select TWO.)
Select all that apply
A SysOps Administrator is configuring automatic remediation for an AWS Config rule. The remediation is designed to run an AWS Systems Manager Automation document. The administrator attempts to save the remediation configuration but receives an error stating that the action cannot be performed because of missing permissions. Which permission is missing from the administrator's IAM policy?
A company's security policy requires all API activity logs to be encrypted at rest using a customer managed key (CMK). A SysOps Administrator enables encryption on an existing multi-region CloudTrail trail by specifying the KMS key ARN. Shortly after this change, the administrator notices that new log files are no longer being delivered to the destination Amazon S3 bucket. Which of the following actions will resolve this log delivery failure?
A SysOps administrator notices that an Amazon EC2 Auto Scaling group is routing client traffic to new instances before the application's configuration script has finished installing required dependencies. To resolve this issue, the administrator configures an EC2_INSTANCE_LAUNCHING lifecycle hook. What is the correct sequence of events required to ensure the instances are properly configured before they start receiving traffic?
Drag items to arrange them in the correct order
A SysOps Administrator is investigating potential data exfiltration in a VPC. Multiple Amazon EC2 instances in a private subnet route all outbound internet traffic through a NAT Gateway located in a public subnet. The administrator needs to analyze network traffic to identify the specific private IP addresses of the EC2 instances that are initiating connections to a known malicious external IP address. The administrator attempts to analyze the default VPC Flow Logs on the NAT Gateway’s public network interface, but the `srcaddr` field only displays the NAT Gateway's private IP address.
Which action should the administrator take to identify the initiating internal EC2 instances from the NAT Gateway's network interface?
A SysOps Administrator is configuring an Amazon CloudWatch alarm to monitor the CPUUtilization metric of an Amazon EC2 instance. The administrator wants the alarm to trigger within 2 minutes of the CPU utilization exceeding 90%. The alarm is configured with a period of 60 seconds and an evaluation period of 2 consecutive periods. During testing, CPU utilization is sustained at 95% for 4 minutes, but the alarm fails to transition to the ALARM state.
Which action will resolve this issue and meet the monitoring requirement?