AWS Interview Question

Q11: Imagine a scenario where you need to offer a service in a particular area, but you can’t see the service there. What is the reason behind this unavailability, and what is the solution?

Ans: In general, it is not possible for Amazon AWS services to be available in all regions. When a new service is launched by Amazon, it takes some time before publishing in all the regions. This is because they are not that famous and bid when they are introduced in a region. In fact, they expand gradually.

Hence, if a particular service is not available in your region, it probably hasn’t been published in your region as of now. So, shift to a different region that has that service if want to use it.

Q12: Briefly explain the types of virtualization in AWS, and how are they different?

Ans: In AWS, there are only three major types of virtualization that are commonly used.

  • Hardware Virtual Machine
    It is completely a virtualized hardware. In HVM, every virtual machine behaves differently from each other. To boot these types of virtual machines, in the root block device of the image, you have to execute a master boot record.
  • Paravirtualization (PV)
    By utilizing one legacy i.e., GRUB or GRUB2, PV sets up all boot.
  • Paravirtualization on HVM
    PV on HVM is the most interesting type and it lets the operating systems take benefit from storage and network I/O provided by the host.

Q13: Are the terms stopping and terminating an EC2 instance the same?

Ans: Due to the selection of the words in this instance, many people assume that both stopping and terminating are similar. However, even the words have almost the same meaning, there is one simple difference between these two. When a user stops an EC2 instance, a normal shutdown on the instance takes place. Ultimately, the instance switches to a stopped state. On the other hand, when the user terminates the instance, it shifts to a stopped state, and the EBS volumes that are connected to it are removed in such a way that it is impossible to get them back.

Q14: In AWS, what are the different kinds of storage?

Ans: Amazon Web Services (AWS) is developed to give you cloud storage services. That’s why it can support a variety of storage workloads.

Amazon EFS: this is a file storage service that is used with on-premises servers and Amazon compute. Its job is to offer a file system interface, file system access semantics that includes great consistency and file locking, and simultaneously accessible storage for approximately a few thousand Amazon EC2 instances.

Amazon EBS: it is used for Amazon EC2 and is a block-level storage service. Amazon EBS allows performance for workloads as the time it takes to access the data is low.

Amazon S3: this is an object storage service due to which the data becomes available via an Internet API is easily accessible

Q15: what is the way to control the security of your VPC?

Ans: By using two methods, you can control the security of your VPC.

    Security Groups

  • It serves as a virtual firewall for related EC2 instances that are in charge of controlling both inbound and outbound traffic. This takes place at the instance level. For the incoming traffic to your instance, the inbound rule is used. Whereas, from your instance, the outbound rules control the outgoing traffic. On launching an instance, you get the opportunity to specify a single or more security groups.
  • Network access control lists (NACL)

  • This also serves as a firewall, but for associated subnets. The inbound and outbound traffic is controlled here at the subnet level.