exam questions

Exam ANS-C00 All Questions

View all questions & answers for the ANS-C00 exam

Exam ANS-C00 topic 1 question 110 discussion

Exam question from Amazon's ANS-C00
Question #: 110
Topic #: 1
[All ANS-C00 Questions]

A company is using AWS to host all of its applications. Each application is isolated in its own Amazon VPC. Different environments such as Development, Test, and Production are also isolated in their own VPCs. The network engineer needs to automate VPC creation to enforce the company's network and security standards. Additionally, the CIDR range used in each VPC needs to be unique.
Which solution meets all of these requirements?

  • A. Use AWS CloudFormation to deploy the VPC infrastructure and a custom resource to request a CIDR range from an external IP address management (IPAM) service.
  • B. Use AWS OpsWorks to deploy the VPC infrastructure and a custom resource to request a CIDR range from an external IP address management (IPAM) service.
  • C. Use the VPC wizard in the AWS Management Console. Type in the CIDR blocks for the VPC and subnets.
  • D. Create the VPCs using AWS CLI and use the dry-run flag to validate if the current CIDR range is in use.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
SilverT
Highly Voted 3 years, 7 months ago
It is A
upvoted 14 times
...
CCNPWILL
Most Recent 2 years, 8 months ago
Selected Answer: A
Clearly, A to automate VPC deployments. CloudFormation
upvoted 1 times
...
novak18
3 years, 7 months ago
A company wants to conduct a proof of concept for an SAP HANA application with a hey objective to automate the provisioning of infrastructure and the application. The company operates a hybrid cloud infrastructure with AWS Direct Connect between its data center and VPC. Security policy dictates that all traffic from AWS be routed through on-premises data center firewalls. Security policy also prohibits the use of a VPC internet gateway for internet access. The company enforces use of a forward proxy server for all outbound network traffic. All resources inside the VPC are able to reach on-premises servers. All Amazon EC2 Linux instances require package updates over the internet. However, the updates are failing and sending errors. What would cause these errors?
upvoted 1 times
novak18
3 years, 7 months ago
A. Inbound security groups are configured incorrectly on the EC2 instances running in the VPC. B. The VPC route table does not have entries for the proxy server in the data center. C. The EC2 instances are not configured to use the proxy running in the data center for traffic on TCP port 80. D. The data center firewall is blocking all traffic sent from the VPC CIDR range destined for 0.0.0.0/0.
upvoted 2 times
novak18
3 years, 7 months ago
Answer C https://aws.amazon.com/premiumsupport/knowledge-center/ec2-internet-connectivity/
upvoted 3 times
orwell
3 years, 6 months ago
since traffic can flow towards on premises servers and since there's no clue that updates require port 80 (open outbound on SG by default), D appears to be the most reasonable one to me here
upvoted 1 times
ptpho
3 years, 6 months ago
A - of course is wrong B - is wrong because "All resources inside the VPC are able to reach on-premises servers" D - It's said that on-prems firewall has outbound default rule, but from VPC CIDR to 0.0.0. only, the real packet will be VPC CIDR -> proxy IP <-> Internet, So it wont be denied C - In fact I didn't see proxy listen on 80, but it's only Option good in logic. So I go with C
upvoted 2 times
...
...
...
...
...
novak18
3 years, 7 months ago
A company is migrating a legacy storefront web application to the AWS Cloud. The application is complex and will take several months to refactor. A solutions architect recommended an interim solution of using Amazon CloudFront with a custom origin pointing to the SSL endpoint URL for the legacy web application until the replacement is ready and deployed.The interim solution has worked for several weeks. However, all browser connections recently began showing an HTTP 502 Bad Gateway error with the header "X-Cache: Error from cloudfront." Monitoring services show that the HTTPS port 443 on the legacy web application is open and responding to requests. What is the likely cause of the error, and what is the solution?
upvoted 2 times
novak18
3 years, 7 months ago
A. The origin access identity is not correct. Edit the CloudFront distribution and update the identity in the origins settings. B. The SSL certificate on the CloudFront distribution has expired. Use AWS Certificate Manager (ACM) in the us-east-1 Region to replace the SSL certificate in the CloudFront distribution with a new certificate. C. The SSL certificate on the legacy web application server has expired. Use AWS Certificate Manager (ACM) in the us-east-1 Region to create a new SSL certificate. Export the public and private keys, and install the certificate on the legacy web application. D. The SSL certificate on the legacy web application server has expired. Replace the SSL certificate on the web server with one signed by a globally recognized certificate authority (CA). Install the full certificate chain onto the legacy web application server.
upvoted 2 times
novak18
3 years, 7 months ago
Answer D https://docs.amazonaws.cn/en_us/AmazonCloudFront/latest/DeveloperGuide/using-https-cloudfront-to-custom-origin.html
upvoted 1 times
...
ChauPhan
3 years, 6 months ago
You can't use a self-signed certificate for HTTPS communication between CloudFront and your origin or ACM if your custom origin is not ELB. Only D is accepted
upvoted 2 times
...
...
...
novak18
3 years, 7 months ago
A company is running services in a VPC with a CIDR block of 10.5.0.0/22. End users report that they no longer can provision new resources because some of the subnets in the VPC have run out of IP addresses. How should a network engineer resolve this issue? A.Add 10.5.2.0/23 as a second CIDR block to the VPC. Create a new subnetwith a new CIDR block, and provision new resources in the new subnet. B.Add 10.5.4.0/21 as a second CIDR block to the VPC. Assign a second network from this CIDR block to the existing subnets that have run out of IP addresses. C.Add 10.5.4.0/22 as a second CIDR block to the VPC. Assign a second network from this CIDR block to the existing subnets that have run out of IP addresses. D.Add 10.5.4.0/22 as a second CIDR block to the VPC. Create a new subnet with a new CIDR block, and provision new resources in the new subnet.
upvoted 1 times
novak18
3 years, 6 months ago
Answer D https://docs.aws.amazon.com/vpc/latest/userguide/working-with-vpcs.html#AddaSubnet
upvoted 2 times
...
...
novak18
3 years, 7 months ago
A VPC is deployed with a 10.0.0.0/16 CIDR block. The engineering team is reviewing DHCP options, and there is disagreement about the valid DNS addresses available for the VPC. Which addresses are valid IP addresses provided by Amazon for this subnet? (Choose two.) A.8.8.8.8 B.10.0.0.2 C.10.1.0.2 D.169.254.169.253 E.169.254.169.254
upvoted 1 times
novak18
3 years, 7 months ago
Answer B and D https://blog.opstree.com/2021/02/23/how-dhcp-and-dns-are-managed-in-amazon-vpc/
upvoted 2 times
LWang123
3 years, 3 months ago
https://docs.aws.amazon.com/vpc/latest/userguide/vpc-dns.html Each EC2 instance can send 1024 packets per second per network interface to Route 53 Resolver (specifically the .2 address, such as 10.0.0.2, and 169.254.169.253).
upvoted 1 times
...
...
...
novak18
3 years, 7 months ago
A company is delivering web content from an Amazon EC2 instance in a public subnet with address 2001:db8:1:100::1. Users report they are unable to access the web content. The VPC Flow Logs for the subnet contain the following entries: 2 012345678912 eni-0596e500123456789 2001:db8:2:200::2 2001:db8:1:100::1 0 0 58 234 24336 1551299195 1551299434 ACCEPT OK 2 012345678912 eni-0596e500123456789 2001:db8:1:100::1 2001:db8:2:200::2 0 0 58 234 24336 1551299195 1551299434 REJECT OK Which action will restore network reachability to the EC2 instance? A. Update the security group associated with eni-0596e500123456789 to permit inbound traffic. B. Update the security group associated with eni-0596e500123456789 to permit outbound traffic. C. Update the network ACL associated with the subnet to permit inbound traffic. D. Update the network ACL associated with the subnet to permit outbound traffic.
upvoted 1 times
novak18
3 years, 7 months ago
Answer D
upvoted 3 times
...
...
novak18
3 years, 7 months ago
A gaming company is running an online multiplayer game in multiple AWS Regions. The company needs traffic from its end users to be routed to the Region that is closest to the end users geographically. When maintenance occurs in a Region, traffic must be routed to the next closest Region with no changes to the IP addresses being used as connections by the end users. Which solution will meet these requirements? A. Create an Amazon CloudFront distribution in front of all the Regions. B. Use an Amazon Route 53 geoproximity routing policy to navigate traffic to the closest Region. C. Use an Amazon Route 53 geolocation routing policy to navigate traffic to the closest Region. D. Configure AWS Global Accelerator in front of all the Regions.
upvoted 2 times
novak18
3 years, 7 months ago
Answer D
upvoted 1 times
ptpho
3 years, 6 months ago
Agreed.
upvoted 1 times
...
...
Smartphone
3 years, 6 months ago
D is the Answer. If Global Accelerator detects that your application endpoint is failing in the primary AWS Region, it instantly triggers traffic re-routing to your application endpoint in the next available, closest AWS Region. See the provided link below (Page 13) https://docs.aws.amazon.com/global-accelerator/latest/dg/global-accelerator-guide.pdf
upvoted 3 times
sapien45
3 years, 2 months ago
Very smart
upvoted 1 times
...
...
...
novak18
3 years, 7 months ago
A company installed an AWS Site-to-Site VPN and configured it to use two tunnels The company has learned that the VPN connectivity is unstable. During a ping test from the on-premises data center to AWS: a network engineer notices that the first few ICMP replies time out but that subsequent requests are successful. The AWS Management Console shows that the status for both tunnels last changed at the same time the ping responses were successfully received. Which steps should the network engineer take to resolve the instability*? (Select TWO ) A. Enable dead peer detection (DPD) on the customer gateway device. B. Change the tunnel configuration to active/standby on the virtual private gateway. C. Use AS PATH prepending on one path to cause all traffic to prefer that tunnel. D. Send ICMP requests to an instance in the VPC every 5 seconds from the on-premises network. E. Use a higher multi-exit discriminator (MED) value on the preferred path to prefer that tunnel.
upvoted 2 times
nil12
3 years, 6 months ago
A and D - https://aws.amazon.com/premiumsupport/knowledge-center/vpn-tunnel-instability-inactivity/
upvoted 2 times
...
novak18
3 years, 7 months ago
Answer B & D https://stackoverflow.com/questions/67328590/aws-keep-site-to-site-vpn-connection-alive https://aws.amazon.com/premiumsupport/knowledge-center/vpn-configure-tunnel-preference/
upvoted 1 times
shammous
3 years, 4 months ago
Does the question mention that a tunnel should be preferred over the other? It definitely doesn't, so why choosing option B? C and E are also settings to prefer a tunnel over another and should be ruled out. Only A and D are correct.
upvoted 1 times
...
...
kirrim
3 years, 6 months ago
https://aws.amazon.com/premiumsupport/knowledge-center/vpn-tunnel-instability-inactivity/ Per that document, you need to either: - enable DPD (or confirm it's working properly if you already have it enabled) - make sure you have traffic flowing on a regular basis to keep the tunnel from being idle ("If necessary, create a host that sends ICMP requests to an instance in your VPC every 5 seconds.")
upvoted 1 times
...
...
novak18
3 years, 7 months ago
A company's network engineer needs to evaluate and monitor DNS traffic. The company uses Amazon Route 53 as the DNS service for its public hosted zone. All DNS queries must be captured for future analysis. What should the network engineer do to meet these requirements? A. Use AWS WAF to log information to Amazon CloudWatch Logs about the queries that Route 53 receives. B. Use VPC Flow Logs to log information to Amazon CloudWatch Logs Insights about the queries that Route 53 receives. C. Use Route 53 query logging to log information to Amazon CloudWatch Logs about the queries that Route 53 receives. D. Use AWS CloudTrail to log information to Amazon CloudWatch Logs Insights about the queries that Route 53 receives.
upvoted 2 times
novak18
3 years, 7 months ago
Answer C https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/query-logs.html
upvoted 2 times
...
...
novak18
3 years, 7 months ago
A company uses an AWS Site-to-Site VPN to connect its corporate network The company recently added an AWS Direct Connect connection A network engineer wants all traffic to use the Direct Connect connection and for the VPN to be used as backup However after the Direct Connect connection was added traffic continued to pass through the VPN connection. What should the network engineer do to route the traffic through the Direct Connect connection'? A. Add routes to the VPC route tables that specify the Direct Connect connection. B. Set local preference BGP community tags on the on-premises router. C. Advertise the same network routes over the Direct Connect connection and VPN connection. D. Ensure the Direct Connect connection AS_PATH is longer than the VPN connection AS_PATH.
upvoted 1 times
novak18
3 years, 7 months ago
Answer C https://aws.amazon.com/premiumsupport/knowledge-center/configure-vpn-backup-dx/ https://aws.amazon.com/directconnect/faqs/
upvoted 2 times
...
Balki
2 years, 4 months ago
https://docs.aws.amazon.com/whitepapers/latest/hybrid-connectivity/vpn-connection-as-a-backup-to-aws-dx-connection-example.html Answer C
upvoted 1 times
...
...
novak18
3 years, 7 months ago
A company wants to use thin clients running virtual desktops to replace 500 desktop computers used by its call center employees The company is evaluating Amazon Workspaces as a solution. A network engineer who is testing with a thin client is unable to connect to Amazon Workspaces. After entering credentials the network engineer receives the following error: "An error occurred while launching your Workspace Please try again". What should the network engineer do to resolve this issue? A. Update the inbound rules on the network ACL on the subnets used for Amazon Workspaces to allow UDP on port 4172 and TCP on port 4172. B. Update the company's corporate firewall to allow outbound access to UDP on port 4172 and TCP on port 4172 Open inbound ephemeral ports explicitly to allow return communication. C. Update the inbound rules on the security group assigned to Amazon Workspaces to allow UDP on port 4172 and TCP on port 4172. D. Update the company's corporate firewall to allow inbound access to UDP on port 4172 and TCP on port 4172 Open outbound ephemeral ports explicitly to allow return communication.
upvoted 1 times
novak18
3 years, 7 months ago
Answer B? https://aws.amazon.com/premiumsupport/knowledge-center/workspaces-no-access-using-client/ https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-port-requirements.html#primary_ports
upvoted 3 times
Smartphone
3 years, 6 months ago
Answer C looks more close. You might also receive this error on the Amazon WorkSpaces client after a long delay if the WorkSpaces security group is modified to restrict outbound traffic. An outbound traffic restriction prevents Windows from communicating with your directory controllers for login. Verify that your security groups allow your WorkSpaces to communicate with your directory controllers on all required ports over its primary network interface. https://aws.amazon.com/premiumsupport/knowledge-center/workspaces-no-access-using-client/
upvoted 2 times
...
...
...
novak18
3 years, 7 months ago
A company has deployed a production environment in the AWS Cloud The environment is contained in a VPC and includes a virtual private gateway The company has established an AWS Direct Connect connection which includes a private virtual interface (VIF) and a VPN connection to the on-premises data center. For traffic originating in the VPC what is the order of BGP path selection from MOST preferred to LEAST preferred? A. Direct Connect, BGP routes, Static routes, Longest prefix match, VPN BGP routes B. Static routes, Longest prefix match, Direct Connect, BGP routes, VPN BGP routes C. Longest prefix match, Static routes, Direct Connect, BGP routes, VPN BGP routes D. Longest prefix match, VPN BGP routes, Static routes, Direct Connect, BGP routes
upvoted 1 times
novak18
3 years, 7 months ago
Answer A https://docs.aws.amazon.com/vpn/latest/s2svpn/VPNRoutingTypes.html
upvoted 2 times
clooudy
3 years ago
Answer C
upvoted 1 times
...
...
shammous
3 years, 4 months ago
C. Longest prefix match, static routes, Direct-Connect BGP routes, VPN BGP routes is the right answer. There is no comma between "Direct Connect" and "BGP routes".
upvoted 2 times
...
kirrim
3 years, 6 months ago
None of the answers are correct. https://docs.aws.amazon.com/vpn/latest/s2svpn/VPNRoutingTypes.html#routing-vpn-tunnel-updates " When a virtual private gateway receives routing information, it uses path selection to determine how to route traffic. Longest prefix match applies. If the prefixes are the same, then the virtual private gateway prioritizes routes as follows, from most preferred to least preferred: 1. BGP propagated routes from an AWS Direct Connect connection 2. Manually added static routes for a Site-to-Site VPN connection 3. BGP propagated routes from a Site-to-Site VPN connection 4. For matching prefixes where each Site-to-Site VPN connection uses BGP, the AS PATH is compared and the prefix with the shortest AS PATH is preferred. 5. When the AS PATHs are the same length and if the first AS in the AS_SEQUENCE is the same across multiple paths, multi-exit discriminators (MEDs) are compared. The path with the lowest MED value is preferred. "
upvoted 4 times
...
...
ChauPhan
3 years, 7 months ago
Only A is automation even I don't know how IPAM work :)
upvoted 1 times
...
Kentik
3 years, 7 months ago
i would go for A
upvoted 1 times
...
kvirk
3 years, 7 months ago
A is correct
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago