All practice questions
976 questions
A SysOps administrator is evaluating cost-saving options for an application running on Amazon EC2 instances, AWS Fargate, and AWS Lambda functions. Which TWO of the following statements correctly describe the scope or characteristics of Compute Savings Plans? (Select TWO.)
Select all that apply
A company stores sensitive media assets in an Amazon S3 bucket encrypted with an AWS KMS customer managed key (SSE-KMS). A SysOps administrator is configuring an Amazon CloudFront distribution to serve these assets globally using a custom domain name at the zone apex (e.g., example.com). To meet security compliance, access to the S3 bucket must be restricted so that content is accessible only through CloudFront using Origin Access Control (OAC). Which combination of actions should the administrator perform to securely configure this architecture? (Select TWO.)
Select all that apply
A company has a single-account high-performance data processing environment. The environment consists of the following workloads in the us-east-1 Region:
- An Auto Scaling group of EC2 instances running (Intel-based) that scales dynamically between and instances depending on queue depth.
- AWS Lambda functions performing preprocessing tasks with a steady daily average consumption of GB-seconds.
- AWS Fargate tasks running on Amazon ECS using the (Graviton2-based) architecture, consuming a constant vCPUs and GB of memory.
The development team plans to upgrade the Fargate tasks to (Graviton3-based) architecture within the next days. The EC2 instance family () will remain unchanged for the next months.
Which TWO purchase options should a SysOps administrator combine to achieve the maximum cost savings for these workloads with the least operational overhead? (Select TWO.)
Select all that apply
A SysOps administrator is troubleshooting connectivity between an application tier in private subnet and a PostgreSQL database instance () in private subnet . The database instance's security group is already configured to allow inbound TCP traffic on port from the application tier's security group.
VPC Flow Logs are enabled on the network interface of the database instance and record the following entry:
`2 123456789012 eni-0123456789abcdef0 10.0.2.45 10.0.3.89 49152 5432 6 1 40 1620000000 1620000010 REJECT OK`
Which TWO configuration changes are required to resolve this issue and allow successful database connections? (Select TWO.)
Select all that apply
A SysOps Administrator is configuring network security for a two-tier application. Amazon EC2 instances in the application subnet must be able to initiate database connections to Amazon RDS DB instances in the database subnet on TCP port 1433. The database subnet's Network Access Control List (NACL) is currently configured with default deny rules.
Which two rules must be added to the database subnet's NACL to allow this communication? (Select TWO.)
Select all that apply
An organization requires the monitoring of all rejected TCP traffic in a specific VPC. A SysOps Administrator is tasked with creating a VPC Flow Log that publishes to a CloudWatch Logs log group. To minimize operational costs, log data must only be retained for 30 days. Additionally, the administrator must adhere to the principle of least privilege when granting permissions.
Which of the following actions should the administrator perform to successfully establish this monitoring setup? (Select TWO.)
Select all that apply
An Amazon EC2 instance with private IP address is launched in a private subnet. The instance must make outbound HTTPS requests to an external API endpoint at . The SysOps Administrator has configured security groups and Network Access Control Lists (Network ACLs) for the subnet, but connection attempts from the instance to the API consistently time out. The administrator enables VPC Flow Logs and observes the following log records:
2 123456789012 eni-0a1b2c3d4e5f6g7h8 10.0.4.12 203.0.113.80 52345 443 6 1 40 1783900800 1783900860 ACCEPT OK
2 123456789012 eni-0a1b2c3d4e5f6g7h8 203.0.113.80 10.0.4.12 443 52345 6 1 40 1783900800 1783900860 REJECT OK
Which configuration adjustment will resolve this connectivity issue?
A SysOps Administrator is setting up flow logs for a VPC to deliver network traffic logs to an Amazon CloudWatch Logs log group. The administrator has created a destination log group and has configured an IAM role designed for VPC Flow Logs. When the administrator tries to create the VPC Flow Log, the action fails with an access denied error. Which action will resolve this issue?
A SysOps Administrator is configuring a VPC Flow Log to deliver traffic logs to an Amazon CloudWatch Logs log group. The administrator has created the log group and an IAM role with a trust policy that allows the VPC Flow Logs service principal to assume the role. The IAM role has a permissions policy that allows it to create log streams and put log events. However, when the administrator attempts to create the VPC Flow Log using the AWS CLI, the command fails with an Access Denied error.
Which of the following is the most likely cause of this issue?
A SysOps administrator is reviewing the weekly AWS Trusted Advisor Cost Optimization report for a production workload. The report contains the following findings:
- An Amazon Elastic Block Store (Amazon EBS) volume has had less than IOPS of write activity for the past 14 days.
- An Application Load Balancer (ALB) has had an ActiveConnectionCount of over the past 7 days.
- An Amazon RDS PostgreSQL DB instance has had no active database connections (DatabaseConnections is ) for the past 8 days.
- An Elastic IP address (EIP) is listed under the Unassociated Elastic IP Addresses check.
- A group of Amazon EC2 instances running under an Auto Scaling group is flagged under the Low Utilization Amazon EC2 Instances check, showing consistent average CPU utilization.
Which two actions should the SysOps administrator take to resolve these findings and optimize costs? (Select TWO.)
Select all that apply
An organization wants to perform deep packet inspection on traffic directed to a backend application server in a private subnet. A SysOps Administrator configures an Amazon VPC Traffic Mirroring session. The mirror source is the primary Elastic Network Interface (ENI) of the application server, which is running on a EC2 instance. The mirror target is a security monitoring tool running on a EC2 instance in the same VPC.
The Security Group of the target instance is configured to allow inbound UDP traffic on port . The Security Group of the source instance permits all inbound traffic from the application's load balancer, but its outbound rules restrict traffic to on TCP ports and only. The Network ACLs associated with both subnets allow all traffic.
The administrator notices that no mirrored traffic is being received by the monitoring tool.
Which two modifications must the administrator make to resolve this issue and enable successful packet mirroring?
Select all that apply
A SysOps Administrator is setting up an application on an Amazon EC2 instance in a custom VPC. To allow inbound SSH traffic from the administrator's IP address, the administrator adds an inbound rule to the security control. The administrator wants to ensure that the return outbound traffic from the instance back to the administrator's IP address is automatically permitted without having to define any additional outbound rules. Which security control should the administrator use to meet this requirement?
An enterprise uses an AWS Transit Gateway to connect multiple VPCs to their on-premises network. The primary path is a AWS Direct Connect connection via a Transit VIF associated with a Direct Connect gateway attached to the Transit Gateway. A Site-to-Site VPN connection is established directly to the Transit Gateway as a backup path. Both paths advertise the corporate network range of using BGP.
During a failover test, a SysOps administrator disables the BGP session on the Direct Connect connection. However, traffic destined for the corporate network is dropped instead of failing over to the backup Site-to-Site VPN. Inspection of the Transit Gateway route table reveals a manually configured static route for pointing to the Direct Connect gateway attachment.
Which two actions must the SysOps administrator take to resolve this issue and ensure automatic failover to the VPN connection? (Select TWO.)
Select all that apply
A company's SysOps administrator is reviewing the monthly AWS billing report and notices high charges under 'EC2-Other' due to NAT Gateway data processing fees and cross-Availability Zone (cross-AZ) billing. The application architecture consists of EC2 instances hosted in private subnets across three Availability Zones (`us-west-2a`, `us-west-2b`, and `us-west-2c`) within a single VPC in the `us-west-2` Region. These instances upload approximately of data monthly to an Amazon S3 bucket located in the same Region. Currently, the VPC is configured with a single NAT Gateway in `us-west-2a`, and all private subnet route tables direct default outbound traffic () to this NAT Gateway. Which of the following is the most cost-effective solution to eliminate these data transfer charges while keeping the instances within private subnets?
An organization has deployed an Application Load Balancer (ALB) in a public subnet to distribute traffic to a fleet of Amazon EC2 web instances residing in a private subnet. The public subnet CIDR is and the private subnet CIDR is .
The security controls are configured as follows:
- The ALB's security group allows inbound TCP traffic on ports and from , and allows all outbound traffic.
- The EC2 instances' security group allows inbound TCP traffic on ports and from the ALB's security group.
- The Network ACL (NACL) for the private subnet has an inbound rule allowing TCP traffic on ports and from , and an outbound rule allowing all traffic to .
- The Network ACL (NACL) for the public subnet has inbound rules allowing TCP traffic on ports and from . However, its outbound rules are restricted to only allow TCP traffic on ports and to .
Users report that connection attempts to the ALB timeout.
Which of the following changes will resolve this issue and restore connectivity?
An organization manages its cloud infrastructure using AWS Organizations with consolidated billing enabled. A SysOps administrator is tasked with optimizing compute costs for the following two distinct workloads:
1. A development workload consisting of Amazon EC2 instances that will be migrated to a serverless architecture using AWS Fargate and AWS Lambda over the next three months.
2. A production workload consisting of a steady-state fleet of Amazon EC2 instances in the region that is expected to remain unchanged for the next months.
Which of the following purchasing strategies should the administrator implement to maximize savings while minimizing the risk of unused commitments? (Select TWO.)
Select all that apply
A SysOps Administrator is configuring a Gateway Endpoint for Amazon S3 to allow Amazon EC2 instances in a private subnet to access S3 buckets. Which configuration steps must the administrator complete to ensure that the EC2 instances can communicate with Amazon S3 through the endpoint? (Select TWO.)
Select all that apply
A company runs a web application on Amazon EC2 instances inside a private subnet. The instances are registered to a target group of an Application Load Balancer (ALB) located in a public subnet. The application is configured to run on port 8080, and the target group's health check is configured to use the default settings (HTTP on traffic-port at path '/'). Recently, the Security team implemented a new custom Network Access Control List (NACL) on the private subnet with an inbound rule allowing TCP port 8080 from the public subnet CIDR, and an outbound rule allowing TCP port 8080 to the public subnet CIDR. Additionally, the application was updated to redirect all unauthenticated requests to '/login' via an HTTP 302 response code. Following these changes, the ALB reports all EC2 instances as unhealthy. To resolve this issue and restore the healthy status of the targets, which set of actions must a SysOps Administrator take?
A startup is optimizing its AWS costs for a single-account workload that consists of:
* A steady-state database running on a single Amazon RDS instance.
* An application tier running on Amazon EC2 instances, which the startup plans to migrate to graviton-based instances in the next quarter.
* Microservices running on AWS Fargate.
Which two purchasing strategies should a SysOps administrator recommend to achieve the highest cost savings while maintaining operational flexibility? (Select TWO.)
Select all that apply
A company connects its multi-VPC environment using an AWS Transit Gateway. The primary connection to the corporate datacenter is a AWS Direct Connect (DX) connection using a Transit Virtual Interface (Transit VIF) through a Direct Connect Gateway (DXGW). A Site-to-Site VPN is configured directly to the Transit Gateway as a backup path. The on-premises database subnet resides in the CIDR block ``, which belongs to the larger corporate network range of ``. During a routine audit, a SysOps administrator notices that database-bound traffic is routing over the VPN tunnel instead of the DX connection, even though the DX connection is fully operational and has low utilization. In the Transit Gateway route table, the administrator identifies a propagated route for `` pointing to the DXGW and a propagated route for `` pointing to the VPN attachment.
Which two actions should the SysOps administrator take to ensure that traffic to the database subnet primarily uses the Direct Connect connection and only fails over to the VPN if the Direct Connect connection becomes unavailable? (Select TWO.)
Select all that apply