AWS-SysOps Practice Test practice questions, page 5 of 38, with answer review and explanations.
Question 21
Your entire AWS infrastructure lives inside of one Amazon VPC. You have an Infrastructure monitoring application running on an Amazon instance in Availability Zone (AZ) A of the region, and another application instance running in AZ B. The monitoring application needs to make use of ICMP ping to confirm network reachability of the instance hosting the application. Can you configure the security groups for these instances to only allow the ICMP ping to pass from the monitoring instance to the application instance and nothing else? If so how?
No, two instances in two different AZ's can't talk directly to each other via ICMP ping as that protocol is not allowed across subnet (iebroadcast) boundaries
Yes, both the monitoring instance and the application instance have to be a part of the same security group, and that security group needs to allow inbound ICMP
Yes, the security group for the monitoring instance needs to allow outbound ICMP and the application instance's security group needs to allow Inbound ICMP
Yes, both the monitoring instance's security group and the application instance's security group need to allow both inbound and outbound ICMP ping packets since ICMP is not a connection-oriented protocol
Question 22
You have two Elastic Compute Cloud (EC2) instances inside a Virtual Private Cloud (VPC) in the same Availability Zone (AZ) but in different subnets. One instance is running a database and the other instance an application that will interface with the database. You want to confirm that they can talk to each other for your application to work properly. Which two things do we need to confirm in the VPC settings so that these EC2 instances can communicate inside the VPC? (Choose two.)
A network ACL that allows communication between the two subnets.
Both instances are the same instance class and using the same Key-pair.
That the default route is set to a NAT instance or internet Gateway (IGW) for them to communicate.
Security groups are set to allow the application host to talk to the database on the right port/protocol.
Question 23
Which services allow the customer to retain full administrative privileges of the underlying EC2 instances? (Choose two.)
Amazon Elastic Map Reduce
Elastic Load Balancing
AWS Elastic Beanstalk
Amazon Elasticache
Amazon Relational Database service
Question 24
You have a web-style application with a stateless but CPU and memory-intensive web tier running on a cc2 8xlarge EC2 instance inside of a VPC The instance when under load is having problems returning requests within the SLA as defined by your business The application maintains its state in a DynamoDB table, but the data tier is properly provisioned and responses are consistently fast. How can you best resolve the issue of the application responses not meeting your SLA?
Add another cc2 8xlarge application instance, and put both behind an Elastic Load Balancer
Move the cc2 8xlarge to the same Availability Zone as the DynamoDB table
Cache the database responses in ElastiCache for more rapid access
Move the database from DynamoDB to RDS MySQL in scale-out read-replica configuration
Question 25
You are managing a legacy application Inside VPC with hard coded IP addresses in its configuration. Which two mechanisms will allow the application to failover to new instances without the need for reconfiguration? (Choose two.)
Create an ELB to reroute traffic to a failover instance
Create a secondary ENI that can be moved to a failover instance
Use Route53 health checks to fail traffic over to a failover instance
Assign a secondary private IP address to the primary ENIO that can be moved to a failover instance