πŸ”

ANS-C01 β€” questions

Page 13 of 15 Β· 292 total questions.

Topic 1 Β· Question 241

A company’s data center is connected to a single AWS Region by an AWS Direct Connect dedicated connection. The company has a single VPC in the Region. The company stores logs for all its applications locally in the data center. The company must keep all application logs for 7 years. The company decides to copy all application logs to an Amazon S3 bucket. Which solution will meet these requirements?

  • ACreate a public VIF on the Direct Connect connection. Create an Amazon S3 gateway endpoint in the VPC.
  • BCreate a private VIF on the Direct Connect connection. Create an Amazon S3 gateway endpoint in the VPC.
  • CCreate a private VIF on the Direct Connect connection. Create an Amazon S3 interface endpoint in the VPC. (correct answer)
  • DCreate a public VIF on the Direct Connect connection. Create an Amazon S3 interface endpoint in the VPC.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create a private VIF on the Direct Connect connection. Create an Amazon S3 interface endpoint in the VPC.

Explanation

Amazon S3 provides durable, scalable object storage that is fully managed. AWS Direct Connect provides a dedicated, consistent private network link between on premises and AWS.

Topic 1 Β· Question 242

A company is planning to host a secure web application across multiple Amazon EC2 instances. The application will have an associated DNS domain in an Amazon Route 53 hosted zone. The company wants to protect the domain from DNS poisoning attacks. The company also wants to allow web browsers to authenticate into the application by using a trusted third party. Which combination of actions will meet these requirements?

  • AConfigure the Route 53 hosted zone to use DNS Security Extensions (DNSSEC). Install self-signed X.509 certificates on the EC2 instances.
  • BConfigure a Name Authority Pointer (NAPTR) record in the Route 53 hosted zone. Install X 509 certificates that are signed by a public certificate authority on the EC2 instances.
  • CConfigure the Route 53 hosted zone to use DNS Security Extensions (DNSSEC). Install X.509 certificates that are signed by a public certificate authority on the EC2 instances. (correct answer)
  • DConfigure a Name Authority Pointer (NAPTR) record in the Route 53 hosted zone. Install self-signed X.509 certificates on the EC2 instances.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Configure the Route 53 hosted zone to use DNS Security Extensions (DNSSEC). Install X.509 certificates that are signed by a public certificate authority on the EC2 instances.

Explanation

Amazon EC2 provides resizable virtual servers when you need full control of the operating system. Amazon Route 53 provides DNS with health checks and routing policies for availability and latency. AWS Config tracks resource configuration changes and evaluates compliance.

Topic 1 Β· Question 243

A company is planning to use an AWS Transit Gateway hub and spoke architecture to migrate to AWS. The current on-premises multi-protocol label switching (MPLS) network has strict controls that enforce network segmentation by using MPLS VPNs. The company has provisioned two 10 Gbps AWS Direct Connect connections to provide resilient, high-speed, low-latency connectivity to AWS. A security engineer needs to apply the concept of network segmentation to the AWS environment to ensure that virtual routing and forwarding (VRF) is logically separated for each of the company's software development environments. The number of MPLS VPNs will increase in the future. On-premises MPLS VPNs will have overlapping address space. The company's AWS network design must support overlapping address space for the VPNs. Which solution will meet these requirements with the LEAST operational overhead?

  • ADeploy a software-defined WAN (SD-WAN) head-end virtual appliance and an SD-WAN controller into a Transit Gateway Connect VPC. Configure the company's edge routers to be managed by the new SD-WAN controller and to use SD-WAN to segment the traffic into the defined segments for each of the company's development environments.
  • BConfigure IPsec VPNs on the company edge routers for each MPLS VPN for each of the company's development environments. Attach each IPsec VPN tunnel to a discrete MPLS VPN. Configure AWS Site-to-Site VPN connections that terminate at a transit gateway for each MPLS VPN. Configure a transit gateway route table that matches the MPLS VPN for each Transit Gateway VPN attachment.
  • CCreate a transit VPC that terminates at the AWS Site-to-Site VRF-aware IPsec VPN. Configure IPsec VPN connections to each VPC for each of the company's development environment VRFs.
  • DConfigure a Transit Gateway Connect attachment for each MPLS VPN between the company's edge routers and Transit Gateway. Configure a transit gateway route table that matches the MPLS VPN for each of the company's development environments. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Configure a Transit Gateway Connect attachment for each MPLS VPN between the company's edge routers and Transit Gateway. Configure a transit gateway route table that matches the MPLS VPN for each of the company's deve...

