ExamGecko
Home Home / Amazon / ANS-C00

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

Question list
Search
Search

List of questions

Search

Related questions











You need to find the public IP address of an instance that you're logged in to. What command would you use?

A.
curl ftp://169.254.169.254/latest/meta-data/public-ipv4
A.
curl ftp://169.254.169.254/latest/meta-data/public-ipv4
Answers
B.
scp localhost/latest/meta-data/public-ipv4
B.
scp localhost/latest/meta-data/public-ipv4
Answers
C.
curl http://127.0.0.1/latest/meta-data/public-ipv4
C.
curl http://127.0.0.1/latest/meta-data/public-ipv4
Answers
D.
curl http://169.254.169.254/latest/meta-data/public-ipv4
D.
curl http://169.254.169.254/latest/meta-data/public-ipv4
Answers
Suggested answer: D

Explanation:

Explanation: curl http://169.254.169.254/latest/meta-data/public-ipv4

A company is deploying a critical application on two Amazon EC2 instances in a VPC. Failed client connections to the EC2 instances must be logged according to company policy. What is the MOST cost-effective solution to meet these requirements?

A.
Move the EC2 instances to a dedicated VP
A.
Move the EC2 instances to a dedicated VP
Answers
B.
Enable VPC Flow Logs with a filter on the deny action. Publish the flow logs to Amazon CloudWatch Logs.
B.
Enable VPC Flow Logs with a filter on the deny action. Publish the flow logs to Amazon CloudWatch Logs.
Answers
C.
Move the EC2 instances to a dedicated VPC subnet. Enable VPC Flow Logs for the subnet with a filter on the reject action. Publish the flow logs to an Amazon Kinesis Data Firehose stream with a data delivery to an Amazon S3 bucket.
C.
Move the EC2 instances to a dedicated VPC subnet. Enable VPC Flow Logs for the subnet with a filter on the reject action. Publish the flow logs to an Amazon Kinesis Data Firehose stream with a data delivery to an Amazon S3 bucket.
Answers
D.
Enable VPC Flow Logs, filtered for rejected traffic, for the elastic network interfaces associated with the instances. Publish the flow logs to an Amazon Kinesis Data Firehose stream with a data delivery to an Amazon S3 bucket.
D.
Enable VPC Flow Logs, filtered for rejected traffic, for the elastic network interfaces associated with the instances. Publish the flow logs to an Amazon Kinesis Data Firehose stream with a data delivery to an Amazon S3 bucket.
Answers
E.
Enable VPC Flow Logs, filtered for rejected traffic, for the elastic network interfaces associated with the instances. Publish the flow logs to Amazon CloudWatch Logs.
E.
Enable VPC Flow Logs, filtered for rejected traffic, for the elastic network interfaces associated with the instances. Publish the flow logs to Amazon CloudWatch Logs.
Answers
Suggested answer: A

AWS CloudTrail can be configured to ____ log files across multiple accounts and regions so that log files are delivered to a single bucket.

A.
aggregate
A.
aggregate
Answers
B.
disperse
B.
disperse
Answers
C.
replicate
C.
replicate
Answers
D.
encrypt
D.
encrypt
Answers
Suggested answer: A

Explanation:

Explanation:

You can configure CloudTrail to aggregate log files from multiple regions and deliver them to a single S3 bucket for a single account. Reference: https://aws.amazon.com/cloudtrail/

You need to find the subnet, the security group and the VPC that your instance is associated with. You only have access to the terminal of an instance with an admin role attached. What is the first part of the command you would use?

A.
aws ec2 describe-network-acl
A.
aws ec2 describe-network-acl
Answers
B.
aws ec2 describe-instances
B.
aws ec2 describe-instances
Answers
C.
aws vpc describe-all
C.
aws vpc describe-all
Answers
D.
aws ec2 describe-security-groups
D.
aws ec2 describe-security-groups
Answers
Suggested answer: B

Explanation:

