ExamGecko
Home Home / Amazon / ANS-C00

Amazon ANS-C00 Practice Test - Questions Answers, Page 37

Question list
Search
Search

List of questions

Search

Related questions











A company's application runs in a VPC and stores sensitive data in Amazon S3. The application's Amazon EC2 instances are located in a private subnet with a NAT gateway deployed in a public subnet to provide access to Amazon S3. The S3 bucket is located in the same AWS Region as the EC2 instances. The company wants to ensure that this bucket can be accessed only from the VPC where the application resides. Which changes should a network engineer make to the architecture to meet these requirements?

A.
Delete the existing S3 bucket and create a new S3 bucket inside the VPC in the private subnet. Configure the S3 security group to allow only the application instances to access the bucket.
A.
Delete the existing S3 bucket and create a new S3 bucket inside the VPC in the private subnet. Configure the S3 security group to allow only the application instances to access the bucket.
Answers
B.
Deploy an S3 VPC endpoint in the VPC where the application resides. Configure an S3 bucket policy with a condition to allow access only from the VPC endpoint.
B.
Deploy an S3 VPC endpoint in the VPC where the application resides. Configure an S3 bucket policy with a condition to allow access only from the VPC endpoint.
Answers
C.
Configure an S3 bucket policy, and use an IP address condition to restrict access to the bucket. Allow access only from the VPC CIDR range, and deny all other IP address ranges.
C.
Configure an S3 bucket policy, and use an IP address condition to restrict access to the bucket. Allow access only from the VPC CIDR range, and deny all other IP address ranges.
Answers
D.
Create a new IAM role for the EC2 instances that provides access to the S3 bucket, and assign the role to the application instances. Configure an S3 bucket policy to allow access only from the role.
D.
Create a new IAM role for the EC2 instances that provides access to the S3 bucket, and assign the role to the application instances. Configure an S3 bucket policy to allow access only from the role.
Answers
Suggested answer: B

A company runs a web application on an Amazon EC2 instance. The application experiences performance issues for a short period at the same time every day. To diagnose the issue, the application vendor needs a packet capture of the web application network interface. The company's network administrator does not have SSH access to the instance. Which solution will meet these requirements?

A.
Use Traffic Mirroring. Create a new EC2 instance, and use its network interface as the traffic mirror target. Add a rule to the new instance's security group to allow UDP port 4789 inbound traffic.
A.
Use Traffic Mirroring. Create a new EC2 instance, and use its network interface as the traffic mirror target. Add a rule to the new instance's security group to allow UDP port 4789 inbound traffic.
Answers
B.
Use Traffic Mirroring. Enable enhanced networking support on the elastic network interface. Stream the packet capture to an Amazon Kinesis data stream.
B.
Use Traffic Mirroring. Enable enhanced networking support on the elastic network interface. Stream the packet capture to an Amazon Kinesis data stream.
Answers
C.
Use VPC Flow Logs. Enable enhanced networking support on the elastic network interface. Stream packets to Amazon CloudWatch Logs.
C.
Use VPC Flow Logs. Enable enhanced networking support on the elastic network interface. Stream packets to Amazon CloudWatch Logs.
Answers
D.
Use VPC Flow Logs. Disable source/destination checks on the instance. Stream packets to Amazon CloudWatch Logs.
D.
Use VPC Flow Logs. Disable source/destination checks on the instance. Stream packets to Amazon CloudWatch Logs.
Answers
Suggested answer: A

Explanation:

Explanation:

Reference: https://docs.aws.amazon.com/vpc/latest/mirroring/traffic-mirroring-getting-started.html

Your company has just deployed IPv6 in a VPC. All of the instances currently use a NAT, but once they configured the instances for IPv6 only, they were unable to access the resources on the instances via IPv6. What is the best option to fix this?

A.
Configure the NAT for IPv6.
A.
Configure the NAT for IPv6.
Answers
B.
Configure an egress-only internet gateway.
B.
Configure an egress-only internet gateway.
Answers
C.
Add a route for ::/0 to the NAT.
C.
Add a route for ::/0 to the NAT.
Answers
D.
Add an internet gateway.
D.
Add an internet gateway.
Answers
Suggested answer: B

Explanation:

Explanation:

NAT is not compatible with IPv6 and an IGW would allow full access to the instances, which is not good. An egress-only IGW is the best solution.

The IPsec protocol suite is made up of various components covering aspects such as confidentiality, encryption, and integrity. Select the correct statement below regarding the correct configuration options for ensure IPsec confidentiality:

A.
The following protocols may be used to configure IPsec confidentiality, DES, 3DES, MD5
A.
The following protocols may be used to configure IPsec confidentiality, DES, 3DES, MD5
Answers
B.
The following protocols may be used to configure IPsec confidentiality, DES, 3DES, AES
B.
The following protocols may be used to configure IPsec confidentiality, DES, 3DES, AES
Answers
C.
The following protocols may be used to configure IPsec confidentiality, PSK, RSA
C.
The following protocols may be used to configure IPsec confidentiality, PSK, RSA
Answers
D.
The following protocols may be used to configure IPsec confidentiality, PSK, MD5
D.
The following protocols may be used to configure IPsec confidentiality, PSK, MD5
Answers
E.
The following protocols may be used to configure IPsec confidentiality, PSK, RSA
E.
The following protocols may be used to configure IPsec confidentiality, PSK, RSA
Answers
Suggested answer: B

Explanation:

Explanation:

Answer A is incorrect - as MD5 is a hashing protocol (data integrity) Answer C is incorrect - as PSK is short for Pre-Shared Keys (key exchange) - and again MD5 is a hashing protocol (data integrity) Answer D is incorrect - as both MD5 and SHA are hashing protocols (data integrity) Answer E is incorrect - as both PSK and RSA are used for key exchanges This leaves Answer B is the only correct IPsec configuration covering confidentiality. DES, 3DES, and AES are all encryption protocols.

Reference: https://en.wikipedia.org/wiki/IPsec

In AWS, which tool records API calls for a specific AWS account and also delivers the log files for that account?

A.
CloudTrail
A.
CloudTrail
Answers
B.
Redshift
B.
Redshift
Answers
C.
Beanstalk
C.
Beanstalk
Answers
D.
Cognito
D.
Cognito
Answers
Suggested answer: A

Explanation:

Explanation:

The AWS CloudTrail is a web service that is used to record AWS API call for a specific AWS account. It also delivers log files, which provide the following details: Identity of the API caller

Time of the API call

Source IP address of API caller

Request parameters

Response elements

Reference: https://aws.amazon.com/cloudtrail/

A company uses AWS Direct Connect to connect its corporate network to multiple VPCs in the same AWS account and the same AWS Region. Each VPC uses its own private VIF and its own virtual LAN on the Direct Connect connection. The company has grown and will soon surpass the limit of VPCs and private VIFs for each connection. What is the MOST scalable way to add VPCs with on-premises connectivity?

A.
Provision a new Direct Connect connection to handle the additional VPCs. Use the new connection to connect additional VPCs.
A.
Provision a new Direct Connect connection to handle the additional VPCs. Use the new connection to connect additional VPCs.
Answers
B.
Create virtual private gateways for each VPC that is over the service quota. Use AWS Site-to-Site VPN to connect the virtual private gateways to the corporate network.
B.
Create virtual private gateways for each VPC that is over the service quota. Use AWS Site-to-Site VPN to connect the virtual private gateways to the corporate network.
Answers
C.
Create a Direct Connect gateway, and add virtual private gateway associations to the VPCs. Configure a private VIF to connect to the corporate network.
C.
Create a Direct Connect gateway, and add virtual private gateway associations to the VPCs. Configure a private VIF to connect to the corporate network.
Answers
D.
Create a transit gateway, and attach the VPCs. Create a Direct Connect gateway, and associate it with the transit gateway. Create a transit VIF to the Direct Connect gateway.
D.
Create a transit gateway, and attach the VPCs. Create a Direct Connect gateway, and associate it with the transit gateway. Create a transit VIF to the Direct Connect gateway.
Answers
Suggested answer: B

Explanation:

Explanation:

Reference: https://docs.aws.amazon.com/vpc/latest/userguide/vpn-connections.html

A customer has set up multiple VPCs for Dev, Test, Prod, and Management. You need to set up AWS Direct Connect to enable data flow from on-premises to each VPC. The customer has monitoring software running in the Management VPC that collects metrics from the instances in all the other VPCs. Due to budget requirements, data transfer charges should be kept at minimum. Which design should be recommended?

A.
Create a total of four private VIFs, one for each VPC owned by the customer, and route traffic between VPCs using the Direct Connect link.
A.
Create a total of four private VIFs, one for each VPC owned by the customer, and route traffic between VPCs using the Direct Connect link.
Answers
B.
Create a private VIF to the Management VPC, and peer this VPC to all other VPCs.
B.
Create a private VIF to the Management VPC, and peer this VPC to all other VPCs.
Answers
C.
Create a private VIF to the Management VPC, and peer this VPC to all other VPCs; enable source/destination NAT in the Management VPC.
C.
Create a private VIF to the Management VPC, and peer this VPC to all other VPCs; enable source/destination NAT in the Management VPC.
Answers
D.
Create a total of four private VIFs, and enable VPC peering between all VPCs.
D.
Create a total of four private VIFs, and enable VPC peering between all VPCs.
Answers
Suggested answer: D

A network engineer is managing two AWS Direct Connect connections. Each connection has a public virtual interface configured with a private ASN. The engineer wants to configure active/passive routing between the Direct Connect connections to access Amazon public endpoints. What BGP configuration is required for the on-premises equipment?

(Choose two.)

A.
Use Local Pref to control outbound traffic.
A.
Use Local Pref to control outbound traffic.
Answers
B.
Use AS Prepending to control inbound traffic.
B.
Use AS Prepending to control inbound traffic.
Answers
C.
Use eBGP multi-hop between loopback interfaces.
C.
Use eBGP multi-hop between loopback interfaces.
Answers
D.
Use BGP Communities to control outbound traffic.
D.
Use BGP Communities to control outbound traffic.
Answers
E.
Advertise more specific prefixes over one Direct Connect connection.
E.
Advertise more specific prefixes over one Direct Connect connection.
Answers
Suggested answer: C, E

A network engineer is deploying an application on an Amazon EC2 instance. The instance is reachable within the VPC through its private IP address and from the internet using an elastic IP address.

Clients are connecting to the instance over the Internet and within the VPC, and the application needs to be identified by a single custom Fully Qualified Domain Name that is publicly resolvable -'app.example.com'. Instances within the VPC should always connect to the private IP to minimize data transfer costs. How should the engineer configure DNS to support these requirements?

A.
Use Amazon Route 53 to create a geo-based routing entry for the hostname 'app' in the DNS zone 'example.com'.
A.
Use Amazon Route 53 to create a geo-based routing entry for the hostname 'app' in the DNS zone 'example.com'.
Answers
B.
Create two A record entries for 'app' in the DNS zone 'example.com' - one for the public IP and one for the private IP.
B.
Create two A record entries for 'app' in the DNS zone 'example.com' - one for the public IP and one for the private IP.
Answers
C.
Use Route 53 to create an ALIAS record to the public DNS name for the instance.
C.
Use Route 53 to create an ALIAS record to the public DNS name for the instance.
Answers
D.
Create a CNAME for 'app' in the DNS zone 'example.com' to the public DNS name for the Amazon EC2 instance.
D.
Create a CNAME for 'app' in the DNS zone 'example.com' to the public DNS name for the Amazon EC2 instance.
Answers
Suggested answer: D

Select the VPC Peering statement below that is NOT true

A.
VPC peering supports transitive peering relationships for IPv6 traffic but not IPv4
A.
VPC peering supports transitive peering relationships for IPv6 traffic but not IPv4
Answers
B.
VPC peering can be performed between VPCs in different AWS accounts in the same region
B.
VPC peering can be performed between VPCs in different AWS accounts in the same region
Answers
C.
TCP connections can be performed between peered VPCs
C.
TCP connections can be performed between peered VPCs
Answers
D.
UDP connections can be performed between peered VPCs
D.
UDP connections can be performed between peered VPCs
Answers
Suggested answer: A

Explanation:

Explanation:

VPC peering supports transitive peering relationships for IPv4 and IPv6 traffic

Reference: http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide/vpc-peering-basics.html#vpc-peering-limitations

Total 414 questions
Go to page: of 42