πŸ”

ANS-C01 β€” questions

Page 14 of 15 Β· 292 total questions.

Topic 1 Β· Question 261

A company runs a workload in a single VPC on AWS. The company’s architecture contains several interface VPC endpoints for AWS services, including Amazon CloudWatch Logs and AWS Key Management Service (AWS KMS). The endpoints are configured to use a shared security group. The security group is not used for any other workloads or resources. After a security review of the environment, the company determined that the shared security group is more permissive than necessary. The company wants to make the rules associated with the security group more restrictive. The changes to the security group rules must not prevent the resources in the VPC from using AWS services through interface VPC endpoints. The changes must prevent unnecessary access. The security group currently uses the following rules: β€’ Inbound - Rule 1 Protocol: TCP - Port: 443 - Source: 0.0.0.0/0 - β€’ Inbound - Rule 2 Protocol: TCP - Port: 443 - Source: VPC CIDR - β€’ Outbound - Rule 1 Protocol: All - Port: All - Destination: 0.0.0.0/0 - Which rule or rules should the company remove to meet with these requirements?

  • AOutbound - Rule 2
  • BInbound - Rule 1 and Outbound - Rule 1 (correct answer)
  • CInbound - Rule 2 and Outbound - Rule 1
  • DOutbound - Rule 1
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Inbound - Rule 1 and Outbound - Rule 1.

Topic 1 Β· Question 262

A company uses transit gateways to route traffic between the company's VPCs. Each transit gateway has a single route table. Each route table contains attachments and routes for the VPCs that are in the same AWS Region as the transit gateway. The route tables in each VPC also contain routes to all the other VPC CIDR ranges that are available through the transit gateways. Some VPCs route to local NAT gateways. The company plans to add many new VPCs soon. A network engineer needs a solution to add new VPC CIDR ranges to the route tables in each VPC. Which solution will meet these requirements in the MOST operationally efficient way?

  • ACreate a new customer-managed prefix list. Add all VPC CIDR ranges to the new prefix list. Update the route tables in each VPC to use the new prefix list ID as the destination and the appropriate transit gateway ID as the target. (correct answer)
  • BTurn on default route table propagation for the transit gateway route tables. Turn on route propagation for each route table in each VPC.
  • CUpdate the route tables in each VPC to use 0.0.0.010 as the destination and the appropriate transit gateway ID as the target.
  • DTurn on default route table association for the transit gateway route tables. Turn on route propagation for each route table in each VPC.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Create a new customer-managed prefix list. Add all VPC CIDR ranges to the new prefix list. Update the route tables in each VPC to use the new prefix list ID as the destination and the appropriate transit gateway ID as...

Explanation

AWS Transit Gateway centrally connects many VPCs and on-premises networks at scale.

Topic 1 Β· Question 263

A company has several AWS Site-to-Site VPN connections between an on-premises customer gateway and a transit gateway. The company's application uses IPv4 to communicate through the VPN connections. The company has updated the VPC to be dual stack and wants to transition to using IPv6-only for new workloads. When the company tries to communicate through the existing VPN connections, IPv6 traffic fails. Which solution will provide IPv6 support with the LEAST operational overhead?

  • ACreate a new Site-to-Site VPN connection that supports IPv6. (correct answer)
  • BCreate a new Site-to-Site VPN connection to a self-managed Amazon EC2 instance that runs open source software.
  • CUpdate the existing Site-to-Site VPN connections to support IPv6.
  • DUpdate the on-premises customer gateway's public IP address from IPv4 to IPv6.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Create a new Site-to-Site VPN connection that supports IPv6.

Explanation

AWS Site-to-Site VPN provides encrypted connectivity between on premises and a VPC.

Topic 1 Β· Question 264

