Loading...

Interview Questions


When there is a need to acquire costs with an EIP?


EIP stands for Elastic Internet Protocol address. Costs are acquired with an EIP when the same is associated and allocated with a stopped instance. In case only one Elastic IP is there with the instance you are running, you will not be charged for it. However, in case the IP is attached to a stopped instance or doesn’t attach to any instance, you need to pay for it.

What is the difference between an On-demand instance and a Spot Instance?


Spot instance is similar to bidding and the price of bidding is known as the Spot price. Both Spot and  on-Demand Instances are pricing models. In both of them, there is no commitment to the exact time from the user end. Without upfront payment, Spot instance can be used while the same is not possible in the case of an On-demand instance. It needs to be purchased first and the price is higher than the spot instance.

What do you know about an AMI?


AMI is generally considered as the template for virtual machines. While starting an instance, it is possible to select pre-baked AMI’s that AMI commonly has in them. However, not all AMIs are available to use free of cost. It is also possible to have a customized AMI and the most common reason to use the same is nothing but saving the space on Amazon Web Service. This is done in case a group of software is not required and AMI can simply be customized in that situation.

What do you know about the private and the public address?


Well, the private address is directly correlated with the Instance and is sent back to EC2 only in case it is terminated or stopped. On the other side, the public address is correlated in a similar manner with the Instance until it is terminated or stopped. It is possible to replace the public address with Elastic IP. This is done when a user wants it to stay with Instance as per the need.

What are the states available in Processor State Control?


It contains two states and they are:

  • P-state- It has different levels starting from P0 to P15. P0 represents the highest frequency and P15 represents the lowest frequency.
  • C-State- Its levels are from C0 to C6 where C6 is the strongest state for the processor.

It is possible to customize these states in a few EC2 instances which enable users to customize the processor as per need.

What will happen if you launch the instances in Amazon VPC?


This is a common approach that is considered when it comes to launching EC2 instances. Each instance will be having a default IP address if the instances are launched in Amazon VPC. This approach is also considered when you need to connect cloud resources with the data centers.

Why are subnets required to be created?


They are needed to utilize the network with a large number of hosts in a reliable manner. Of course, it’s a daunting task to manage them all. By dividing the network into smaller subnets, it can be made simpler and the chances of errors or data loss can be eliminated up to an excellent extent.

What happens if AWS Direct Connect fails to perform its function?


It is recommended to backup the Direct Connect as in case of a power failure you can lose everything. Enabling BFD i.e. Bi-directional Forwarding Detection can avoid the issues. In case no backup is there, VPC traffic would be dropped and you need to start everything from the initial point again.

When there is a need to consider Provisional IOPS than Standard RDS storage in AWS?


In case you have hosts that are batch-oriented, there is a need for the same. The reason is provisional IOPs are known to provide faster IO rates. However, they are a bit expensive when compared to other options. Hosts with batch processing don’t need manual intervention from the users. It is because of this reason provisional IOPs are preferred.

What is the significance of Connection Draining?


There are certain stages when the traffic needs to be re-verified for bugs unwanted files that raise security concerns. Connection draining helps in re-routing the traffic that comes from the Instances and which is in a queue to be updated.


Categories ( 117 )