Question : Each EC2 instance has a default network interface that is assigned a primary private IP address on your Amazon VPC network. What is the name given to the additional network interfaces that can be created and attached to any Amazon EC2 instance in your VPC? 1. Elastic IP 2. Elastic Network Interface (ENI) 3. Access Mostly Uused Products by 50000+ Subscribers 4. AWS Network ACL
Ans : 2 Exp : An elastic network interface (ENI) is a virtual network interface that you can attach to an instance in a VPC. An ENI can include the following attributes:
a primary private IP address
one or more secondary private IP addresses
one Elastic IP address per private IP address
one public IP address, which can be auto-assigned to the network interface for eth0 when you launch an instance, but only when you create a network interface for eth0 instead of using an existing network interface
one or more security groups
a MAC address
a source/destination check flag
a description
You can create a network interface, attach it to an instance, detach it from an instance, and attach it to another instance. The attributes of a network interface follow the network interface as it is attached or detached from an instance and reattached to another instance. When you move a network interface from one instance to another, network traffic is redirected to the new instance. Each instance in a VPC has a default network interface. The default network interface has a primary private IP address in the IP address range of its VPC. You can create and attach additional network interfaces. The maximum number of network interfaces that you can use varies by instance type.
Question : You are working with the IT setup for hotel industry there are four hotel chains which are working together. They all have their EC instances deployed in the same region and each had created VPC for themselves. Now, they all want to directly communicate with each other. Hence, you have been suggested to use VPC peering. How would you implement the solution?
1. You will be creating 4 public IP in each VPC and create 4 VPC peering connection , so that they can communicate with each other
2. You will be creating 4 public EIP in each VPC and create 4 VPC peering connection , so that they can communicate with each other
4. You will create 6 VPC peering connection , so that they can communicate with each other
Correct Answer : Get Lastest Questions and Answer : Explanation: In same region to have communication between the VPC, you have to create VPC peering. Like, we will have total 6 peering connection creating as there are 4 VPC. Let’s say 4 VPC A,B,C,D . VPC peering will be between A to B , A to C , A to D, B to C , B to D, C to D.
Question : What does the following policy for Amazon EC2 do?
1. All all actions on ec2 instance 2. Allow users to use actions that start with "Describe" over all the EC2 resources. 3. Access Mostly Uused Products by 50000+ Subscribers 4. Allow a group to be able to Describe with run, stop, start, and terminate instances Ans : 2 Exp : In an IAM policy statement, you can specify any API action from any service that supports IAM. For Amazon EC2, use the following prefix with the name of the API action: ec2:. For example: ec2:RunInstances and ec2:CreateImage. To specify multiple actions in a single statement, separate them with commas as follows: "Action": ["ec2:action1", "ec2:action2"]You can also specify multiple actions using wildcards. For example, you can specify all actions whose name begins with the word "Describe" as follows: "Action": "ec2:Describe*"To specify all Amazon EC2 API actions, use the * wildcard as follows: "Action": "ec2:*"
Question : You have created a website and deployed on webserver hosted on EC instance. You have also assigned EIP to that webserver. Now, you have domain name also assigned, how will you resolve domain name outside the AWS
1. You don’t have to do anything, its AWS responsibility to have domain name resolved to EIP
2. You will be create security rule as well as NACL to resolve the DNS name to IP
Correct Answer : Get Lastest Questions and Answer : Explanation: You have to have configured DHCP option set, So that DNS name can be resolved outside the AWS. DHCP option set help you define name servers and name server will resolve the DNS name to IP address.
Question : If you launch an instance into a VPC that has an instance tenancy of ______, your instance is automatically a Dedicated Instance, regardless of the tenancy of the instance.
1. Secured 2. Dedicated 3. Access Mostly Uused Products by 50000+ Subscribers 4. None of these Ans : 2 Exp : at the host hardware level from your instances that aren't Dedicated Instances and from instances that belong to other AWS accounts. This topic discusses the basics of Dedicated Instances and shows you how to implement them. Important The VPC console has been redesigned, and you can switch between the old and new interfaces by clicking the link in the preview message at the top of each console page. You can use the old interface during the trial period; however, this topic may refer to features of the new interface only.
VPC has a tenancy attribute of its own whose value determine the tenancy type of the instances launched into it. Therefore, an instance launched into a VPC whose tenancy attribute is set to Dedicated will be a Dedicated Instance even if the tenancy value marked at launch was default.
Question : In DynamoDB you can issue a Scan request. By default, the Scan operation processes data sequentially. DynamoDB returns data to the application in ______ increments , and an application performs additional Scan operations to retrieve the next ___________ of data. 1. 0,1 MB 2. 10 MB 3. Access Mostly Uused Products by 50000+ Subscribers 4. 5 MB
Explanation: By default, the Scan operation processes data sequentially. DynamoDB returns data to the application in 1 MB increments, and an application performs additional Scan operations to retrieve the next 1 MB of data.
The larger the table, the more time the Scan will take to complete. In addition, a sequential Scan might not always be able to fully utilize the tables provisioned read throughput capacity: Even though DynamoDB distributes a large tables data across multiple physical partitions, a Scan operation can only read one partition at a time. For this reason, the throughput of a Scan is constrained by the maximum throughput of a single partition.
To address these issues, the Scan operation can logically divide a table into multiple segments, with multiple application workers scanning the segments in parallel. Each worker can be a thread (in programming languages that support multithreading) or an operating system process. To perform a parallel scan, each worker issues its own Scan request with the following parameters:
Segment A segment to be scanned by a particular worker. Each worker should use a different value for Segment. TotalSegments The total number of segments for the parallel scan. This value must be the same as the number of workers that your application will use.
1. No, you cannot stop caching cookies and cookie attributes 2. Yes, by changing cache setting in your distribuition 3. Access Mostly Uused Products by 50000+ Subscribers 4. No, you can stop caching cookies but not cookie attributes