A company has two teams: Team A and Team B. Team A has VPCs that run in Account A. The team uses a transit gateway (TGW-A) to route traffic between workloads that run in the different VPCs. Similarly, Team Π’ has VPCs that run in Account B. Team Π’ uses a different transit gateway (TGW-B) to route traffic between workloads that run in the different VPCs. The company's network team manages the routing for Team A and Team Π’. The network team wants to retire TGW-B and use a single transit gateway to manage routing for the VPCs of both teams. Which solution will meet this requirement with the LEAST operational overhead?

  • ACreate a resource share for TGW-A Share TGW-A with Account B. Create VPC attachments for the VPCs in Account Π’. Configure routing for the VPCs in TGW-A route tables. Update the route tables of the VPCs in Account Π’ to forward traffic to TGW-Delete TGW-B attachments and TGW-B. (correct answer)
  • BCreate a resource share for TGW-A. Share TGW-A with Account Π’. Replicate the TGW-B configuration to TGW-A to automatically start routing changes for the VPCs in Account Π’. Delete TGW-B when routing changes are complete.
  • CCreate a new transit gateway (TGW-C) in Account A. Create a resource share for TGW-Share TGW-C with Account B. Create VPC attachments for the VPCs in Account A and Account Π’. Configure routing for all the VPCs in TGW-C route tables. Update the route tables for the VPCs in Account A and Account Π’ to forward traffic to TGW-Delete TGW-A attachments and TGW-B attachments. Delete TGW-A and TGW-B.
  • DCreate a new transit gateway (TGW-C) in a new account (Account C). Create a resource share for TGW-C. Share TGW-C with Account A and Account B. Create VPC attachments for the VPCs in Account A and Account Π’. Configure routing for all the VPCs in TGW-C route tables. Update the route tables for the VPCs in Account A and Account Π’ to forward traffic to TGW-C. Delete TGW-A attachments and TGW-B attachments. Delete TGW-A and TGW-B.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Create a resource share for TGW-A Share TGW-A with Account B. Create VPC attachments for the VPCs in Account Π’. Configure routing for the VPCs in TGW-A route tables. Update the route tables of the VPCs in Account Π’ to...

Explanation

AWS Config tracks resource configuration changes and evaluates compliance.

Topic 1 Β· Question 265 Β· Select all that apply

A company has an AWS environment that includes multiple VPCs that are connected by a transit gateway. The company wants to use a certificate-based AWS Site-to-Site VPN connection to establish connectivity between an on-premises environment and the AWS environment. The company does not have a static public IP address for the on-premises environment. Which combination of steps should the company take to establish VPN connectivity between the transit gateway and the on-premises environment? (Choose two.)

  • ACreate a public certificate in AWS Certificate Manager (ACM).
  • BCreate a private certificate in AWS Certificate Manager (ACM). (correct answer)
  • CConfigure the Site-to-Site VPN tunnels to use the pre-shared key (PSK).
  • DCreate a customer gateway. Specify the current dynamic IP address of the customer gateway device's external interface.
  • ECreate a customer gateway. Do not specify the IP address of the customer gateway device. (correct answer)
Reveal answer & explanation
Correct answer: B, E

The correct answer is B, E. Option B: Create a private certificate in AWS Certificate Manager (ACM). Option E: Create a customer gateway. Do not specify the IP address of the customer gateway device.

Explanation

AWS Certificate Manager provisions and renews TLS certificates automatically.

Topic 1 Β· Question 266

A company operates in multiple AWS Regions. The company has deployed transit gateways in each Region. The company uses AWS Organizations to operate multiple AWS accounts in one organization. The company needs to capture all VPC flow log data when a new VPC is created. The company needs to send flow logs to a specific Amazon S3 bucket. Which solution will meet these requirements with the LEAST administrative effort?

  • AUpdate IAM permissions for each user to include a condition that ensures users can create VPCs only when VPC Flow Logs is enabled and configured correctly.
  • BCreate a custom AWS Config rule with automatic remediation that verifies VPC Flow Logs is enabled and configured correctly. Apply the AWS Config rule to the organization. (correct answer)
  • CEnable VPC Flow Logs on each transit gateway. Configure VPC Flow Logs to send flow logs to the specified S3 bucket.
  • DDeploy a serverless application that uses AWS CloudTrail to monitor for VPC creation events in each account. Configure the application to apply the correct VPC Flow Logs configuration.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Create a custom AWS Config rule with automatic remediation that verifies VPC Flow Logs is enabled and configured correctly. Apply the AWS Config rule to the organization.

Explanation

AWS Config tracks resource configuration changes and evaluates compliance.

Topic 1 Β· Question 267

