Question : You have created a subnet and specified the CIDR block .../ for subnet. Please select the correct statement 1. It supports 24 IP addresses, You can break this CIDR block into two subnets, each supporting 12 IP addresses 2. It supports 128 IP addresses, You can break this CIDR block into two subnets, each supporting 64 IP addresses 3. It supports 256 IP addresses, You can break this CIDR block into two subnets, each supporting 128 IP addresses 4. It supports 24 IP addresses, You can not break this CIDR block into two subnets
Correct Answer : 3 Explanation: When you create a subnet, you specify the CIDR block for the subnet. The CIDR block of a subnet can be the same as the CIDR block for the VPC (for a single subnet in the VPC), or a subset (to enable multiple subnets). The allowed block size is between a /28 netmask and /16 netmask. If you create more than one subnet in a VPC, the CIDR blocks of the subnets must not overlap.
For example, if you create a VPC with CIDR block 10.0.0.0/24, it supports 256 IP addresses. You can break this CIDR block into two subnets, each supporting 128 IP addresses. One subnet uses CIDR block 10.0.0.0/25 (for addresses 10.0.0.0 - 10.0.0.127) and the other uses CIDR block 10.0.0.128/25 (for addresses 10.0.0.128 - 10.0.0.255).
Question : In the given diagram, the route table associated with subnet 1 routes all traffic __________ to an Internet gateway (for example, igw-1a2b3c4d). Because instance V1 has an Elastic IP address, it can be reached from the Internet. 1. (0.0.0.16/0) 2. (0.0.0.24/0) 3. (0.0.0.0/0) 4. (0.0.0.5/0)
Correct Answer : 3
Explanation: By design, each subnet must be associated with a route table, which specifies the allowed routes for outbound traffic leaving the subnet. Every subnet that you create is automatically associated with the main route table for the VPC. You can change the association, and you can change the contents of the main route table. For more information, see Route Tables. In the previous diagram, the route table associated with subnet 1 routes all traffic (0.0.0.0/0) to an Internet gateway (for example, igw-1a2b3c4d). Because instance V1 has an Elastic IP address, it can be reached from the Internet. Note : The Elastic IP address or public IP address that's associated with your instance is accessed through the Internet gateway of your VPC. Traffic that goes through a VPN connection between your instance and another network traverses a virtual private gateway, not the Internet gateway, and therefore does not access the Elastic IP address or public IP address. The instance V2 can't reach the Internet, but can reach other instances in the VPC. You can allow an instance in your VPC to initiate outbound connections to the Internet but prevent unsolicited inbound connections from the Internet using a network address translation (NAT) instance. Because you can allocate a limited number of Elastic IP addresses, we recommend that you use a NAT instance if you have more instances that require a static public IP address. For more information, see NAT Instances. The route table associated with subnet 3 routes all traffic (0.0.0.0/0) to a virtual private gateway (for example, vgw-1a2b3c4d).
Question : QuickTechie.com is planning to implement a scalable web application with AWS EC to achieve HA with multi AZ features. The application requires an Weblogic J2EE app server and may require a load which will be catered by 2 large instances. Select the configurations is better choice for HA in DR 1. Launch only one large instance and setup Auto Scaling with ELB. 2. Launch two large instances in separate AZs and load balance them with ELB. 3. Launch 8 small EC2 instances with two instances in each zone for better HA and DR and load balance each with ELB. 4. Launch 4 small instances in separate AZs and load balance them with ELB.
Correct Answer : 4
Explanation: Amazon Web Services includes some features and offerings that enable effective compartmentalization. Firstly, many Amazon Web Services-for example, Amazon S3 and Amazon RDS-are themselves internally compartmentalized and make use of active redundancy designs so that when failures occur they are hidden.
We also offer web services and resources in a range of sizes, along with automation in the form of auto-scaling, CloudFormation templates, and Opsworks recipes that make it easy to manage a higher number of instances.
There is a subtle but important distinction between running a small number of large instances, and a large number of small instances. Four m3.xlarge instances cost as much as two m3.2xlarge instances and provide the same amount of CPU and storage; but for high availability configurations, using four instances requires only a 33% failover capacity buffer and any host-level problem may impact one quarter of your load, whereas using two instances means a 100% buffer and any problem may impact half of your load.
Thirdly, Amazon Web Services has pre-made compartments: up to four availability zones per region. These availability zones are deeply compartmentalized down to the datacenter, network and power level. QuickTechie.com can always launch multiple EC2 instances in the same region across multiple AZs for HA and DR. It is recommended that the application should be load balanced with ELB for better load distribution. When the organization requires two large instances for the app server it is recommended to distribute the load by creating four small instances across AZs. The two large instances give only 50% redundancy while the four small instances give 75% redundancy. As cost wise both the scenarios are the same it is recommended to run four small instances across AZs. Suppose that we create a web site or web service that utilizes four availability zones. This means we need a 25% failover capacity buffer per zone (which compares well to a 100% failover capacity buffer in a standard two data center model). Our service consists of a front end, two dependent backend services ("Foo" and "Bar") and a data-store (for this example, we'll use S3).
Select the correct statement from below. 1. When those instances in the VPC try to talk to hosts in the 10.0.37.0/24 address space, the traffic is dropped 2. When those instances in the VPC try to talk to hosts in the 10.0.37.0/24 address space, can talk 3. When those instances in the VPC try to talk to hosts in the 10.1.38.0/24 address space, the traffic is dropped 4. Only 1 and 3 5. Only 2 and 3
Select correct statement 1. instance can communicate with other instances in the VPC 2. instance can be reached from the Internet 3. instance can not be reached from the Internet 4. 1 and 2 5. 1 and 3