Explanation

AWS Transit Gateway centrally connects many VPCs and on-premises networks at scale. AWS Config tracks resource configuration changes and evaluates compliance.

Topic 1 Β· Question 244

A company is planning to migrate to AWS and use multiple VPCs in multiple AWS Regions. A network engineer must connect the eu-west-1 and eu-central-1 Regions to the company headquarters and branch office, respectively. The network engineer created a production VPC, named Prod A, with a CIDR block of 10.0.0.0/16. Prod A runs in an account in eu-west-1. The network engineer then created another production VPC, named Prod B, with a CIDR block of 10.1.0.0/16. Prod Π’ runs in a different account in eu-central-1. The network engineer performed the following steps to try to achieve the required connectivity: 1. Created one transit gateway in each Region 2. Shared and accepted the transit gateways with the production accounts in both Regions 3. Configured the peering attachment between both transit gateways 4. Attached both VPCs to the respective Region transit gateway 5. Created both transit gateway route tables and associated the attachments with the route tables 6. Configured a static route in both transit gateway route tables to send traffic to the remote VPC in the other Region 7. Activated route propagation on the VPC route tables in each Region After the configuration, the network engineer tried to connect from Prod A to Prod B. However, the connection was unsuccessful. What should the network engineer do to achieve the required connectivity?

  • AModify the IP address of the peering attachment to a wider range.
  • BDelete the static routes that were in the transit gateway route table to send traffic to the remote VPC and enable route propagation instead.
  • CCreate a new route destined to 10.0.0.0/8 in both production VPC route tables with the Region transit gateway as the target. (correct answer)
  • DModify the transit gateway route tables from the production accounts to propagate routes dynamically between the production VPCs.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create a new route destined to 10.0.0.0/8 in both production VPC route tables with the Region transit gateway as the target.

Explanation

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

Topic 1 Β· Question 245

A company hosts an application on Amazon EC2 instances behind an Application Load Balancer (ALB). The instances are part of an Amazon EC2 Auto Scaling group. To comply with new security standards, the company must capture all application access data, including server response codes, request paths, latency, and client IP addresses. The company also needs to query the captured data for performance analysis. Which solution will meet these requirements?

  • AEnable VPC flow logs on the ALB subnets. Store the logs to an Amazon S3 bucket. Query the logs in the S3 bucket by using Amazon Athena.
  • BConfigure Amazon VPC Traffic Mirroring on all EC2 elastic network interfaces. Deploy a third-party monitoring appliance from AWS Marketplace in a private subnet. Use Amazon Data Firehose to send all mirrored traffic to the monitoring appliance. Query the logs directly from the monitoring appliance.
  • CConfigure Amazon CloudWatch detailed monitoring on the EC2 instances Include all available logs. Use Amazon Data Firehose to send all the collected logs to an Amazon S3 bucket. Query the data directly from the S3 bucket.
  • DEnable access logs on the ALB. Store the logs in an Amazon S3 bucket. Query the logs in the S3 bucket by using Amazon Athena. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Enable access logs on the ALB. Store the logs in an Amazon S3 bucket. Query the logs in the S3 bucket by using Amazon Athena.

Explanation

Amazon S3 provides durable, scalable object storage that is fully managed. Amazon Athena runs serverless SQL queries directly on data in Amazon S3 with no infrastructure to manage.

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