A company wants to analyze TCP internet traffic. The traffic originates from Amazon EC2 instances in the company’s VPC. The EC2 instances initiate connections through a NAT gateway. The company wants to capture data about the traffic including source and destination IP addresses ports, and the first 8 bytes of the TCP segments of the traffic. The company needs to collect, store, and analyze all the required data points. Which solution will meet these requirements?

  • AConfigure the EC2 instances to be VPC traffic mirror sources. Deploy software on the traffic mirror target to forward the data to Amazon CloudWatch Logs. Analyze the data by using CloudWatch Logs Insights
  • BConfigure the NAT gateway to be a VPC traffic mirror source. Deploy software on the traffic mirror target to forward the data to an Amazon S3 bucket. Analyze the data by using Amazon Athena. (correct answer)
  • CTurn on VPC Flow Logs for the EC2 instances. Specify the default format and set Amazon CloudWatch Logs as the log destination. Analyze the flow log data by using CloudWatch Logs Insights.
  • DTurn on VPC Flow Logs for the EC2 instances. Specify a custom format and set Amazon S3 as the log destination. Analyze the flow log data by using Amazon Athena.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Configure the NAT gateway to be a VPC traffic mirror source. Deploy software on the traffic mirror target to forward the data to an Amazon S3 bucket. Analyze the data by using Amazon Athena.

Explanation

Amazon S3 provides durable, scalable object storage that is fully managed. A NAT gateway lets private subnet resources reach the internet for outbound traffic only. Amazon Athena runs serverless SQL queries directly on data in Amazon S3 with no infrastructure to manage.

Topic 1 Β· Question 268

A media company is planning to host an event that the company will live stream to users. The company wants to use Amazon CloudFront. A network engineer creates a primary origin and a secondary origin for CloudFront. The engineer needs to ensure that the primary origin can fail over to the secondary origin within 15 seconds if a disruption occurs. Which solution will meet this requirement with the LEAST operational overhead?

  • AConfigure a Lambda@Edge function to check the health status of both origins every 10 seconds. Reroute incoming requests when the origin health status is unhealthy.
  • BCreate a Network Load Balancer (NLB) in front of both origins Configure the NLB as the origin in CloudFront.
  • CSet the CloudFront origin connection timeout value to 5 seconds Set the origin connection attempts value to 2. (correct answer)
  • DConfigure a Lambda@Edge function to monitor incoming requests for an origin response. Reroute incoming requests if no response is received from the primary origin within 10 seconds.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Set the CloudFront origin connection timeout value to 5 seconds Set the origin connection attempts value to 2.

Explanation

Amazon CloudFront caches content at edge locations to reduce latency and offload origins.

Topic 1 Β· Question 269

AnyCompany deploys and manages networking resources in its AWS network account, named Account-A. AnyCompany acquires Example Corp, which has an application that runs behind an Application Load Balancer (ALB) in Example Corp's AWS account, named Account-B. Example Corp needs to use AWS Global Accelerator to create an accelerator to publish the application to users. AnyCompany's networking team will manage the accelerator. Which solution will meet these requirements with the LEAST management overhead?

  • ACreate an accelerator in Account-Π’. Use a cross-account role from Account-A to grant the networking team access to manage the accelerator.
  • BDeploy a Network Load Balancer (NLB) in Account-A to route traffic to the ALB in Account-Π’. Create an accelerator, and set the NLB as the endpoint in Account-A.
  • CCreate a cross-account Global Accelerator attachment in Account-Π’ for the Account-A principal. Create an accelerator in Account-A by using the shared attachment.
  • DCreate an accelerator in Account-A. Use AWS Resource Access Management (AWS RAM) to share the accelerator with Account-Π’. Associate the ALB in Account-Π’ with the accelerator in Account-A. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Create an accelerator in Account-A. Use AWS Resource Access Management (AWS RAM) to share the accelerator with Account-Π’. Associate the ALB in Account-Π’ with the accelerator in Account-A.

Topic 1 Β· Question 270