Explanation: aws ec2 describe-instances will tell a significant amount of information about the instances in your account. Apply a filter to be able to see information about your instance. Describe-security-groups and describe-network-acl would not allow you to see which group is associated with your instance and aws vpc describe-all doesn't exist.

Your company runs an application for the US market in the us-east-1 AWS region. This application uses proprietary TCP and UDP protocols on Amazon Elastic Compute Cloud (EC2) instances. End users run a real-time, front-end application on their local PCs. This front-end application knows the DNS hostname of the service.

You must prepare the system for global expansion. The end users must access the application with lowest latency. How should you use AWS services to meet these requirements?

A.
Register the IP addresses of the service hosts as "A" records with latency-based routing policy in Amazon Route 53, and set a Route 53 health check for these hosts.
A.
Register the IP addresses of the service hosts as "A" records with latency-based routing policy in Amazon Route 53, and set a Route 53 health check for these hosts.
Answers
B.
Set the Elastic Load Balancing (ELB) load balancer in front of the hosts of the service, and register the ELB name of the main service host as an ALIAS record with a latency-based routing policy in Route 53.
B.
Set the Elastic Load Balancing (ELB) load balancer in front of the hosts of the service, and register the ELB name of the main service host as an ALIAS record with a latency-based routing policy in Route 53.
Answers
C.
Set Amazon CloudFront in front of the host of the service, and register the CloudFront name of the main service as an ALIAS record in Route 53.
C.
Set Amazon CloudFront in front of the host of the service, and register the CloudFront name of the main service as an ALIAS record in Route 53.
Answers
D.
Set the Amazon API gateway in front of the service, and register the API gateway name of the main service as an ALIAS record in Route 53.
D.
Set the Amazon API gateway in front of the service, and register the API gateway name of the main service as an ALIAS record in Route 53.
Answers
Suggested answer: B

Which of these is not a requirement to set up a DX connection?

A.
Support for 802.1q VLANs
A.
Support for 802.1q VLANs
Answers
B.
BGP MD5 Authentication
B.
BGP MD5 Authentication
Answers
C.
Autonegotiation enabled
C.
Autonegotiation enabled
Answers
D.
Single mode fiber capability
D.
Single mode fiber capability
Answers
Suggested answer: C

Explanation:

Explanation:

Autonegotiation must be disabled.

A legacy, on-premises web application cannot be load balanced effectively. There are both planned and unplanned events that cause usage spikes to millions of concurrent users. The existing infrastructure cannot handle the usage spikes. The CIO has mandated that the application be moved to the cloud to avoid further disruptions, with the additional requirement that source IP addresses be unaltered to support network traffic-monitoring needs. Which of the following designs will meet these requirements?

A.
Use an Auto Scaling group of Amazon EC2 instances behind a Classic Load Balancer.
A.
Use an Auto Scaling group of Amazon EC2 instances behind a Classic Load Balancer.
Answers
B.
Use an Auto Scaling group of EC2 instances in a target group behind an Application Load Balancer.
B.
Use an Auto Scaling group of EC2 instances in a target group behind an Application Load Balancer.
Answers
C.
Use an Auto Scaling group of EC2 instances in a target group behind a Classic Load Balancer.
C.
Use an Auto Scaling group of EC2 instances in a target group behind a Classic Load Balancer.
Answers
D.
Use an Auto Scaling group of EC2 instances in a target group behind a Network Load Balancer.
D.
Use an Auto Scaling group of EC2 instances in a target group behind a Network Load Balancer.
Answers
Suggested answer: D

You have a DX connection and a VPN connection as backup for your 10.0.0.0/16 network. You just received a letter indicating that the colocation provider hosting the DX connection will be undergoing maintenance soon. It is critical that you do not experience any downtime or latency during this period. What is the best course of action?