A company has five VPCs in the us-east-1 Region. The company hosts an internal web application in us-east-1. One of the company's VPCs. named VPC-A, needs to connect to an external partner's AWS environment. The partner’s environment is in the same AWS Region where the partner hosts a new version of the company's web application. The partner hosts its version of the application in a VPC named VPC-B. The company has Amazon EC2 instances in VPC-A that need to connect to the web application in VPC-B A network engineer notices that the partner's VPC-B and the company's VPC-A use the same IP space. The network engineer needs a solution to allow the EC2 instances to connect to the web application. The solution must not negatively affect the exiting environment of the company or the partner. Which combination of steps should the network engineer take meet these requirements? (Choose two.)

  • AEstablish a VPC peering connection between VPC-A to VPC-B.
  • BEnsure the partner creates a VPC endpoint service that uses a Network Load Balancer in VPC-B. (correct answer)
  • CDeploy a VPC endpoint in VPC-A that uses a VPC endpoint service that is shared by the partner. (correct answer)
  • DDeploy a new routable VPC CIDR block as a secondary CIDR block to both VPC-A and VPC-B. Deploy a public NAT gateway in VPC-A.
  • EEstablish an AWS Site-to-Site VPN connection between VPC-A and VPC-B.
Reveal answer & explanation
Correct answer: B, C

The correct answer is B, C. Option B: Ensure the partner creates a VPC endpoint service that uses a Network Load Balancer in VPC-B. Option C: Deploy a VPC endpoint in VPC-A that uses a VPC endpoint service that is shared by the partner.

Explanation

A Network Load Balancer handles very high throughput TCP/UDP traffic with ultra-low latency and static IPs. A load balancer distributes traffic across targets in multiple AZs for availability and scale. A VPC endpoint provides private connectivity to AWS services without traversing the public internet.

Topic 1 Β· Question 247

A company has a hybrid environment that connects an on-premises data center to the AWS Cloud. The hybrid environment uses a 10 Gbps AWS Direct Connect dedicated connection. The Direct Connect connection has multiple private VIFs that terminate in multiple VPCs. To comply with regulations, the company must encrypt all WAN traffic, regardless of the underlying transport. The company needs to implement an encryption solution that will not affect the company's bandwidth capacity. Which solution will meet these requirements?

  • ACreate a public VIF. Configure a new AWS Site-to-Site VPN connection to use the new public VIF.
  • BConfigure MAC security (MACsec) support on the port of the existing Direct Connect connection. Change the encryption mode to must_encrypt.
  • CConfigure a new Direct Connect connection that supports MAC security (MACSec) Associate the existing VIFs to the new Direct Connect connection. (correct answer)
  • DCreate a public VIF. Configure a new private IP VPN that uses the Direct Connect connection.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Configure a new Direct Connect connection that supports MAC security (MACSec) Associate the existing VIFs to the new Direct Connect connection.

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 248

A company needs to capture and log traffic for Nitro-based Amazon EC2 instances to comply with regulations. The company's network team has prepared a solution that enables VPC traffic mirroring and sends traffic to a second set of EC2 instances in an Auto Scaling group. The network team has added a Network Load Balancer (NLB) in front of the EC2 instances the traffic will be sent to. However, the solution does not send any mirrored traffic to the EC2 instances that are behind the NLB. How should the network team configure traffic mirroring to use the NLB endpoint?

  • ASelect the NLB as a source for traffic mirroring. Use a UDP listener.
  • BSelect the NLB as a target for traffic mirroring. Use a TCP listener and a UDP listener.
  • CSelect the NLB as a target for traffic mirroring. Use a TCP listener.
  • DSelect the NLB as a target for traffic mirroring. Use a UDP listener. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Select the NLB as a target for traffic mirroring. Use a UDP listener.

Topic 1 Β· Question 249

A US-based company is expanding its business to Europe. A network engineer needs to extend the company's network infrastructure by setting up a new hub and spoke architecture in the eu-west-1 Region. The network engineer uses a transit gateway peering connection to connect the new resources in eu-west-1 to an existing environment in the us-east-1 Region. The hub and spoke architecture in each AWS Region includes an inspection VPC that uses AWS Network Firewall to centralize traffic inspection for each Region. To reduce costs, the network engineer decides to inspect inter-Region traffic by using the inspection VPC in the Region that originates the traffic. The network engineer configures the transit gateway route tables accordingly for each Region. When the network engineer tests the new architecture, communication within each Region works as expected. However, the network engineer finds that inter-Region communication is not working. The network engineer must resolve the inter-Region communication issue. Which solution will meet this requirement?

  • AConfigure Open Shortest Path First (OSPF) routing on the transit gateway peering connection to propagate the VPC CIDR blocks from each Region to the remote peer.
  • BUse AWS Resource Access Manager (AWS RAM) to share access between the transit gateways. Enable the Allow sharing with anyone setting.
  • CPrevent asymmetric routing in the inspection VPCs by ensuring that both requests and responses are inspected by the same inspection VPC
  • DEnable Appliance mode on both the transit gateway attachments for the inspection VPC. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Enable Appliance mode on both the transit gateway attachments for the inspection VPC.