A company has two AWS Direct Connect connections between Direct Connect locations and the company's on-premises environment in the US. The company uses the connections to communicate with AWS workloads that run in the us-east-1 Region. The company has a transit gateway that connects several VPCs. The Direct Connect connections terminate at a Direct Connect gateway and the transit VIFs to the transit gateway. The company recently acquired a smaller company that is based in Europe. The newly acquired company has only on-premises workloads. The newly acquired company does not expect to run workloads on AWS for the next 3 years. However, the newly acquired company requires connectivity to the parent company's AWS resources in us-east-1 and to the parent company's on-premises environment in the US. The parent company wants to use two new Direct Connect connections in Europe to provide the required connectivity. Which solution will meet these requirements with the LEAST operational overhead for the newly acquired company?

  • AAssociate new transit VIFs to the existing Direct Connect gateway. Configure the new transit VIFs to use Direct Connect SiteLink. (correct answer)
  • BAssociate new transit VIFs to a new Direct Connect gateway and to a new transit gateway in the eu-west-1 Region. Use transit gateway peering to connect the transit gateways.
  • CAssociate new private VIFs to the existing Direct Connect gateway. Configure the existing transit VIFs and the new private VIFs to use Direct Connect SiteLink.
  • DAssociate new private VIFs to a new Direct Connect gateway and to a new VPC in us-east-1. Configure the existing transit VIFs and the new private VIFs to use Direct Connect SiteLink and AWS PrivateLink endpoints in the new VPC.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Associate new transit VIFs to the existing Direct Connect gateway. Configure the new transit VIFs to use Direct Connect SiteLink.

Explanation

AWS Direct Connect provides a dedicated, consistent private network link between on premises and AWS. AWS Config tracks resource configuration changes and evaluates compliance.

Topic 1 Β· Question 271

A company is establishing hybrid cloud connectivity from an on-premises environment to AWS in the us-east-1 Region. The company is using a 10 Gbps AWS Direct Connect dedicated connection. The company has two accounts in AWS. Account A has transit gateways in four AWS Regions. Account Π’ has transit gateways in three Regions. The company does not plan to expand. To meet security requirements the company's accounts must have separate cloud infrastructure. Which solution will meet these requirements MOST cost-effectively?

  • ACreate one Direct Connect gateway in us-east-1. Use AWS Resource Access Manager (AWS RAM) to share the Direct Connect gateway with each account. Create a transit VIF for Account Associate the four transit gateways in Account A to the Direct Connect gateway. Create a transit VIF for Account B. Associate the three transit gateways in Account Π’ to the Direct Connect gateway. (correct answer)
  • BCreate one Direct Connect gateway in us-east-1 for Account A. Create a second Direct Connect gateway in us-east-1 for Account Create a transit VIF for Account A. Associate the four transit gateways in Account A to the Direct Connect gateway in Account A. Create a transit VIF for Account Associate the three transit gateways in Account Π’ to the Direct Connect gateway in Account Π’.
  • CCreate one Direct Connect gateway in us-east-1. Use AWS Resource Access Manager (AWS RAM) to share the Direct Connect gateway with each account. Create a transit VIF for Account A. Associate the four transit gateways in Account A to the Direct Connect gateway. Order a new 10 Gbps Direct Connect dedicated connection for Account B. Create a transit VIF on the new Direct Connect connection for Account B. Associate the three transit gateways in Account Π’ to the Direct Connect gateway.
  • DCreate one Direct Connect gateway in us-east-1 for Account A. Create a second Direct Connect gateway in us-east-1 for Account B. Create a transit VIF for Account A. Associate the four transit gateways in Account A to the Direct Connect gateway in Account A. Order a new 10 Gbps Direct Connect dedicated connection for Account Π’. Create a transit VIF on the new Direct Connect connection for Account Π’. Associate the three transit gateways in Account Π’ to the Direct Connect gateway in Account Π’.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Create one Direct Connect gateway in us-east-1. Use AWS Resource Access Manager (AWS RAM) to share the Direct Connect gateway with each account. Create a transit VIF for Account Associate the four transit gateways in...

Explanation

AWS Direct Connect provides a dedicated, consistent private network link between on premises and AWS. AWS Transit Gateway centrally connects many VPCs and on-premises networks at scale. This option delivers the requirement at the lowest cost.

Topic 1 Β· Question 272

A company runs an application across multiple AWS Regions and multiple Availability Zones. The company needs to expand to a new AWS Region. Low latency is critical to the functionality of the application. A network engineer needs to gather metrics for the latency between the existing. Regions and the new Region. The network engineer must gather metrics for at least the previous 30 days. Which solution will meet these requirements?

  • AConfigure an AWS Network Access Analyzer Network Access Scope, and use the analysis to review the latency.
  • BSet up AWS Network Manager Infrastructure Performance. Publish network performance metrics to Amazon CloudWatch. (correct answer)
  • CUse an Amazon VPC Reachability Analyzer path to review the latency.
  • DSet up VPC Flow Logs. Publish log metrics to Amazon CloudWatch.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Set up AWS Network Manager Infrastructure Performance. Publish network performance metrics to Amazon CloudWatch.

