ExamGecko
Home Home / Amazon / ANS-C00

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

Question list
Search
Search

List of questions

Search

Related questions











You can turn on the AWS Config service from the AWS CLI by running the subscribe command and passing as parameters a valid IAM role, SNS topic, and ____.

A.
EBS volume
A.
EBS volume
Answers
B.
EC2 instance
B.
EC2 instance
Answers
C.
S3 bucket
C.
S3 bucket
Answers
D.
Kinesis stream
D.
Kinesis stream
Answers
Suggested answer: C

Explanation:

Explanation:

You can use the AWS CLI to turn on AWS Config. All it takes is the subscribe command and a few additional parameters.

The parameters are -s3-bucket, which specifies the S3 bucket to which AWS Config data will be saved, -sns-topic, which specifies to which SNS topic messages from AWS Config will be sent, and -iam-role, which is an IAM role containing appropriate permissions for AWS Config to access the resources it monitors.

Reference: http://docs.aws.amazon.com/config/latest/developerguide/gs-cli-subscribe.html

You are under a DDoS attack and you have added a deny all TCP rule to your NACL, but traffic is still coming. What did you do wrong?

A.
You configured the rule number to be too low.
A.
You configured the rule number to be too low.
Answers
B.
A NACL can't protect against a DDoS.
B.
A NACL can't protect against a DDoS.
Answers
C.
The DDoS isn't a TCP attack.
C.
The DDoS isn't a TCP attack.
Answers
D.
You need to add a deny rule outbound also since NACLs are stateful.
D.
You need to add a deny rule outbound also since NACLs are stateful.
Answers
Suggested answer: C

Explanation:

Explanation:

The DDoS isn't a TCP attack (this time.) A DDoS can use several different protocols. NACLs are stateless. The lower the rule number, the higher the priority.

Imagine you are using AWS Direct Connect with just one connection from your router to the AWS Direct Connect router. If your connection becomes unavailable, the communication with AWS cloud is lost. What is the best method to prevent this from happening?

A.
AWS Direct Connect neither provides BGP nor provides the failover.
A.
AWS Direct Connect neither provides BGP nor provides the failover.
Answers
B.
AWS Direct Connect recommends to have the same configuration set up in a multi AZ zone to prevent such loss in connections.
B.
AWS Direct Connect recommends to have the same configuration set up in a multi AZ zone to prevent such loss in connections.
Answers
C.
AWS Direct Connect recommends that you request and configure two dedicated connections to AWS either using BGP Multipath (Active/Active) connection or the failover (Active/Passive) connection.
C.
AWS Direct Connect recommends that you request and configure two dedicated connections to AWS either using BGP Multipath (Active/Active) connection or the failover (Active/Passive) connection.
Answers
D.
AWS Direct connect does not have a provision to prevent the situation but when you design the system, it is recommended to request a back-up instance to which the traffic can be re-routed.
D.
AWS Direct connect does not have a provision to prevent the situation but when you design the system, it is recommended to request a back-up instance to which the traffic can be re-routed.
Answers
Suggested answer: C

Explanation:

Explanation:

When configuring redundant connections with the AWS Direct Connect, and to provide for failover, we recommend that you request and configure two dedicated connections to the AWS. There are different configuration choices available when you provision two dedicated connections. You can either use Active/Active (BGP multipath) connection or Active/Passive (failover) connection to configure the two dedicated connections. Reference: http://docs.aws.amazon.com/directconnect/latest/UserGuide/getstarted.html#RedundantConnections

A company wants to enforce a compliance requirement that its Amazon EC2 instances use only on-premises DNS servers for name resolution. Outbound DNS requests to all other name servers must be denied. A network engineer configures the following set of outbound rules for a security group:

The network engineer discovers that the EC2 instances are still able to resolve DNS requests by using Amazon DNS servers inside the VPC. Why is the solution failing to meet the compliance requirement?

A.
The security group cannot filer outbound traffic to the Amazon DNS servers.
A.
The security group cannot filer outbound traffic to the Amazon DNS servers.
Answers
B.
The security group must have inbound rules to prevent DNS requests from coming back to EC2 instances.
B.
The security group must have inbound rules to prevent DNS requests from coming back to EC2 instances.
Answers
C.
The EC2 instances are using the HTTPS port to send DNS queries to Amazon DNS servers.
C.
The EC2 instances are using the HTTPS port to send DNS queries to Amazon DNS servers.
Answers
D.
The security group cannot filter outbound traffic to destinations within the same VPC.
D.
The security group cannot filter outbound traffic to destinations within the same VPC.
Answers
Suggested answer: C

Explanation:

Explanation:

If you've set up your EC2 instance as a DNS server, you must ensure that TCP and UDP traffic can reach your DNS server over port 53. Reference: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-rules-reference.html

You have just peered two VPCs, and you need to improve performance for instances you plan on deploying. What are two steps you would take to do this? (Choose two.)

A.
Create two subnets in the same AZ and create a placement group.
A.
Create two subnets in the same AZ and create a placement group.
Answers
B.
Set the MTU of your instances to 1500.
B.
Set the MTU of your instances to 1500.
Answers
C.
Create two subnets in different AZs and create a placement group.
C.
Create two subnets in different AZs and create a placement group.
Answers
D.
Ensure you choose instances that use enhanced networking.
D.
Ensure you choose instances that use enhanced networking.
Answers
Suggested answer: A, D

Explanation:

Explanation:

A placement group can only be deployed in the same AZ and is only useful with enhanced networking instances.

You can use the ____ command of the AWS Config service CLI to see the compliance state of each resource that AWS Config evaluates for a specific rule.

A.
describe-compliance-by-resource
A.
describe-compliance-by-resource
Answers
B.
describe-compliance-by-config-rule
B.
describe-compliance-by-config-rule
Answers
C.
get-compliance-details-by-config-rule
C.
get-compliance-details-by-config-rule
Answers
D.
get-compliance-details-by-resource
D.
get-compliance-details-by-resource
Answers
Suggested answer: C

Explanation:

Explanation:

You can use the get-compliance-details-by-config-rule command of the AWS Config CLI to see the compliance state of each resource that AWS Config evaluates for a specific rule. Reference: http://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_view-compliance.html

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.
A.
Direct Connect BGP routes, static routes, longest prefix match, VPN BGP routes.
Answers
B.
Static routes, longest prefix match, Direct Connect BGP routes, VPN BGP routes.
B.
Static routes, longest prefix match, Direct Connect BGP routes, VPN BGP routes.
Answers
C.
Longest prefix match, static routes, Direct-Connect BGP routes, VPN BGP routes.
C.
Longest prefix match, static routes, Direct-Connect BGP routes, VPN BGP routes.
Answers
D.
Longest prefix match, VPN BGP routes, static routes, Direct Connect BGP routes.
D.
Longest prefix match, VPN BGP routes, static routes, Direct Connect BGP routes.
Answers
Suggested answer: C

Your company has a 1-Gbps AWS Direct Connect connection to AWS. Your company needs to send traffic from onpremises to a VPC owned by a partner company. The connectivity must have minimal latency at the lowest price. Which of the following connectivity options should you choose?

A.
Create a new Direct Connect connection, and set up a new circuit to connect to the partner VPC using a private virtual interface.
A.
Create a new Direct Connect connection, and set up a new circuit to connect to the partner VPC using a private virtual interface.
Answers
B.
Create a new Direct Connect connection, and leverage the existing circuit to connect to the partner VPC.
B.
Create a new Direct Connect connection, and leverage the existing circuit to connect to the partner VPC.
Answers
C.
Create a new private virtual interface, and leverage the existing connection to connect to the partner VPC.
C.
Create a new private virtual interface, and leverage the existing connection to connect to the partner VPC.
Answers
D.
Enable VPC peering and use your VPC as a transitive point to reach the partner VPC.
D.
Enable VPC peering and use your VPC as a transitive point to reach the partner VPC.
Answers
Suggested answer: D

In the context of Amazon CloudFront Actions, you use the _____ when specifying APIs in IAM policies.

A.
object names
A.
object names
Answers
B.
class names
B.
class names
Answers
C.
entity names
C.
entity names
Answers
D.
action names
D.
action names
Answers
Suggested answer: D

Explanation:

Explanation:

In an AWS IAM policy, you can specify any and all API actions that Amazon CloudFront offers. The action name must be prefixed with the lowercase string cloudfront. For example: cloudfront:GetDistributionConfig cloudfront:ListInvalidations cloudfront:* (for all CloudFront actions).

In the reference link, there are tables that list the canonical names for all CloudFront actions. Use these canonical names when specifying APIs in IAM policies. Reference: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/UsingWithIAM.html

What port and protocol is used by DNS?

A.
80/TCP
A.
80/TCP
Answers
B.
22/TCP
B.
22/TCP
Answers
C.
80/TCP and UDP
C.
80/TCP and UDP
Answers
D.
53/TCP and UDP
D.
53/TCP and UDP
Answers
Suggested answer: D

Explanation:

Explanation:

DNS uses port 53 and either TCP or UDP depending on what type of DNS message is being sent.

Total 414 questions
Go to page: of 42