Explanation

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 250

A company runs applications in two VPCs that are in separate AWS Regions. One VPC is in the us-east-1 Region. The second VPC is in the us-west-1 Region. The company needs to establish connectivity between the two VPCs. The company also needs to connect the VPCs to applications that run in an on-premises data center. The current traffic requirement between the VPCs is 50 Π’Π’ per month. The company expects traffic volume between the VPCs to increase. The traffic requirement from the VPCs to the on-premises data center is 10 Π’Π’ per month. The company expects the traffic between the VPCs and the data center to remain constant. Which solution will meet these requirements MOST cost-effectively?

  • ACreate a transit gateway in each Region. Create VPN connections from the transit gateways to the on-premises firewall. Create a peering connection between the transit gateways.
  • BCreate a virtual private gateway in each Region. Create VPN connections from the on-premises firewall to the virtual private gateways. Configure the on-premises firewall to route the traffic between the two VPCs.
  • CCreate a virtual private gateway in each Region. Create VPN connections from the on-premises firewall to the virtual private gateways. Create a VPC peering connection between the two VPCs. (correct answer)
  • DCreate a virtual private gateway in each Region. Create VPN connections from the on-premises firewall to the virtual private gateways. Create a VPN connection between the virtual private gateways.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create a virtual private gateway in each Region. Create VPN connections from the on-premises firewall to the virtual private gateways. Create a VPC peering connection between the two VPCs.

Explanation

VPC peering privately connects two VPCs without a gateway. This option delivers the requirement at the lowest cost.

Topic 1 Β· Question 251

A company runs workloads in multiple VPCs. The company needs to securely access a workload in one of the VPCs, named VPC-A, from an on-premises data center. A network engineer sets up an AWS Site-to-Site VPN connection to a transit gateway. The network engineer configures dynamic routing for the connection, and communication works properly. Recently, the owner of VPC-A added another CIDR range to the VPC. The VPC-A owner created workloads that use the additional CIDR range. The company's on-premises network is unable to reach the new workloads. The network engineer needs to resolve the network connectivity issue and ensure that connectivity will not be affected if additional VPC CIDR ranges are added to the VPC in the future. Which solution will meet these requirements with the MOST operational efficiency?

  • AConfigure route propagation for VPC-A to the VPN attachment route table. (correct answer)
  • BManually update the VPN attachment route table to include the new CIDR range.
  • CConfigure an Amazon EventBridge rule to invoke an AWS Lambda function when the rule to matches an update to the VPC-A CIDR range. Configure the Lambda function to update the VPN attachment route table.
  • DConfigure an Amazon CloudWatch alarm to invoke an AWS Lambda function when there is an update to the VPC-A CIDR range. Configure the Lambda function to update the VPN attachment route table. Restart the VPN tunnels.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Configure route propagation for VPC-A to the VPN attachment route table.

Explanation

AWS Config tracks resource configuration changes and evaluates compliance.

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

A company is migrating its internet VPN connections to dedicated AWS Direct Connect connections. The company needs to set up the Direct Connect connections so that all network communications are encrypted in transit. Which combination of steps will meet this requirement? (Choose three.)

  • ACreate new Direct Connect connections while requesting MACsec ports. (correct answer)
  • BCreate a MACsec Connectivity Association Key Name (CKN) and Connectivity Association Key (CAK) pair. Associate the pair with each new connection. (correct answer)
  • CUpdate the on-premises routers to use MACsec and the shared Connectivity Association Key Name (CKN) and Connectivity Association Key (CAK) pair. (correct answer)
  • DCreate a shared key for an IPsec connection.
  • EConfigure a new Direct Connect gateway. Associate the shared key with the new Direct Connect gateway.
  • FSet up IPsec on the on-premises router. Associate the shared key with the IPsec configuration.
