All practice questions
976 questions
A company uses AWS Organizations to manage multiple accounts. A SysOps administrator is configuring a monthly cost budget of 1,200) of the budgeted amount. Which of the following configuration steps are required to ensure the budget action executes successfully? (Select TWO.)
Select all that apply
A SysOps Administrator has configured an Interface VPC Endpoint for the Amazon EC2 service (com.amazonaws.us-east-1.ec2) to allow Amazon EC2 instances in a private subnet to call the Amazon EC2 API. The VPC has DNS support and DNS hostnames enabled, and the Interface VPC Endpoint has Private DNS enabled. The EC2 instances are associated with a security group that allows all outbound traffic. However, when attempting to run the command 'aws ec2 describe-instances' from one of the instances, the command hangs and eventually times out. Which of the following is the most likely cause of this issue?
A SysOps Administrator is designing a security and monitoring architecture for a database tier containing private Amazon RDS DB instances. The database instances must only accept MySQL traffic on port 3306 from the application tier subnets, and all network traffic to and from the database subnet must be monitored using VPC Flow Logs sent to Amazon CloudWatch Logs. The administrator must ensure that the IAM role used by the flow logs can publish to CloudWatch Logs and that log storage costs are managed efficiently. Which of the following actions should the administrator perform to meet these requirements? (Select TWO.)
Select all that apply
A company operates a microservices application split across two VPCs (VPC A and VPC B) in the same AWS Region. VPC A hosts the front-end API gateway, and VPC B hosts the backend database services. Approximately of data is transferred monthly between VPC A and VPC B. Currently, the VPCs are connected using an AWS Transit Gateway, which has caused a significant increase in the monthly AWS bill due to data processing charges. Which of the following strategies should a SysOps administrator implement to minimize data transfer costs while keeping the traffic entirely within the AWS private network? (Select TWO.)
Select all that apply
An organization has EC2 instances running in a private VPC subnet that must send log data to Amazon CloudWatch Logs. To comply with security policies, this traffic must remain entirely within the AWS network. A SysOps Administrator creates an Interface VPC Endpoint for CloudWatch Logs (com.amazonaws.us-east-1.logs) in the VPC. However, the EC2 instances are still unable to reach CloudWatch Logs, and application log agents report connection timeouts. Which of the following actions should the SysOps Administrator take to resolve this connectivity issue? (Select TWO.)
Select all that apply
A SysOps Administrator is designing a backup and recovery solution for a critical web application. The application's static media files are stored in an Amazon S3 bucket, and its transactional data is hosted on a single-node Amazon RDS for PostgreSQL DB instance.
The recovery plan has the following operational requirements:
* All static media files must be automatically copied to a secondary AWS Region for disaster recovery.
* The database must automatically fail over to a standby instance in another Availability Zone with minimal downtime if the primary instance fails.
Which combination of actions must the SysOps Administrator perform to meet these requirements? (Select TWO.)
Select all that apply
A company's production database runs on an Amazon RDS for PostgreSQL DB instance. A SysOps Administrator must establish a cross-Region disaster recovery (DR) solution that guarantees a Recovery Point Objective (RPO) of less than 30 minutes and a Recovery Time Objective (RTO) of less than 15 minutes. Which strategy should the administrator implement to meet these requirements?
A SysOps Administrator is configuring a backup and disaster recovery architecture for a business-critical application. The application stores uploaded documents in an Amazon S3 bucket and utilizes an Amazon RDS for PostgreSQL database. To meet reliability and compliance requirements:
1. S3 bucket data must be replicated to a destination bucket in a different AWS Region.
2. The database must support automatic failover with zero manual intervention to mitigate Availability Zone outages in the primary Region.
3. Access to the replicated S3 bucket must go through a private network path within the AWS VPC without traversing the public internet.
The administrator initiates S3 cross-Region replication and configures an RDS Read Replica. However, during testing, replication of new S3 objects fails, database failover is not automatic during an outage, and S3 traffic continues over the public internet.
Which combination of configuration changes will resolve these issues?
An organization runs a fleet of Amazon EC2 instances in a private VPC subnet () that must initiate outbound connections to a third-party payment gateway on the internet on TCP port . The client application on the EC2 instances uses ephemeral ports () as source ports. Outbound traffic is routed through a NAT Gateway located in a public subnet (). Both the private subnet's Network Access Control List (NACL) and the EC2 instances' security group are custom and currently deny all inbound and outbound traffic. Which combination of rule configurations will successfully allow the EC2 instances to establish connections and receive responses from the payment gateway? (Select TWO.)
Select all that apply
A SysOps administrator is deploying an application on Amazon EC2 instances. The application needs to retrieve database credentials from AWS Systems Manager (SSM) Parameter Store. The credentials are stored as a SecureString parameter named `/prod/db/password` and are encrypted using a customer managed KMS key.
The EC2 instances are associated with an IAM role that has the following policy attached:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ssm:GetParameter",
"ssm:GetParameters"
],
"Resource": "arn:aws:ssm:us-east-1:111122223333:parameter/prod/db/password"
},
{
"Effect": "Allow",
"Action": [
"kms:Decrypt"
],
"Resource": "arn:aws:kms:us-east-1:111122223333:key/12345678-abcd-1234-abcd-123456789abc"
}
]
}
Despite this configuration, the application logs show an `AccessDeniedException` when calling the `ssm:GetParameter` API with decryption enabled. Which of the following is the most likely cause of this access denied error?
A SysOps Administrator is managing an AWS CloudFormation stack that contains an Amazon RDS DB instance and an IAM role. A drift detection operation on the stack reports that both resources are in a DRIFTED status because of manual modifications. The Administrator needs to bring the stack and the physical resources back into alignment. Which of the following actions should the Administrator take to remediate this resource drift? (Select TWO.)
Select all that apply
A SysOps Administrator is configuring an AWS Systems Manager State Manager association to run a custom script on a fleet of target Amazon EC2 instances. The target instances have the SSM Agent installed and running, and they are configured with an IAM instance profile containing the AmazonSSMManagedInstanceCore policy. The administrator configures the association to use a custom service role named StateManagerExecutionRole to perform the operations. However, when the administrator attempts to create the association, the action fails with an "Access Denied" error. What is the most likely cause of this failure?
A SysOps administrator is troubleshooting a connectivity issue between an Amazon EC2 instance in a private subnet of VPC A () and a database instance in a private subnet of VPC B (). The two VPCs are connected via an AWS Transit Gateway. The administrator verifies the following configuration details:
1. Security Groups: The EC2 instance security group allows all outbound traffic, and the database security group allows inbound traffic on port from VPC A's CIDR ().
2. Network ACLs: The Network ACLs for both subnets allow all inbound and outbound traffic.
3. Subnet Route Tables:
- VPC A's private subnet route table has a route: tgw-0123456789abcdef0 (Transit Gateway).
- VPC B's private subnet route table has a route: tgw-0123456789abcdef0 (Transit Gateway).
4. Transit Gateway Route Tables:
- The Transit Gateway has two route tables: `TGW-RT-1` and `TGW-RT-2`.
- The VPC A attachment is associated with `TGW-RT-1` and propagates its routes to `TGW-RT-2`.
- The VPC B attachment is associated with `TGW-RT-2` and propagates its routes to `TGW-RT-2`.
Which of the following explains why the EC2 instance cannot connect to the database?
A SysOps administrator is configuring AWS Config in a new AWS account. The administrator wants to use the AWS CLI to create a configuration recorder that uses a custom, pre-created IAM role named `ConfigRecorderRole`. However, when attempting to run the CLI command, the administrator receives an Access Denied error.
Which of the following actions are required to resolve this issue and successfully create the configuration recorder? (Select TWO.)
Select all that apply
A SysOps Administrator is configuring a custom Network Access Control List (NACL) for a private subnet that hosts a fleet of Amazon EC2 instances. These instances must download security patches from an external repository over HTTPS (TCP port 443) via a NAT gateway. The security group associated with the instances permits all outbound traffic.
The private subnet's custom NACL has the following rules:
- Outbound: Rule 100 allows TCP port 443 to .
- Inbound: Rule 100 allows TCP port 443 from .
All other traffic is denied by the default rules. The instances are currently unable to download the patches.
Which configuration change will resolve this connectivity issue?
A company runs a production application using an Amazon RDS for MariaDB DB instance configured in a Multi-AZ deployment. During a scheduled maintenance window, Amazon RDS performs a failover to the standby replica. The SysOps Administrator needs to confirm that the failover was successful and ensure that the application servers reconnect to the newly promoted primary instance as quickly as possible. Which of the following actions should the SysOps Administrator take? (Select TWO.)
Select all that apply
An organization operates an e-commerce platform using an Amazon Aurora PostgreSQL DB cluster. The cluster consists of one primary DB instance and three Aurora Replicas. During a localized Availability Zone outage affecting the primary instance, the SysOps Administrator needs to ensure that the replica configured with the highest compute specifications is prioritized for promotion to the primary instance during failover.
Which configuration should the administrator modify to guarantee this promotion order?
An organization is setting up Amazon S3 Cross-Region Replication (CRR) to copy objects from a source bucket in the us-east-1 Region to a destination bucket in the us-west-2 Region. A SysOps Administrator has created the destination bucket and configured the replication rule on the source bucket, specifying an IAM role for replication. However, new objects uploaded to the source bucket are not replicating. Which of the following actions must the SysOps Administrator perform to successfully enable replication? (Select TWO.)
Select all that apply
A company's infrastructure team distributes standardized environments across multiple business units using AWS Service Catalog portfolios. An administrator is configuring a launch constraint in a spoke account using an IAM role named CatalogLaunchRole to enforce principal-based execution. When a team member attempts to provision a product, the deployment fails. The provisioning details reveal two distinct errors: one stating that the user is not authorized to pass the launch role, and another in the AWS CloudFormation event log showing a failure to create an IAM instance profile. Which of the following actions must be taken to resolve these deployment errors? (Select TWO.)
Select all that apply
A compliance auditor operating from an external AWS account (Account B) requires access to read consolidated AWS CloudTrail logs stored in an Amazon S3 bucket within the main corporate AWS account (Account A). The log files are encrypted with an AWS KMS customer managed key in Account A. The SysOps Administrator has attached an IAM policy to the auditor's IAM role in Account B that permits s3:GetObject on the S3 bucket and kms:Decrypt on the KMS key. The S3 bucket policy in Account A has also been updated to allow access from the auditor's role in Account B. However, when the auditor attempts to retrieve a log file, they receive an Access Denied error. Which action must the SysOps Administrator perform to resolve this issue?