A.
Configure the VPN as a static VPN instead of dynamic.
A.
Configure the VPN as a static VPN instead of dynamic.
Answers
B.
Configure AS_PATH Prepending on the DX connection to make it the less preferred path.
B.
Configure AS_PATH Prepending on the DX connection to make it the less preferred path.
Answers
C.
Advertise 10.0.0.0/9 and 10.128.0.0/9 over your VPN connection.
C.
Advertise 10.0.0.0/9 and 10.128.0.0/9 over your VPN connection.
Answers
D.
None of the above.
D.
None of the above.
Answers
Suggested answer: D

Explanation:

Explanation:

A more specific route is the only way to force AWS to prefer a VPN connection over a DX connection. A /9 is not more specific than a /16.

You are your company's AWS cloud architect. You have created a VPC topology that consists of 3 VPCs. You have a centralised VPC (VPC-Shared) that provides shared services to the remaining 2 departmental dedicated VPCs (VPCDept1 and VPC-Dept2). The centralised VPC is VPC peered to both of the departmental VPCs, that is a VPC peering connection exists between VPC-Shared and VPCDept1, and a VPC peering connection exists between VPC-Shared and VPC-Dept2.

Select the correct option from the list below.

A.
Network traffic is possible between VPC-Shared instances and VPC-Dept1 and VPC-Dept2 instances as long as the appropriate routes and security groups are in place, but only for communication that is initiated from VPC1-Sharedinstances as the default peering bi-directional communication flag has been disabled.
A.
Network traffic is possible between VPC-Shared instances and VPC-Dept1 and VPC-Dept2 instances as long as the appropriate routes and security groups are in place, but only for communication that is initiated from VPC1-Sharedinstances as the default peering bi-directional communication flag has been disabled.
Answers
B.
Instances within VPC-Dept1 can communicate directly with instances in VPC-Shared, as long as the appropriate routes and security groups are in place, and vice versa regardless of who initiates communication
B.
Instances within VPC-Dept1 can communicate directly with instances in VPC-Shared, as long as the appropriate routes and security groups are in place, and vice versa regardless of who initiates communication
Answers
C.
All network communication remains blocked between all VPCs until the respective peering bi-directional communication flags are set to the appropriate setting that allows traffic to flow.
C.
All network communication remains blocked between all VPCs until the respective peering bi-directional communication flags are set to the appropriate setting that allows traffic to flow.
Answers
D.
Network traffic is possible between VPC-Shared instances and VPC-Dept1 and VPC-Dept2 instances as long as the appropriate routes and security groups are in place, but only for communication that is initiated from VPC1-Sharedinstances as the default peering bi-directional communication flag has been enabled.
D.
Network traffic is possible between VPC-Shared instances and VPC-Dept1 and VPC-Dept2 instances as long as the appropriate routes and security groups are in place, but only for communication that is initiated from VPC1-Sharedinstances as the default peering bi-directional communication flag has been enabled.
Answers
Suggested answer: B

Explanation:

Explanation:

Answers A, C and D are incorrect answers as they reference a non-existing setting - there is no such thing as a "default peering bi-directional communication flag".

Reference: http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide/peering-configurations-partial-access.html#oneto-two-vpcs-instances

You have a hybrid environment in which your VPC queries your on-premises DNS server for up resources in your environment. The EC2 instances in your VPC are unable to resolve on-premises resources. What are two possible reasons for this problem? (Choose two.)

A.
Your NACL is blocking UDP port 53 outbound
A.
Your NACL is blocking UDP port 53 outbound
Answers
B.
Your security group is blocking port 53 inbound
B.
Your security group is blocking port 53 inbound
Answers
C.
Your NACL is blocking TCP port 53 outbound.
C.
Your NACL is blocking TCP port 53 outbound.
Answers
D.
Your on-premises firewall is blocking port 443
D.
Your on-premises firewall is blocking port 443
Answers
Suggested answer: A, C

Explanation:

Explanation:

DNS requires TCP and UDP port 53.

Total 414 questions
Go to page: of 42