Explanation

Amazon CloudWatch collects metrics, logs and alarms to monitor and react to operational health. By spanning multiple Availability Zones / adding redundancy, this option provides the high availability and resilience required.

Topic 1 Β· Question 273

A company operates in the us-east-1 Region and the us-west-1 Region. The company is designing a solution to connect an on-premises data center to the company's AWS environment in us-east-1. The solution uses two AWS Direct Connect connections. Traffic from us-west-1 to the data center needs to traverse the Direct Connect connections. A network engineer needs to set up active-passive functionality across the two Direct Connect connections by using a Direct Connect gateway to influence inbound traffic from VPCs that are in us-west-1 to the data center. Which solution will meet these requirements?

  • AAt the data center, set the local preference for the primary connection to be higher than the local preference for the secondary connection.
  • BUse AS path prepending to set the AS path on the primary connection to be longer than the AS path on the secondary connection.
  • CUse local preference BGP community tags to apply the 7224:7300 local preference BGP community tag to the prefixes for the primary connection. Apply the 7224:7100 local preference BGP community tag to the prefixes for the secondary connection. (correct answer)
  • DUse local preference BGP community tags to apply the 7224:9300 local preference BGP community tag to the prefixes for the primary connection. Apply the 7224:9100 local preference BGP community tag to the prefixes for secondary connection.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Use local preference BGP community tags to apply the 7224:7300 local preference BGP community tag to the prefixes for the primary connection. Apply the 7224:7100 local preference BGP community tag to the prefixes for...

Topic 1 Β· Question 274

A company has multiple firewalls and ISPs for its on-premises data center. The company has a single AWS Site-to-Site VPN connection from the company's on-premises data center to a transit gateway. A single ISP services the Site-to-Site VPN connection. Multiple VPCs are attached to the transit gateway. A customer gateway that the Site-to-Site VPN connection uses fails. Connectivity is completely lost, but the company's network team does not receive a notification. The network team needs to implement redundancy within a week in case a single customer gateway fails again. The team wants to use an Amazon CloudWatch alarm to send notifications to an Amazon Simple Notification Service (Amazon SNS) topic if any tunnel of the Site-to-Site VPN connection fails. Which solution will meet these requirements MOST cost-effectively?

  • AReplace the existing customer gateway with a new router. Create a new Site-to-Site VPN connection to the transit gateway. For each VPN connection, set up a CloudWatch TunnelState alarm for the VPN connection. Use a value of 0 for the alarm.
  • BUse a second customer gateway and a second ISP. Create a new Site-to-Site VPN connection to the transit gateway. For each VPN connection, set up a CloudWatch TunnelState alarm for the VPN connection. Use a value of less than 1 for the alarm. (correct answer)
  • CAdd an AWS Direct Connect connection to the existing Site-to-Site VPN connection to the transit gateway. For each VPN connection, set up a CloudWatch TunnelState alarm for the VPN connection. Use a value of failed for the alarm.
  • DUse a second customer gateway with the existing ISP. Create a new Site-to-Site VPN connection to the transit gateway. For each VPN connection, set up a CloudWatch TunnelState alarm for the VPN connection. Use a value of unavailable for the alarm.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Use a second customer gateway and a second ISP. Create a new Site-to-Site VPN connection to the transit gateway. For each VPN connection, set up a CloudWatch TunnelState alarm for the VPN connection. Use a value of le...

Explanation

AWS Transit Gateway centrally connects many VPCs and on-premises networks at scale. AWS Site-to-Site VPN provides encrypted connectivity between on premises and a VPC. Amazon CloudWatch collects metrics, logs and alarms to monitor and react to operational health. This option delivers the requirement at the lowest cost.

Topic 1 Β· Question 275 Β· Select all that apply

