You can use the ____ command of the AWS Config service CLI to see the compliance state for each AWS resource of a specific type.
-
A
describe-compliance-by-resource
-
B
get-compliance-details-by-config-rule
-
C
describe-compliance-by-config-rule
-
D
get-compliance-details-by-resource
Reveal answer details
Close answer details
Correct answerA
ExplanationExplanation: You can use the AWS Config console, AWS CLI, or AWS Config API to view the compliance state of your rules and resources. The describe-compliance-by-resource command of the AWS Config CLI to see the compliance state for each AWS resource of a specific type. This is distinct from the describe-compliance-by-config-rule command, which gives the compliance state of each rule in AWS Config . References: http://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_view-compliance.html
You need to find the MTU used by another instance, but tracepath is not working. You know the instance you are trying to tracepath has open security group and NACL rules. Which protocol do you need to allow to access your instance to remedy this?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerD
ExplanationExplanation: You need to allow Protocol 1, ICMP, to access your instance. tracepath specifically needs the "destination unreachable" feature of ICMP.
Your security team implements a host-based firewall on all of your Amazon Elastic Compute Cloud (EC2) instances to block all outgoing traffic. Exceptions must be requested for each specific requirement. Until you request a new rule, you cannot access the instance metadata service. Which firewall rule should you request to be added to your instances to allow instance metadata access?
-
A
Inbound; Protocol tcp; Source [Instance's EIP]; Destination 169.254.169.254
-
B
Inbound; Protocol tcp; Destination 169.254.169.254; Destination port 80
-
C
Outbound; Protocol tcp; Destination 169.254.169.254; Destination port 80
-
D
Outbound; Protocol tcp; Destination 169 .254.169.254; Destination port 443
Reveal answer details
Close answer details
When an AWS Config rule is triggered a JSON object known as an AWS Config Event is created. This object contains a(n) ____ attribute, which is a JSON-formatted set of key/value pairs the receiving AWS Lambda function processes as part of its evaluation logic.
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerA
ExplanationExplanation: The JSON object for an AWS Config event contains a ruleParameters attribute, which is a set of key/value pairs that the AWS Lambda function receiving the event processes as part of its evaluation logic. You define parameters when you use the AWS Config console to create a custom rule. You can also define parameters with the InputParameters attribute in the PutConfigRule AWS Config API request or the put-config-rule AWS CLI command. The JSON code for the parameters is contained within a string, so a function must parse the string with a JSON parser to be able to evaluate its contents References: http://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_develop-rules_exa mple-events.html
A company recently migrated its Amazon EC2 instances to VPC private subnets to satisfy a security compliance requirement. The EC2 instances now use a NAT gateway for internet access. After the migration, some long-running database queries from private EC2 instances to a publicly accessible third-party database no longer receive responses. The database query logs reveal that the queries successfully completed after 7 minutes but that the client EC2 instances never received the response. Which configuration change should a network engineer implement to resolve this issue?
-
A
Configure the NAT gateway timeout to allow connections for up to 600 seconds
-
B
Enable enhanced networking on the client EC2 instances
-
C
Enable TCP keepalive on the client EC2 instances with a value of less than 300 seconds
-
D
Close idle TCP connections though the NAT gateway
Reveal answer details
Close answer details
Your AWS WorkSpaces users are unable to authenticate. What could be one reason for this?
-
A
Your AD server is running Windows Server 2016
-
B
Port 3389 is not open to your AD server.
-
C
Port 389 is not open to your AD server.
-
D
Your AD server is running Windows Server 2012 Core Edition.
Reveal answer details
Close answer details
Correct answerC
ExplanationExplanation: AD requires port 389.
You manage a webserver that serves a webpage on AWS infrastructure. You utilize an Application Load Balancer, CloudFront, S3, and some other AWS services for this site. You are only responsible for the server and you don't have access to the AWS console or API. You need to find out what IPs are accessing your website. What is the best way to achieve this?
-
A
Ask someone with IAM permissions to view the Flow Logs to give you access.
-
B
View the access logs. They already show this information.
-
C
Run "curl http://169.254.169.254/latest/meta-data/access_log
-
D
Add "X-Forwarded For" to the access logs and view the access logs.
Reveal answer details
Close answer details
Correct answerD
ExplanationExplanation: Add "X-Forwarded For" to the access logs and view the access logs is the best answer here. IAM permissions could work, but not necessary, the curl command queries metadata, not access logs.
From the following options, select the answer that correctly describes the implementation of the HTTP protocol
-
A
By definition, HTTP is a connection-less oriented protocol and therefore utilises TCP
-
B
By definition, HTTP is a connection orientated protocol and therefore utilises TCP
-
C
By definition, HTTP is a connection-less oriented protocol and therefore utilises UDP
-
D
By definition, HTTP can be configured to be either connection or connection-less oriented - by specifying the appropriate HTTP header.
Reveal answer details
Close answer details
Correct answerB
ExplanationExplanation: HTTP is a connection orientated protocol and therefore utilizes TCP References: https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol
Your company just deployed a WAF to protect its resources. You need to create a baseline before you start blocking traffic. How will you achieve this?
-
A
Set the WAF to Monitor mode.
-
B
Set the WAF to its defaults and let it do its job.
-
C
Setup a Lambda function to monitor Flow Logs and analyze the traffic using Elasticsearch.
-
D
A WAF is default deny and does not allow this. You need to use an IDS instead.
Reveal answer details
Close answer details
Correct answerA
ExplanationExplanation: Monitor mode is the only good choice.
Question 10
Single choice
In the context of Amazon CloudFront, when you configure the media player, the path you specify to the media file must contain the characters _____________.
-
A
flv/std just before the domain name
-
B
flv/std immediately after the domain name
-
C
cfx/st just before the domain name
-
D
cfx/st immediately after the domain name
Reveal answer details
Close answer details
Correct answerD
ExplanationExplanation: In Amazon CloudFront, when you configure the media player, the path you specify to the media file must contain the characters cfx/st immediately after the domain name. For example: rtmp://s5c39gqb8ow64r.cloudfront.net/cfx/st/mediafile.flv References: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Streaming_URLs.html
Question 11
Single choice
You can use the ____ command of the AWS Config service CLI to see the compliance state of each of your rules.
-
A
get-compliance-details-by-resource
-
B
describe-compliance-by-config-rule
-
C
get-compliance-details-by-config-rule
-
D
describe-compliance-by-resource
Reveal answer details
Close answer details
Correct answerB
ExplanationExplanation: You can use the describe-compliance-by-config-rule command of the AWS Config CLI to see the compliance state of each of your rules. For each rule that has a compliance type of NON_COMPLIANT, AWS Config returns the number of noncompliant resources for the CappedCount parameter. References: http://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_view-compliance.html
Question 12
Single choice
A company has an AWS Direct Connect connection between its on-premises data center and Amazon VPC. An application running on an Amazon EC2 instance in the VPC needs to access confidential data stored in the on-premises data center with consistent performance. For compliance purposes, data encryption is required. What should the network engineer do to meet these requirements?
-
A
Configure a public virtual interface on the Direct Connect connection. Set up an AWS Site-to-Site VPN between the customer gateway and the virtual private gateway in the VPC.
-
B
Configure a private virtual interface on the Direct Connect connection. Set up an AWS Site-to-Site VPN between the customer gateway and the virtual private gateway in the VPC.
-
C
Configure an internet gateway in the VPC. Set up a software VPN between the customer gateway and an EC2 instance in the VPC.
-
D
Configure an internet gateway in the VPC. Set up an AWS Site-to-Site VPN between the customer gateway and the virtual private gateway in the VPC.
Reveal answer details
Close answer details
Question 13
Single choice
In Amazon CloudFront, if you need to quickly remove objects from a distribution, you can:
-
A
delete the objects from cache.
-
B
-
C
remove your Amazon S3 bucket.
-
D
delete your distribution and recreate it.
Reveal answer details
Close answer details
Correct answerB
ExplanationExplanation: In Amazon CloudFront, if you need to quickly remove objects from a distribution, you can invalidate them. References: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ AddRemoveReplaceObjects.html
Question 14
Single choice
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 (VPC-Dept1 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 VPC-Dept1, 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-Shared instances as the default peering bi-directional communication flag has been disabled.
-
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
-
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.
-
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-Shared instances as the default peering bi-directional communication flag has been enabled.
Reveal answer details
Close answer details
Correct answerB
ExplanationExplanation: 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". References: http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide/peering-configurations-partial-access.html#one-to-two-vpcs-instances
Question 15
Single choice
You wish to have a sub-1G connection to AWS to save on costs. How can you achieve this?
-
A
Just set your router to the speed you want and AWS will charge you based on the actual speed of the port.
-
B
Contact AWS, they will put you in contact with a technical account manager who can help you get this setup.
-
C
You can't. The only speeds available for Direct Connect are 1G and 10G.
-
D
Contact an AWS partner, AWS does not provide sub-1G connection speeds.
Reveal answer details
Close answer details
Correct answerD
ExplanationExplanation: Sub-1G service is only available through AWS partners.
Question 16
Single choice
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.
-
B
Configure AS_PATH Prepending on the DX connection to make it the less preferred path.
-
C
Advertise 10.0.0.0/9 and 10.128.0.0/9 over your VPN connection.
-
D
Reveal answer details
Close answer details
Correct answerD
ExplanationExplanation: 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.
Question 17
Multiple choice
You are a network admin of a US company called Webby Widgets that is expanding to Europe. The company has a website that serves dynamic and static content. You have been instructed to ensure the European clients receive the least latency possible, no matter where in Europe they live, while still allowing the US clients to receive the same user experience and performance they have been accustomed to. You have also been instructed to ensure both countries use the same URL to access the site and keep costs low. What two things should you do? (Choose two.)
-
A
Deploy three VPCs; one for the US, one for the EU, and one as a central VPC that hosts an Elastic Load Balancer that will distribute traffic between the US and EU VPCs.
-
B
Create two A records: eu.webbywidgets.com that points to the EU resources and us.webbywidgets.com that points to the US resources.
-
C
Use the Traffic Flow policy creator to create the perfect routing policy.
-
D
Create a CloudFront distribution to serve the static content from an S3 bucket.
Reveal answer details
Close answer details
Correct answersC, D
ExplanationExplanation: The Traffic Flow policy creator costs $50/mo. per policy and Elastic Load Balancers cannot distribute traffic between VPCs.
Question 18
Single choice
In AWS, which tool records API calls for a specific AWS account and also delivers the log files for that account?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerA
ExplanationExplanation: 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: 1. Identity of the API caller 2. Time of the API call 3. Source IP address of API caller 4. Request parameters 5. Response elements References: https://aws.amazon.com/cloudtrail/
Question 19
Single choice
You have many IAM users with the ability to create EC2 volumes. Most of the data your team works with is sensitive, so you would like to make sure all volumes are encrypted. How might you facilitate this requirement?
-
A
Create an AWS KMS policy and attach it to all IAM users that can create EC2 volumes.
-
B
Use AWS Config and create a rule that requires all volumes, upon creation, be encrypted.
-
C
Use AWS Config to send out reminders to IAM users every time they create an EC2 volume.
-
D
Set EC2 to notify creators to encrypt their EC2 volumes.
Reveal answer details
Close answer details
Correct answerB
ExplanationExplanation: AWS Config is used to evaluate the configuration settings of many AWS resources. When an EC2 volume in created, AWS Config can evaluate the volume against a rule that requires volumes to be encrypted. If the volume is not encrypted, AWS Config flags the volume and the rule as noncompliant. References: http://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html
Question 20
Single choice
Your application is hosted behind an Elastic Load Balancer (ELB) within an autoscaling group. The autoscaling group is configured with a minimum of 2, a maximum of 14, and a desired value of 2. The autoscaling cooldown and the termination policies are set to the default value. CloudWatch reports that the site typically requires just two servers, but spikes at the start and end of the business day can require eight to ten servers. You receive intermittent reports of timeouts and partially loaded web pages. Which configuration change should you make to address this issue?
-
A
Configure connection draining on the ELB.
-
B
Configure the autoscaling cooldown to 600 seconds.
-
C
Configure the termination policy to oldest instance.
-
D
Configure a Terminating: Wait lifecycle hook on a scale in event.
Reveal answer details
Close answer details
Correct answerA
ExplanationReferences: https://docs.aws.amazon.com/autoscaling/ec2/userguide/attach-load-balancer-asg.html
Question 21
Single choice
You have a static VPN connecting your data center and your VPC. You currently have 50 routes added to your route table. You want to add more; how should you do this?
-
A
50 is the most you can have for any connection.
-
B
Just add them, you have a maximum of 100 static routes per route table.
-
C
Set up Direct Connect. A VPN will not support more routes.
-
D
Convert your VPN to a dynamic VPN and use BGP.
Reveal answer details
Close answer details
Correct answerD
ExplanationExplanation: A dynamic routing table can support 100 routes. A static can only support 50 per IPv4 and 50 per IPv6. Direct Connect will work, but it would be more than you needed.
Question 22
Single choice
Your application server instances reside in the private subnet of your VPC. These instances need to access a Git repository on the Internet. You create a NAT gateway in the public subnet of your VPC. The NAT gateway can reach the Git repository, but instances in the private subnet cannot. You confirm that a default route in the private subnet route table points to the NAT gateway. The security group for your application server instances permits all traffic to the NAT gateway. What configuration change should you make to ensure that these instances can reach the patch server?
-
A
Assign public IP addresses to the instances and route 0.0.0.0/0 to the Internet gateway.
-
B
Configure an outbound rule on the application server instance security group for the Git repository.
-
C
Configure inbound network access control lists (network ACLs) to allow traffic from the Git repository to the public subnet.
-
D
Configure an inbound rule on the application server instance security group for the Git repository.
Reveal answer details
Close answer details
Correct answerB
ExplanationExplanation: The traffic leaves the instance destined for the Git repository; at this point, the security group must allow it through. The route then directs that traffic (based on the IP) to the NAT gateway. A is wrong because it removes the private aspect of the subnet and would have no effect on the blocked traffic anyway. C is wrong because the problem is that outgoing traffic is not getting to the NAT gateway. D is wrong because to allow outgoing traffic to the Git repository requires an outgoing security group rule.
Question 23
Single choice
When using AWS Config, which two items are stored on S3 as a part of its operation?
-
A
Configuration Items and Configuration History
-
B
Configuration Recorder and Configuration Snapshots
-
C
Configuration History and Configuration Snapshots
-
D
Configuration Snapshots and Configuration Streams
Reveal answer details
Close answer details
Correct answerC
ExplanationExplanation: S3 is used to store the Configuration History files and any Configuration Snapshots of your data within a single bucket, which is defined within the Configuration Recorder. You can get AWS Config to create a new bucket for you and select an existing bucket. If you have multiple AWS accounts you may want to aggregate your Configuration History and Snapshot files into the same S3 Bucket for your primary account, just be aware that this can be achieved. However, you will need to grant write access for the service principal (config.amazonaws.com) in your other accounts write access to the S3 bucket. References: http://docs.aws.amazon.com/config/latest/developerguide/config-concepts.html#config-items
Question 24
Single choice
What statement about LAGs is incorrect?
-
A
If you create a new connection, you will have to fill out another LOA-CFA.
-
B
You can pool connections with multiple speeds to create one faster speed.
-
C
You will receive 1 LOA-CFA with a page for each connection.
-
D
All connections in the LAG must terminate at the same DX endpoint.
Reveal answer details
Close answer details
Correct answerB
ExplanationExplanation: All links must be the same speed for a LAG to be operational.
Question 25
Single choice
A company has two redundant AWS Direct Connect connections to a VPC. The VPC is configured using BGP metrics so that one Direct Connect connection is used as the primary traffic path. The company wants the primary Direct Connect connection to fail to the secondary in less than one second. What should be done to meet this requirement?
-
A
Configure BGP on the company's router with a keep-alive to 300 ms and the BGP hold timer to 900 ms.
-
B
Enable Bidirectional Forwarding Detection (BFD) on the company's router with a detection minimum interval of 300 ms and a BFD liveness detection multiplier of 3.
-
C
Enable Dead Peer Detection (DPD) on the company's router with a detection minimum interval of 300 ms and a DPD liveliness detection multiplier of 3.
-
D
Enable Bidirectional Forwarding Detection (BFD) echo mode on the company's router and disable sending the Internet Control Message Protocol (ICMP) IP packet requests.
Reveal answer details
Close answer details
Correct answerB
ExplanationReferences: https://aws.amazon.com/directconnect/faqs/
Question 26
Single choice
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
-
B
aws ec2 describe-instances
-
C
-
D
aws ec2 describe-security-groups
Reveal answer details
Close answer details
Correct answerB
ExplanationExplanation: 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.
Question 27
Single choice
Your company wishes to improve the performance of its EC2 instances. They require low latency and high throughput. They are currently deployed on T2.medium. It is imperative that you experience as little downtime as possible, but cost and performance are most important. How should you accomplish this?
-
A
Create AMIs from the instances, create new instances on t2.medium, and start those instances in a placement group.
-
B
Create AMIs from the instances, deploy the instances as i3.large, and start those instances in a placement group.
-
C
Stop the instances and restart them in a placement group.
-
D
Add an extra ENI to the instances and team them to provide greater throughput.
Reveal answer details
Close answer details
Correct answerB
ExplanationExplanation: T2. medium is not compatible with placement groups. You cannot team ENIs to add more throughput on AWS.
Question 28
Multiple choice
You have two autoscaling groups in your VPC. One deploys servers that host the index of your website and another that deploys servers that host the images for your website. What three steps would you take to ensure the right servers are used for the right purpose? (Choose three.)
-
A
Create a path-based routing rule to route traffic destined for "/" to target group 1 and "/*.jpg" to target group 2.
-
B
Create two target groups and associate them with each autoscaling group.
-
C
Configure a Classic Load Balancer
-
D
Configure an Application Load Balancer
Reveal answer details
Close answer details
Correct answersA, B, D
ExplanationExplanation: A Classic Load Balancer does not support path-based routing rules
Question 29
Single choice
Which statement about Elastic IP addresses is incorrect?
-
A
Additional EIPs associated with one instance incur a charge.
-
B
Once an EIP is associated with an instance, you must manually change the hostname if you want it to match.
-
C
Once you associate an EIP with an instance, the original public IP is released.
-
D
Disassociated EIPs incur a charge.
Reveal answer details
Close answer details
Correct answerB
ExplanationExplanation: The hostname automatically changes to match the new EIP.
Question 30
Single choice
A Network Engineer is designing a new system on AWS that will take advantage of Amazon CloudFront for both content caching and for protecting the underlying origin. There is concern that an external agency might be able to access the IP addresses for the application's origin and then attack the origin despite it being served by CloudFront. Which of the following solutions provides the strongest level of protection to the origin?
-
A
Use an IP whitelist rule in AWS WAF within CloudFront to ensure that only known-client IPs are able to access the application.
-
B
Configure CloudFront to use a custom header and configure an AWS WAF rule on the origin's Application Load Balancer to accept only traffic that contains that header.
-
C
Configure an AWS Lambda@Edge function to validate that the traffic to the Application Load Balancer originates from CloudFront.
-
D
Attach an origin access identity to the CloudFront origin that allows traffic to the origin that originates from only CloudFront.
Reveal answer details
Close answer details
Question 31
Single choice
You are the network engineer at your company, and you are noticing issues with QoS in you're the traffic to your instances hosting a VOIP program. You need to inspect the network packets to determine if it is a programming error or a networking error. How should you do this?
-
A
Configure a network monitoring program on every instance and stream the logs to an S3 bucket to be parsed.
-
B
-
C
Set up another instance with an ENI added to act as a monitoring interface. Set the port to "promiscuous mode" and sniff the traffic to analyze the packets. Then output this single stream to an S3 bucket to be parsed.
-
D
Reveal answer details
Close answer details
Correct answerA
ExplanationExplanation: Flow Logs and CloudWatch do not display packet contents. You cannot sniff traffic destined for other instances.
Question 32
Multiple choice
What are three services that help mitigate a DDoS? (Choose two.)
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answersA, D
ExplanationExplanation: AWS Shield and CloudFront can help mitigate the effects of a DDoS
Question 33
Single choice
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.
Reveal answer details
Close answer details
Correct answerC
ExplanationReferences: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/logging-monitoring.html
Question 34
Single choice
Which of the following statements is true of AWS Elastic Beanstalk?
-
A
AWS Elastic Beanstalk uses CloudWatch for monitoring and alarms, meaning CloudWatch costs are applied to your AWS account for any alarms that you use.
-
B
AWS Elastic Beanstalk uses CloudWatch for monitoring and alarms, and both are free of charge.
-
C
AWS Elastic Beanstalk doesn't use CloudWatch for monitoring and alarms, but you pay extra for any AWS Elastic Beanstalk Alarm you set in the monitoring tool.
-
D
AWS Elastic Beanstalk has its own free-of-charge monitoring tool, and you are not charged for the alarm you set.
Reveal answer details
Close answer details
Correct answerA
ExplanationExplanation: AWS Elastic Beanstalk uses CloudWatch for monitoring and alarms, meaning CloudWatch costs are applied to your AWS account for any alarms that you use. References: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.alarms.html
Question 35
Single choice
Your company's policy requires that all VPCs peer with a "common services: VPC. This VPC contains a fleet of layer 7 proxies and an Internet gateway. No other VPC is allowed to provision an Internet gateway. You configure a new VPC and peer with the common service VPC as required by policy. You launch an Amazon EC2. Windows instance configured to forward all traffic to the layer 7 proxies in the common services VPC. The application on this server should successfully interact with Amazon S3 using its properly configured AWS Identity and Access Management (IAM) role. However, Amazon S3 is returning 403 errors to the application. Which step should you take to enable access to Amazon S3?
-
A
Update the S3 bucket policy with the private IP address of the instance.
-
B
Exclude 169.254.169.0/24 from the instance's proxy configuration.
-
C
Configure a VPC endpoint for Amazon S3 in the same subnet as the instance.
-
D
Update the CORS configuration for Amazon S3 to allow traffic from the proxy.
Reveal answer details
Close answer details
Question 36
Single choice
You deploy an Amazon EC2 instance that runs a web server into a subnet in a VPC. An Internet gateway is attached, and the main route table has a default route (0.0.0.0/0) configured with a target of the Internet gateway. The instance has a security group configured to allow as follows: 1. Protocol: TCP 2. Port: 80 inbound, nothing outbound The Network ACL for the subnet is configured to allow as follows: 1. Protocol: TCP 2. Port: 80 inbound, nothing outbound When you try to browse to the web server, you receive no response. Which additional step should you take to receive a successful response?
-
A
Add an entry to the security group outbound rules for Protocol: TCP, Port Range: 80
-
B
Add an entry to the security group outbound rules for Protocol: TCP, Port Range: 1024-65535
-
C
Add an entry to the Network ACL outbound rules for Protocol: TCP, Port Range: 80
-
D
Add an entry to the Network ACL outbound rules for Protocol: TCP, Port Range: 1024-65535
Reveal answer details
Close answer details
Question 37
Single choice
You have been asked to monitor traffic flows on your Amazon EC2 instance. You will be performing deep packet inspection, looking for atypical patterns. Which tool will enable you to look at this data?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerA
ExplanationReferences: https://www.slideshare.net/TeriRadichel/packet-capture-on-aws
Question 38
Single choice
Your company has a highly-available Direct Connect solution that utilizes two datacenters. Each datacenter was initially configured with one four-connection LAG and one standard DX connection. How many LOA documents have been requested and completed for this configuration?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerB
ExplanationExplanation: Only one LOA document is required for each physical connection. The logical connections in the LAG do not need separate LOAs, but they do have separate pages.
Question 39
Single choice
The Web Application Development team is worried about malicious activity from 200 random IP addresses. Which action will ensure security and scalability from this type of threat?
-
A
Use inbound security group rules to block the IP addresses.
-
B
Use inbound network ACL rules to block the IP addresses.
-
C
Use AWS WAF to block the IP addresses.
-
D
Write iptables rules on the instance to block the IP addresses.
Reveal answer details
Close answer details
Question 40
Single choice
Your company runs an HTTPS application using an Elastic Load Balancing (ELB) load balancer/PHP on nginx server/RDS in multiple Availability Zones. You need to apply Geographic Restriction and identify the client's IP address in your application to generate dynamic content. How should you utilize AWS services in a scalable fashion to perform this task?
-
A
Modify the nginx log configuration to record value in X-Forwarded-For and use CloudFront to apply the Geographic Restriction.
-
B
Enable ELB access logs to store the client IP address and parse these to dynamically modify a blacklist.
-
C
Use X-Forwarded-For with security groups to apply the Geographic Restriction.
-
D
Modify the application code to use value of X-Forwarded-For and CloudFront to apply the Geographic Restriction.
Reveal answer details
Close answer details
Question 41
Single choice
You can use the ____ page of the AWS Config console to look up resources that AWS Config has discovered, including deleted resources and resources that are not currently being recorded.
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerC
ExplanationExplanation: You can use the AWS Config console, AWS CLI, and AWS Config API to look up the resources that AWS Config has taken an inventory of, or discovered, including deleted resources and resources that AWS Config is not currently recording. AWS Config discovers supported resource types only. You can use the AWS Config console in the AWS Management console to look up these resources. The Resource Inventory page lets you perform this search. References: http://docs.aws.amazon.com/config/latest/developerguide/looking-up-discovered-resources.html
Question 42
Multiple choice
What are two routing methods used by Route 53? (Choose two.)
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answersB, C
ExplanationExplanation: RIP is used for network routing and AS_PATH is used for BGP path manipulation.
Question 43
Multiple choice
What are two reasons that could cause an HTTP health check to fail? (Choose two.)
-
A
Security group blocking port 80 to the instance
-
B
-
C
-
D
NACL blocking port 443 to the instance
Reveal answer details
Close answer details
Correct answersA, B
ExplanationExplanation: A load balancer does not perform health checks through the internet gateway, so it is not necessary and 443 is HTTPS not HTTP
Question 44
Single choice
You would like to ensure that all Amazon S3 buckets going forward, current and newly created ones, have logging enabled. What type of trigger(s) should you use?
-
A
-
B
only a configuration change trigger
-
C
both configuration change and periodic triggers
-
D
only a transitioning trigger
Reveal answer details
Close answer details
Correct answerB
ExplanationExplanation: This case requires only a configuration change trigger because you only need to trigger when S3 buckets are created and changed. There is no time component to when the trigger needs to fire. References: http://docs.aws.amazon.com/config/latest/developerguide/evaluate-config-rules.html
Question 45
Single choice
A user is collecting 1000 records per second. The user wants to send the data to CloudWatch using a custom namespace. Which of the below mentioned options is recommended for this activity?
-
A
Aggregate the data with statistics, such as Min, max, Average, Sum and Sample data and send the data to CloudWatch
-
B
Send all the data values to CloudWatch in a single command by separating them with a comma. CloudWatch will parse automatically
-
C
It is not possible to send all the data in one call. Thus, it should be sent one by one. CloudWatch will aggregate the data automatically
-
D
Create one csv file of all the data and send a single file to CloudWatch
Reveal answer details
Close answer details
Correct answerA
ExplanationExplanation: AWS CloudWatch supports the custom metrics. The user can always capture the custom data and upload the data to CloudWatch using CLI or APIs. The user can publish data to CloudWatch as single data points or as an aggregated set of data points called a statistic set using the command put-metric-data. It is recommended that when the user is having multiple data points per minute, he should aggregate the data so that it will minimize the number of calls to put-metric-data. In this case it will be single call to CloudWatch instead of 1000 calls if the data is aggregated. References: http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/ publishingMetrics.html
Question 46
Multiple choice
Which two statements about placement groups are correct? (Choose two.)
-
A
A placement group can span multiple VPCs.
-
B
A placement group can span multiple Availability Zones.
-
C
You cannot merge placement groups.
-
D
It is best to use the same instance types in a placement group.
Reveal answer details
Close answer details
Correct answersA, C
ExplanationExplanation: A placement group can span multiple VPCs but may not experience the full performance benefit. The only way to add instances from one placement group to another is to create AMIs out of the instances and spin them all up into one placement group.
Question 47
Single choice
You have 4 Direct Connect connections from your datacenter. Site A advertises 172.16.0.0/16 AS 65000, Site B advertises 172.16.0.128/25 AS 65000 65000 65000, Site C advertises 172.0.0.0/8 AS 65000 and Site D advertises 172.16.0.0/24 AS 65000. Which site will AWS choose to reach your network?
-
A
Site A: 172.16.0.0/16 AS 65000
-
B
Site B: 172.16.0.128/25 AS 65000 65000 65000
-
C
Site C: 172.0.0.0/8 AS 65000
-
D
Site D: 172.16.0.0/24 AS 65000
Reveal answer details
Close answer details
Correct answerB
ExplanationExplanation: 172.16.0.128/25 AS 65000 65000 65000. The most specific prefix is always the first choice for BGP routing. Also, AWS will not accept an advertisement of a network less than /16.
Question 48
Single choice
Under increased cybersecurity concerns, a company is deploying a near real-time intrusion detection system (IDS) solution. A system must be put in place as soon as possible. The architecture consists of many AWS accounts, and all results must be delivered to a central location. Which solution will meet this requirement, while minimizing downtime and costs?
-
A
Deploy a third-party vendor solution to perform deep packet inspection in a transit VPC.
-
B
Enable VPC Flow Logs on each VPC. Set up a stream of the flow logs to a central Amazon Elasticsearch cluster.
-
C
Enable Amazon Macie on each AWS account and configure central reporting.
-
D
Enable Amazon GuardDuty on each account as members of a central account.
Reveal answer details
Close answer details
Correct answerD
ExplanationReferences: https://aws.amazon.com/blogs/security/how-to-manage-amazon-guardduty-security-findings-across-multiple-accounts/
Question 49
Single choice
A company needs to allow its remote users to access company resources in the AWS Cloud. The company has two VPCs that are connected through VPC peering. The remote users must be able to access resources in both VPCs by using secure connections from their laptop computers. The company does not want to implement an access management solution that requires additional costs or effort. Which solution meets these requirements?
-
A
Deploy an AWS Client VPN endpoint in one VPC, associate a subnet, and define a target network. Add a rule to authorize client access to the target VPC, and add a rule to authorize client access to the peered VPC. Update resource security groups in both VPCs to allow traffic from the security group for the subnet association. Instruct the users to sign in to the AWS Management Console and navigate to Client VPN to connect to the Client VPN endpoint.
-
B
Deploy an AWS Client VPN endpoint in both VPCs, associate subnets, and define a target network. Add a rule to authorize client access to each target VPC. Update resource security groups in both VPCs to allow traffic from the security groups of each VPC for the subnet associations. Securely send the users the configuration options, and instruct the users to install Client VPN on their laptops. Instruct the users to connect to both Client VPN endpoints at the same time to gain access to the resources.
-
C
Deploy a Network Load Balancer in front of the company resources. Set up security groups that contain the IP addresses of each of the user laptops. Instruct the users to connect to the application securely over TCP.
-
D
Deploy an AWS Client VPN endpoint in one VPC, associate a subnet, and define a target network. Add a rule to authorize client access to the target VPC, and add a rule to authorize client access to the peered VPC. Update resource security groups in both VPCs to allow traffic from the security group for the subnet association. Securely send the users the configuration options, and instruct the users to install Client VPN on their laptops. Instruct the users to connect to the Client VPN endpoint to gain access to the resources.
Reveal answer details
Close answer details
Question 50
Single choice
You are auditing an AWS infrastructure after you noticed some abnormal charges on the bill. You use AWS Config to monitor your changes. What else is required to find out who made the change?
-
A
There is no information to find this. You will need to sign up for Config Premium.
-
B
Use the eventID of the change and reference it with your Flow Logs.
-
C
Use the eventId of the change and reference it with CloudTrail to find the culprit.
-
D
Use the eventID of the change and reference it with CloudWatch to find the culprit.
Reveal answer details
Close answer details
Correct answerC
ExplanationExplanation: CloudTrail is for finding "who" performed an action.
Question 51
Single choice
You manage a website that uses a load balancer. You are noticing one of the servers is receiving more traffic than the other. What is probably the cause of this?
-
A
An Elastic Load Balancer sends traffic based on server load. One server must be a larger instance.
-
B
You have DNS latency routing set, so it is diverting traffic to a different instance.
-
C
You have sticky sessions configured and there are several power users that happen to be on the other server.
-
D
The server has more connections available.
Reveal answer details
Close answer details
Correct answerC
ExplanationExplanation: Sticky sessions can keep users on a particular server throughout their session. Latency routing would route to the load balancer, not the instances. Load balancers use a round-robin algorithm to balance.
Question 52
Single choice
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
-
B
describe-compliance-by-config-rule
-
C
get-compliance-details-by-config-rule
-
D
get-compliance-details-by-resource
Reveal answer details
Close answer details
Correct answerC
ExplanationExplanation: 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. References: http://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_view-compliance.html
Question 53
Single choice
You have several Amazon Glacier vaults you would like to monitor. How might you monitor those vaults?
-
A
Create a custom AWS Config rule.
-
B
Use an AWS master Config rule.
-
C
Use an AWS managed Config rule.
-
D
Create a KMS policy and attach it to your Amazon Glacier vault.
Reveal answer details
Close answer details
Correct answerA
ExplanationExplanation: AWS Config does not currently record Amazon Glacier resources; you must create a custom rule if you wish to monitor such a resource. References: http://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_develop-rules_nodejs.html#creating-custom-rules-for-additional-resource-types
Question 54
Single choice
A user is trying to understand the detailed CloudWatch monitoring concept. Which of the below mentioned services does not provide detailed monitoring with CloudWatch?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerB
ExplanationExplanation: CloudWatch is used to monitor AWS as well as the custom services. It provides either basic or detailed monitoring for the supported AWS products. In basic monitoring, a service sends data points to CloudWatch every five minutes, while in detailed monitoring a service sends data points to CloudWatch every minute. Services, such as RDS, EC2, Auto Scaling, ELB, and Route 53 can provide the monitoring data every minute. References: http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/supported_services.html
Question 55
Multiple choice
Refer to the image.  You have three VPCs: A, B, and C. VPCs A and C are both peered with VPC B. The IP address ranges are as follows: 1. VPC A: 10.0.0.0/16 2. VPC B: 192.168.0.0/16 3. VPC C: 10.0.0.0/16 Instance i-1 in VPC A has the IP address 10.0.0.10. Instance i-2 in VPC C has the IP address 10.0.0.10. Instances i-3 and i-4 in VPC B have the IP addresses 192.168.1.10 and 192.168.1.20, respectively, i-3 and i-4 are in the subnet 192.168.1.0/24. 1. i-3 must be able to communicate with i-1 2. i-4 must be able to communicate with i-2 3. i-3 and i-4 are able to communicate with i-1, but not with i-2. Which two steps will fix this problem? (Choose two.)
-
A
Create subnets 192.168.1.0/28 and 192.168.1.16/28. Move i-3 and i-4 to these subnets, respectively.
-
B
Create subnets 192.168.1.0/27 and 192.168.1.16/27. Move i-3 and i-4 to these subnets, respectively.
-
C
Change the IP address of i-2 to 10.0.0.100. Assign it an elastic IP address.
-
D
Create a new route table for VPC B, with unique route entries for destination VPC A and destination VPC C.
-
E
Create two route tables: one with a route for destination VPC A, and another for destination VPC C.
Reveal answer details
Close answer details
Question 56
Single choice
A company's IT Security team needs to ensure that all servers within an Amazon VPC can communicate with a list of five approved external IPs only. The team also wants to receive a notification every time any server tries to open a connection with a non-approved endpoint. What is the MOST cost-effective solution that meets these requirements?
-
A
Add allowed IPs to the network ACL for the application server subnets. Enable VPC Flow Logs with a filter set to ALL. Create an Amazon CloudWatch Logs filter on the VPC Flow Logs log group filtered by REJECT. Create an alarm for this metric to notify the Security team.
-
B
Enable Amazon GuardDuty on the account and the specific region. Upload a list of allowed IPs to Amazon S3 and link the S3 object to the GuardDuty trusted IP list. Configure an Amazon CloudWatch Events rule on all GuardDuty findings to trigger an Amazon SNS notification to the Security team.
-
C
Add allowed IPs to the network ACL for the application server subnets. Enable VPC Flow Logs with a filter set to REJECT. Set an Amazon CloudWatch Logs filter for the log group on every event. Create an alarm for this metric to notify the Security team.
-
D
Enable Amazon GuardDuty on the account and specific region. Upload a list of allowed IPs to Amazon S3 and link the S3 object to the GuardDuty threat IP list. Integrate GuardDuty with a compatible SIEM to report on every alarm from GuardDuty.
Reveal answer details
Close answer details
Question 57
Multiple choice
What are two reasons to have multiple IP addresses or interfaces on one server? (Choose two.)
-
A
You can host multiple SSLs
-
B
Create management networks
-
C
Direct Connect connections
-
D
Teaming multiple NICs for more throughput
Reveal answer details
Close answer details
Correct answersA, B
ExplanationExplanation: You cannot bind multiple interfaces for faster speeds on AWS
Question 58
Multiple choice
An organization runs a consumer-facing website on AWS. The Amazon EC2-based web fleet is load balanced using the AWS Application Load Balancer, Amazon Route 53 is used to provide the public DNS services. The following URLs need to server content to end users: 1. test.example.com 2. web.example.com 3. example.com Based on this information, what combination of services must be used to meet the requirement? (Choose two.)
-
A
Path condition in ALB listener to route example.com to appropriate target groups.
-
B
Host condition in ALB listener to route *.example.com to appropriate target groups.
-
C
Host condition in ALB listener to route example.com to appropriate target groups.
-
D
Path condition in ALB listener to route *.example.com to appropriate target groups.
-
E
Host condition in ALB listener to route $$$$.example.com to appropriate target groups.
Reveal answer details
Close answer details
Question 59
Single choice
Your Amazon Kinesis application receives data streams from thousands of devices. The data is then stored in an on-premises Hadoop cluster. You are concerned about historical data that shows periods of sustained traffic between 1 Gbps and 2 Gbps during peaks. You must ensure that you have secure, fault-tolerant connectivity between Amazon Kinesis and your data center. What should you implement to address these needs?
-
A
Deploy a single 1-Gbps Direct Connect connection with a VPN backup.
-
B
Deploy three 1-Gbps Direct Connect connections.
-
C
Deploy two 1-Gbps Direct Connect connections.
-
D
Set up an IPsec VPN connection over Direct Connect with two tunnels.
Reveal answer details
Close answer details
Correct answerB
ExplanationExplanation: Three connections are required to provide fault tolerance. All of the other options would be unable to handle the peak loads over 1 Gbps without exceeding the available bandwidth.
Question 60
Single choice
For web distributions in Amazon CloudFront, your origin can be either an Amazon S3 bucket or _______ .
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerD
ExplanationExplanation: For web distributions in Amazon CloudFront, your origin can be either an Amazon S3 bucket or an HTTP server. References: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-overview.html
Question 61
Single choice
A network engineer deploys an application in a private subnet in a VPC that connects to many external video feed providers using RTMP over the internet. A NAT gateway has been deployed in a public subnet and is working as expected. From the Amazon EC2 instance, the application is able to connect to all feed providers except one, which hangs when connecting. Manually testing a connection from an Amazon EC2 instance in the public subnet to the problem feed indicates that the feed works as expected. What is causing this issue?
-
A
The NAT gateway does not support fragmented packets.
-
B
The internet gateway only supports an MTU of 1500 bytes.
-
C
An Amazon EC2 instance expects to communicate with an MTU of 9001.
-
D
The security group on the instances does not allow PMTUD.
Reveal answer details
Close answer details
Question 62
Single choice
A company's web application is deployed on Amazon EC2 instances behind a public Application Load Balancer. The application flags malicious requests and uses an AWS Lambda function to add the offending IP addresses to the network ACL to block any further request for 24 hours. Recently, the application has been receiving more malicious requests, which causes the network ACL to reach its limit of allowed entries. Which action should be taken to block more IP addresses, without compromising the existing security requirements?
-
A
Update the AWS Lambda function to remove blocked entries from the network ACL after 2 hours.
-
B
Update the AWS Lambda function to block malicious IPs in security groups rather than the network ACL.
-
C
Update the AWS Lambda function to block malicious IPs in AWS WAF attached to the Application Load Balancer.
-
D
Update the AWS Lambda function to add an additional network ACL to the subnets once the limit for the previous ones has been reached.
Reveal answer details
Close answer details
Question 63
Single choice
Your company has two DX locations. You need to configure one link as passive. What should you configure in your router to set that link as the passive link.
-
A
-
B
Configure AS_PATH Prepending on the link.
-
C
Advertise a network with a higher CIDR.
-
D
Call your service provider and have the ASN changed for that link.
Reveal answer details
Close answer details
Correct answerB
ExplanationExplanation: You should configure AS_PATH prepending on the link. A higher CIDR is the same as a more specific prefix, which will make the link more preferred. A higher MED will make the path less preferred, but this is not the preferred method to accomplish this. Changing your ASN will not help. Configuring AS_PATH Prepending is the preferred method of AWS to configure an Active-Passive configuration with Direct Connect.
|