Reveal answer & explanation
Correct answer: A, B, C

The correct answer is A, B, C. Option A: Create new Direct Connect connections while requesting MACsec ports. Option B: Create a MACsec Connectivity Association Key Name (CKN) and Connectivity Association Key (CAK) pair. Associate the pair with each new connection. Option C: Update the on-premises routers to use MACsec and the shared Connectivity Association Key Name (CKN) and Connectivity Association Key (CAK) pair.

Explanation

AWS Direct Connect provides a dedicated, consistent private network link between on premises and AWS.

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

A company has an application VPC and a networking VPC that are connected through VPC peering. The networking VPC contains a Network Load Balancer (NLB). The application VPC contains Amazon EC2 instances that run an application. The EC2 instances are part of a target group that is associated with the NLB in the networking VPC. The company configures a third VPC and peers it to the networking VPC. The new VPC contains a new version of the existing application. The new version of the application runs on new EC2 instances in an application subnet. The new version of the application runs in a different Availability Zone than that original version of the application. The company needs to establish connectivity between the NLB and the new version of the application. Which combination of steps will meet this requirement? (Choose three.)

  • ARegister the new application EC2 instances with the NLB by using the instance IDs.
  • BRegister the new application EC2 instances with the NLB by using instance IP addresses. (correct answer)
  • CConfigure the NLB in the Availability Zone where the new application EC2 instances run. (correct answer)
  • DConfigure the NLB to use zonal shift.
  • EConfigure the network ACL for the application subnet in the new VPC to allow outbound connections.
  • FConfigure the network ACL for the application subnet in the new VPC to allow inbound connections and outbound connections. (correct answer)
Reveal answer & explanation
Correct answer: B, C, F

The correct answer is B, C, F. Option B: Register the new application EC2 instances with the NLB by using instance IP addresses. Option C: Configure the NLB in the Availability Zone where the new application EC2 instances run. Option F: Configure the network ACL for the application subnet in the new VPC to allow inbound connections and outbound connections.

Explanation

Amazon EC2 provides resizable virtual servers when you need full control of the operating system. AWS Config tracks resource configuration changes and evaluates compliance.

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

A company uses AWS Site-to-Site VPN connections to encrypt traffic between the company's on-premises location and a single VPC. The Site-to-Site VPN connections use two 1 Gbps AWS Direct Connect connections with public VIFs. The company plans to add 15 additional VPCs in the same AWS Region. The company must maintain the same level of encryption that the Site-to-Site VPN connections currently provide for each connection between the on-premises location and the new VPCs. The new connections must not use public IP addresses. The bandwidth of the Site-to-Site VPN connections will remain less than the current provisioned speed. Which combination of steps will meet these requirements with LEAST operational overhead? (Choose three.)

  • ACreate a transit gateway and a Direct Connect gateway. Associate the transit gateway with the Direct Connect gateway. Attach all the new VPCs to the transit gateway. (correct answer)
  • BFor each new VPC, create a new Direct Connect private VIF to a Direct Connect gateway. Associate all VPCs with the Direct Connect gateway.
  • CAssign a private IP CIDR block to the transit gateway. (correct answer)
  • DAssign a public IP CIDR block to the transit gateway.
  • ECreate a transit VIF to the Direct Connect gateway. Create a Site-to-Site VPN private IP VPN connection. (correct answer)
  • FCreate a public VICreate a Site-to-Site VPN public IP VPN connection.
Reveal answer & explanation
Correct answer: A, C, E

The correct answer is A, C, E. Option A: Create a transit gateway and a Direct Connect gateway. Associate the transit gateway with the Direct Connect gateway. Attach all the new VPCs to the transit gateway. Option C: Assign a private IP CIDR block to the transit gateway. Option E: Create a transit VIF to the Direct Connect gateway. Create a Site-to-Site VPN private IP VPN connection.

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. AWS Site-to-Site VPN provides encrypted connectivity between on premises and a VPC.

Topic 1 Β· Question 255

A company hosts application servers on premises and on Amazon EC2 instances in a VPC. The application servers access data that is hosted in an Amazon S3 bucket through the public internet. The EC2 instances in the VPC use an AWS Site-to-Site VPN for connectivity with the on-premises application servers. New company regulations state that all traffic between the application servers and the S3 bucket must remain private and must not use public IP addresses. Which solution will meet these requirements MOST cost-effectively?

  • AConfigure an S3 gateway endpoint Modify the route table with the appropriate route for the endpoint. Access the S3 bucket through the gateway endpoint from the EC2 instances.
  • BConfigure an S3 interface endpoint. Update the on-premises servers and EC2 instances to use the interface endpoint DNS name to access the S3 bucket.
  • CConfigure an S3 interface endpoint. Update the on-premises servers to use the interface endpoint DNS name to access the S3 bucket. Configure an S3 gateway endpoint. Modify the route table so that the EC2 instances use the gateway endpoint. (correct answer)
  • DConfigure an S3 gateway endpoint. Modify the route table with the appropriate route for the endpoint. Use an S3 bucket policy to restrict access to the gateway endpoint. Configure a proxy server fleet behind a Network Load Balancer in the VPC so that the on-premises servers can access the S3 bucket.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Configure an S3 interface endpoint. Update the on-premises servers to use the interface endpoint DNS name to access the S3 bucket. Configure an S3 gateway endpoint. Modify the route table so that the EC2 instances use...

Explanation

Amazon EC2 provides resizable virtual servers when you need full control of the operating system. Amazon S3 provides durable, scalable object storage that is fully managed. AWS Config tracks resource configuration changes and evaluates compliance. This option delivers the requirement at the lowest cost.

Topic 1 Β· Question 256

A company uses AWS Network Firewall to protect outgoing traffic for multiple VPCs that are in the same AWS account. Each VPC contains Amazon EC2 instances that host the company's applications. Each EC2 instance is tagged with the name of the application it hosts. The EC2 instances are in Auto Scaling groups. A Network Firewall stateful rule group must remain up-to-date, even when an Auto Scaling group launches and terminates EC2 instances. Which solution will meet this requirement with the LEAST implementation and administrative effort?

  • ACreate a network ACL for each application. Reference the network ACL in the stateful rule group.
  • BCreate a prefix list for each application. Reference the prefix list in the stateful rule group.
  • CCreate an AWS Lambda function that queries the EC2 instance tags for each application name and then updates the stateful rule group with the IP address of each instance.
  • DCreate a resource group for each application name. Reference the Amazon Resource Name (ARN) for the resource groups in the stateful rule group. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Create a resource group for each application name. Reference the Amazon Resource Name (ARN) for the resource groups in the stateful rule group.

Topic 1 Β· Question 257

A company has multiple AWS Site-to-Site VPN connections between an on-premises environment and multiple VPCs. The Site-to-Site VPN connections use virtual private gateways and are configured with IPv4 addresses. The company hosts several internal applications in the VPCs. Application users have reported that the applications are performing slowly. A network engineer notices excessive latency in the network path that the VPN connections use. The network engineer needs to resolve the excessive latency. Which solution will meet this requirement?

  • AUse AWS Global Accelerator to deploy an accelerator on the existing Site-to-Site VPN connections.
  • BDeploy a transit gateway and a new accelerated Site-to-Site VPN connection. (correct answer)
  • CReplace the existing Site-to-Site VPN connections with new Site-to-Site VPN connections that use IPv6.
  • DReplace the existing Site-to-Site VPN connections with AWS PrivateLink connections.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Deploy a transit gateway and a new accelerated Site-to-Site VPN connection.

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.

Topic 1 Β· Question 258