A gaming company operates in one AWS Region. The company's architecture includes an Application Load Balancer (ALB) and Amazon EC2 instances in an Auto Scaling group that support a frontend application. The company uses AWS WAF integrated with the ALB. The ALB has one security group attached to it. The company uses AWS Network Firewall with stateful rules. The company has set up Network ACLs. The company wants to automatically block access for game users who violate specific rules. The company wants to temporarily block access for problematic users for 1 to 2 hours. The company's software can identify the source IP addresses of problematic users. The company has created a serverless solution to store the IP addresses in Amazon DynamoDB. The company wants to use its existing serverless architecture to automatically block the problematic users. Which solution will meet these requirements in the MOST scalable way? (Choose two.)

  • ACreate a new AWS WAF IP set that the serverless solution updates. Introduce an AWS WAF deny rule to block traffic from any address in the IP set. (correct answer)
  • BConfigure the serverless solution to modify the network ACLs to block traffic from the IP addresses of the problematic users.
  • CConfigure the serverless solution to modify the ALB security group to block traffic from the IP addresses of the problematic users.
  • DCreate a new AWS WAF IP set that is updated by the serverless solution. Create an AWS WAF rule to redirect traffic from sources that match the IP set to a new API for the serverless solution.
  • ECreate an AWS Network Firewall stateless rule to drop traffic from the IP addresses of the problematic users. Configure the serverless solution to update the new rule with the IP addresses of the problematic users. (correct answer)
Reveal answer & explanation
Correct answer: A, E

The correct answer is A, E. Option A: Create a new AWS WAF IP set that the serverless solution updates. Introduce an AWS WAF deny rule to block traffic from any address in the IP set. Option E: Create an AWS Network Firewall stateless rule to drop traffic from the IP addresses of the problematic users. Configure the serverless solution to update the new rule with the IP addresses of the problematic users.

Explanation

AWS WAF protects web applications from common exploits and malicious requests. AWS Config tracks resource configuration changes and evaluates compliance.

Topic 1 Β· Question 276 Β· Select all that apply

A company is setting up an AWS Direct Connect connection between the company's on-premises data center and AWS. The company currently has a single VPC in its AWS account. The on-premises data center uses the 172.16.0.0/16 CIDR block, and the VPC uses the 10.1.1.0/24 CIDR block. The company associates the Direct Connect connection to one private VIF. A network engineer receives reports that SSH communication from hosts that are in the company's on-premises data center to Amazon EC2 instances that are deployed in the company's VPC is failing. The network engineer investigates and finds that the VIF is up and a BGP peering session has been established properly. Which steps should the engineer take to troubleshoot this issue? (Choose three.)

  • AEnsure that the advertised route for the on-premises network is present in the VPC route tables. Ensure that the VPC's subnets are present in the route tables of the on-premises network equipment. (correct answer)
  • BEnsure that BGP community tags announcements from the customer gateway router are configured properly.
  • CEnsure that the customer gateway router accepts BGP community tags in the prefixes the router receives.
  • DEnsure that the VPC network ACLs allow inbound and outbound traffic for the on-premises network prefix. (correct answer)
  • EEnsure that the security groups for the EC2 instances allow inbound SSH communication from the on-premises network prefix. (correct answer)
  • FEnsure that the security groups for the EC2 instances allow outbound SSH communication from the on-premises network prefix.
Reveal answer & explanation
Correct answer: A, D, E

The correct answer is A, D, E. Option A: Ensure that the advertised route for the on-premises network is present in the VPC route tables. Ensure that the VPC's subnets are present in the route tables of the on-premises network equipment. Option D: Ensure that the VPC network ACLs allow inbound and outbound traffic for the on-premises network prefix. Option E: Ensure that the security groups for the EC2 instances allow inbound SSH communication from the on-premises network prefix.

Explanation

Amazon EC2 provides resizable virtual servers when you need full control of the operating system.

Topic 1 Β· Question 277

A company needs to connect its on-premises network to a VPC in the us-east-1 Region. The connection must support a maximum transmission unit (MTU) of 9,000 bytes and must be highly available. Which solution will meet these requirements MOST cost-effectively?

  • AUse AWS Site-to-Site VPN to create two VPNs. Use two connections to two virtual private gateways that are in the same VPC.
  • BUse AWS Site-to-Site VPN to create two VPNs. Use two connections to a single transit gateway that has a VPC attachment.
  • CCreate a multi-site, nonredundant AWS Direct Connect deployment. Use two Direct Connect connections to two separate Direct Connect locations. (correct answer)
  • DCreate a multi-site, redundant AWS Direct Connect deployment. Use two Direct Connect connections to one Direct Connect location and two connections to a second Direct Connect location.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create a multi-site, nonredundant AWS Direct Connect deployment. Use two Direct Connect connections to two separate Direct Connect locations.

Explanation

AWS Direct Connect provides a dedicated, consistent private network link between on premises and AWS. This option delivers the requirement at the lowest cost.

Topic 1 Β· Question 278

A network engineer maintains a company's AWS infrastructure. The network engineer used AWS Transit Gateway to set up a hub and spoke architecture. The network engineer created a shared services VPC to centralize access to interface VPC endpoints. The company uses AWS Organizations to manage AWS accounts for multiple teams in a single organization. Each team in the company has a separate account and VPC. All the team accounts require access to the interface VPC endpoints. The network engineer needs a solution to grant each account the minimum required access. Each team's account must have access only to a list of authorized interface VPC endpoints. The solution must have minimal effect on the current architecture. Which solution will meet these requirements with the LEAST operational overhead?

  • ACreate a separate shared services VPC for each team account. Include the interface VPC endpoints that the team is authorized to use in each VPC. Use a unique transit gateway route table to connect each team's spoke VPC to the team's shared services VPC.
  • BApply security groups to the interface VPC endpoints that are in the shared services VPC. Configure each security group to allow only the CIDR block of the team spoke VPCs that are authorized to use the endpoints included in the security group.
  • CCreate a unique interface VPC endpoint for each team that is authorized to access a service. Update routing for the shared services VPC so that the CIDR block for each team can access only the set of endpoints the team is authorized to access.
  • DAssociate an endpoint policy with each interface VPC endpoint. In each policy, deny all the traffic except for traffic from accounts that are authorized to access the corresponding service. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Associate an endpoint policy with each interface VPC endpoint. In each policy, deny all the traffic except for traffic from accounts that are authorized to access the corresponding service.

Explanation

A VPC endpoint provides private connectivity to AWS services without traversing the public internet.

Topic 1 Β· Question 279

A global network service provider deploys managed AWS Direct Connect connections for its customers. The company wants to integrate monitoring for the connections into its existing ticketing system. The ticketing system runs in the company's VPC on multiple EC2 instances. The ticketing system uses a REST API. The ticketing system must receive events with minimal latency. The company expects to receive an average of 1 event each day. The company wants to use its existing infrastructure as code (IaC) tooling to configure the monitoring integration solution. Which solution will meet these requirements in the MOST cost-effective way?

  • AConfigure an Amazon EventBridge rule to send events to an AWS Lambda function. Configure the Lambda function to process the events and to send events to the ticketing system's REST API. (correct answer)
  • BConfigure a scheduled event in Amazon CloudWatch to run an AWS Lambda function once every minute. Configure the function to poll the AWS API to detect changes in the Direct Connect connection state. Configure the function to submit tickets to the ticketing system's REST API when the function detects state changes.
  • CWrite a script to poll the AWS API to detect changes in Direct Connect connection state and to submit tickets to the ticketing system's REST API. Deploy the script to the ticketing system's EC2 instance. Schedule the script to run once every minute by using the operating system configuration.
  • DConfigure an Amazon EventBridge rule to send events directly to an Amazon DynamoDB table. Use Amazon DynamoDB Streams to send the events to an AWS Lambda function. Configure the function to process the events and to send the events to the ticketing system's REST API.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Configure an Amazon EventBridge rule to send events to an AWS Lambda function. Configure the Lambda function to process the events and to send events to the ticketing system's REST API.

Explanation

AWS Lambda runs code without provisioning servers and scales automatically, which minimizes operational overhead. Amazon EventBridge routes events between services with rules, enabling event-driven, decoupled architectures. AWS Config tracks resource configuration changes and evaluates compliance. This option delivers the requirement at the lowest cost.

Topic 1 Β· Question 280

A network engineer deploys an Application Load Balancer (ALB) in two Availability Zones. There is one target group. There are four Amazon EC2 instance targets in the first Availability Zone and six EC2 instance targets in the second Availability Zone. During testing, the network engineer notices that the targets in the first Availability Zone receive 40% of the traffic. The targets in the second Availability Zone receive 60% of the traffic. The network engineer needs to update the configuration to prevent traffic from crossing Availability Zones. The network engineer wants to achieve a 50% traffic split across the Availability Zones. Which solution will meet these requirements?

  • ADisable cross-zone load balancing for the target group. (correct answer)
  • BDisable cross-zone load balancing for the ALB.
  • CDisable cross-zone load balancing for all the targets in the first Availability Zone.
  • DDisable cross-zone load balancing for all the targets in the second Availability Zone.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Disable cross-zone load balancing for the target group.

Showing questions 261–280 of 292 Β· Page 14 of 15