A company has a transit gateway in a single AWS account. The company sends flow logs for the transit gateway to an Amazon CloudWatch Logs log group. The company created an AWS Lambda function to analyze the logs. The Lambda function sends a notification to an Amazon Simple Notification Service (Amazon SNS) topic when a VPC generates traffic that is dropped by the transit gateway. Each notification contains the account ID. VPC ID, and total amount of dropped packets. The company wants to subscribe a new Lambda function to the SNS topic. The new Lambda function must automatically prevent the traffic that is identified in each notification from leaving a VPC by applying a network ACL to the transit gateway attachment subnets in the VPC that generates the traffic. Which solution will meet these requirements?

  • AConfigure the existing Lambda function to add the destination IP addresses of the dropped traffic to each SNS notification. Configure the new Lambda function to create an outbound rule by using the destination IP addresses in the network ACL. (correct answer)
  • BConfigure the existing Lambda function to add the source IP addresses of the dropped traffic to each SNS notification. Configure the new Lambda function to create an inbound rule by using the source IP addresses in the network ACL.
  • CConfigure the existing Lambda function to add the source IP addresses of the dropped traffic to each SNS notification. Configure the new Lambda function to create an outbound rule by using the source IP addresses in the network ACL.
  • DConfigure the existing Lambda function to add the destination IP addresses of the dropped traffic to each SNS notification. Configure the new Lambda function to create an inbound rule by using the destination IP addresses in the network ACL.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Configure the existing Lambda function to add the destination IP addresses of the dropped traffic to each SNS notification. Configure the new Lambda function to create an outbound rule by using the destination IP addr...

Explanation

AWS Lambda runs code without provisioning servers and scales automatically, which minimizes operational overhead. Amazon SNS is a managed pub/sub service for fan-out notifications to many subscribers. AWS Config tracks resource configuration changes and evaluates compliance.

Topic 1 Β· Question 259

A company has multiple VPCs with subnets that use IPv4. Traffic from the VPCs to the internet uses a NAT gateway. The company wants to transition to IPv6. A network engineer creates multiple IPv6-only subnets in an existing testing VPC. The network engineer deploys a new Amazon EC2 instance that has an IPv6 address into one of the subnets. During testing, the network engineer discovers that the new EC2 instance is not able to communicate with an IPv4-only service through the internet. The network engineer needs to enable the IPv6 EC2 instance to communicate with the IPv4-only service. Which solution will meet this requirement?

  • AEnable DNS64 for the IPv6-only subnets. Update the route tables for the IPv6-only subnets to send traffic through the NAT gateway. (correct answer)
  • BEnable NAT64 for the testing VPC. Reconfigure the existing NAT gateway to support IPv6.
  • CEnable DNS64 for the new EC2 instance. Create a new egress-only internet gateway that supports IPv6.
  • DEnable NAT64 for each route table. Create a new NAT gateway that supports both IPv4 and IPv6.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Enable DNS64 for the IPv6-only subnets. Update the route tables for the IPv6-only subnets to send traffic through the NAT gateway.

Explanation

A NAT gateway lets private subnet resources reach the internet for outbound traffic only.

Topic 1 Β· Question 260

A company deployed an application in two AWS Regions in one AWS account. The company has one VPC in each Region. The VPCs use non-overlapping private CIDR ranges. The company needs to connect both VPCs to a single on-premises data center to test the application. The application requires up to 800 Mbps of throughput. A network engineer needs to establish connectivity between the VPCs and the on-premises data center. Which solution will meet this requirement with the LEAST operational overhead?

  • AOrder a 2 Gbps Direct Connect connection for the data center. Configure a virtual private gateway in each VPC. Create a private VIF for each virtual private gateway, and associate the virtual private gateways with the Direct Connect connection. Configure static routes in the VPC route tables and in the data center router.
  • BOrder a 2 Gbps Direct Connect connection for the data center. Configure a virtual private gateway in each VPC. Create a private VIF for each virtual private gateway, and associate the virtual private gateways with the Direct Connect connection. Configure Open Shortest Path First (OSPF) routing between the private VIF and the data center.
  • CConfigure a customer gateway and a virtual private gateway in each VPConfigure an AWS Site-to-Site VPN connection between the data center and each VPConfigure static routes in each VPC route table to point to the subnets in the data center.
  • DConfigure a customer gateway and a virtual private gateway in each VPC. Configure an AWS Site-to-Site VPN connection between the data center and each VPC. Configure BGP routing between the VPCs and the data center. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Configure a customer gateway and a virtual private gateway in each VPC. Configure an AWS Site-to-Site VPN connection between the data center and each VPC. Configure BGP routing between the VPCs and the data center.

Explanation

AWS Site-to-Site VPN provides encrypted connectivity between on premises and a VPC. AWS Config tracks resource configuration changes and evaluates compliance.

Showing questions 241–260 of 292 Β· Page 13 of 15