Last updated on Nov 20, 2023
AWS stands for Amazon Web Services, which is a cloud computing platform. It provides cloud services in the form of small building blocks that help in creating and deploying various types of applications in the cloud. These sequences of small blocks are integrated for delivering the services in a highly scalable manner.
In this article, you can go through the set of aws interview questions most frequently asked in the interview panel. This will help you crack the interview as the topmost industry experts curate these at HKR training.
Let us have a quick review of the aws interview questions.
Ans: It launches AWS resources into the virtual network. VPC allows users to create and customize network configurations according to the users business needs.
Take your career to next level in AWS with HKR. Enroll now to get Aws Online Training
Ans: These are three basic types of cloud services and the built is based on these cloud services types.
Ans: Different types of instances are.
Ans: The cloud services are.
Ans: Auto-scaling is a function that allows providers and launches new instances when there is a demand. It allows us to increase or decrease the capacity of the resources automatically in relation to the demand.
Ans: EIP stands for Elastic IP address which is a static Ipv4 address offered by AWS that manages the dynamic cloud computing services. For instance, if there is a need for Ipv4 then connect your AWS account with EIP. You will then be associated with the EIP which enables communication with the internet.
Ans: It is a content delivery network of AWS. The CloudFront will speed up the distribution of dynamic and static web content such as .css, .js, .html and image files to the users. The content is delivered with low latency and high-speed transfer to the users. It provides CDN at a low price and is best suited for startups.
Ans: Geo-Targeting displays personalized content to the audiences based on the geographic location without changing the URL. It can create customized content for the audience of a specific geographical area, keeping their needs in the forefront.
Ans: Many services of AWS have logging options. Few of them also have account level logging like AWS CloudTrail, AWS Config, and others.
Ans: AMI stands for Amazon Machine Image. It contains essential information required for launching an instance and copy of AMI that runs in the cloud. You can download as many examples as possible from multiple AIMs.
Ans: With the use of single AMI multiple instances can be downloaded. An instance type is used to define the hardware of the host computer for your situation. Each instance is unique which provides the facilities in computational and storage capabilities. After installing an instance, it appears similar to a traditional host which interacts the same way as that of a computer.
Ans: There are three types of load balances in EC2.
Ans: When the stop is applied in an EC2 instance, a normal shutdown operation is implemented on an instance and it moves to a stopped state. When the termination is applied in an instance, it is then transferred to a stopped state, and the EBS volumes attached to it are deleted and can never be recovered.
Ans: Here is a selection of security products and features:
Ans: The factors which are considered for migrating to AWS are.
Ans: It is an option available in AWS for transporting. With the use of snowball, one can transfer the data into AWS and out of it. It transports the massive data from one destination to another. It reduces network expenditure.
Ans: Amazon EMR is a clustering stage which creates the data structures before the intimation. Big data tools such as Apache Hadoop and Spark enable users to investigate large amounts of data. The data can be used for performing the analytics by using the apache hive and other relevant open source technologies.
Ans: AWS Snowball is the best option which basically provides a data transport solution for moving high volumes of data into and out of a specified AWS region. The feature of AWS Snowball Edge adds additional computing functions apart from providing a data transport solution. The snowmobile is an exabyte-scale migration service that allows transferring data up to 100 PB.
Ans: The differences in AWS CloudFormation and AWS Elastic Beanstalk are as follows:
AWS Elastic Beanstalk:
Block Storage: The storage functions will work at a lower level and it helps in managing the data asset of blocks.
File Storage: The file storage is operated at a higher level or operational level and the data is managed in the form of files and folders.
Ans: The following steps are applied for automating EC2 backup using EBS.
It is a collection of data that describes a self-contained administrative and technical unit.
Example, “www.hkrtrainings.com” is a domain and a general DNS concept.
It is a container that holds information about routing the traffic on the internet for a specific domain.
Latency based routing:
Ans: There are three main virtualization types in AWS.
Ans: The best secure Amazon EC2 practises include the following steps.
Ans: You may connect your VPC to:
The Internet (via an Internet gateway)
Your corporate data center using a Hardware VPN connection (via the virtual private gateway)
Both the Internet and your corporate data center (utilizing both an Internet gateway and a virtual private gateway)
Other AWS services (via Internet gateway, NAT, virtual private gateway, or VPC endpoints)
Other VPCs (via VPC peering connections)
Ans:Amazon VPC supports the creation of an Internet gateway. This gateway enables Amazon EC2 instances in the VPC to directly access the Internet.
Ans:Amazon VPC comprises a variety of objects that will be familiar to customers with existing networks:
A Virtual Private Cloud (VPC): A logically isolated virtual network in the AWS cloud. You define a VPC’s IP address space from a range you select.
Subnet: A segment of a VPC’s IP addresses range where you can place groups of isolated resources.
Internet Gateway: The Amazon VPC side of a connection to the public Internet.
NAT Gateway: A highly available, managed Network Address Translation (NAT) service for your resources in a private subnet to access the Internet.
Hardware VPN Connection: A hardware-based VPN connection between your Amazon VPC and your datacenter, home network, or co-location facility.
Virtual Private Gateway: The Amazon VPC side of a VPN connection.
Customer Gateway: Your side of a VPN connection.
Router: Routers interconnect subnets and direct traffic between Internet gateways, virtual private gateways, NAT gateways, and subnets.
VPC Endpoint for S3: Enables Amazon S3 access from within your VPC without using an Internet gateway or NAT, and allows you to control the access using VPC endpoint p
LI>Egress-only Internet Gateway: A stateful gateway to provide egress only access for IPv6 traffic from the VPC to the Internet
Ans:Below are the steps of build a custome VPC:
Create a VPC
Create an internet gateway (IGW)
Attach the new IGW to your VPC
Create a new route table (RT)
Add the IGW as a route to the new RT
Add a subnet to the RTs subnet associations (this will be the public facing subnet)
Create web server (public subnet) and database server (private subnet) instances
Create a new security group for the NAT instance
Add HTTP and HTTPS inbound rules that allow traffic from the private subnets IP
Create a NAT instance (public subnet).
Search for amzn-ami-vpc-natChoose the first image.
Diable Auto-assign Public IP.
Add it to the NAT security group
Ans:Amazon VPC enables you to build a virtual network in the AWS cloud - no VPNs, hardware, or physical datacenters required. You can define your own network space and control how your network, and the Amazon EC2 resources inside your network, is exposed to the Internet. You can also leverage the greatly enhanced security options in Amazon VPC to provide more granular access both to and from the Amazon EC2 instances in your virtual network
Ans:Stateful filtering tracks the origin of a request and can automatically allow the reply to the request to be returned to the originating computer. For example, a stateful filter that allows inbound traffic to TCP port 80 on a webserver will allow the return traffic, usually on a high numbered port (e.g., destination TCP port 63, 912) to pass through the stateful filter between the client and the webserver. The filtering device maintains a state table that tracks the origin and destination port numbers and IP addresses. Only one rule is required on the filtering device: Allow traffic inbound to the web server on TCP port 80.
Stateless filtering, on the other hand, only examines the source or destination IP addresss and the destination port, ignoring whether the traffic is a new request or a reply to a request. In the above example, two rules would need to be implemented on the filtering device: one rule to allow traffic inbound to the web server on TCP port 80, and another rule to allow outbound traffic from the webserver .
Related Article:AWS vs Azure
Ans:Yes. If an Internet gateway has been configured, Amazon VPC traffic bound for Amazon EC2 instances not within a VPC traverses the Internet gateway and then enters the public AWS network to reach the EC2 instance. If an Internet gateway has not been configured, or if the instance is in a subnet configured to route through the virtual private gateway, the traffic traverses the VPN connection, egresses from your datacenter, and then re-enters the public AWS network.
Ans:Ping (ICMP Echo Request and Echo Reply) requests to the router in your VPC are not supported. Ping between Amazon EC2 instances within VPC is supported as long as your operating system's firewalls, VPC security groups, and network ACLs permit such traffic.
Ans:Yes. You can use the Amazon VPC Flow Logs feature to monitor the network traffic in your VPC.
Ans:Amazon VPC is currently available in multiple Availability Zones in all Amazon EC2 regions.
Ans:You can use AMIs in Amazon VPC that are registered within the same region as your VPC. For example, you can use AMIs registered in us-east-1 with a VPC in us-east-1.
Ans:When you launch an Amazon EC2 instance you must specify the subnet in which to launch the instance. The instance will be launched in the Availability Zone associated with the specified subnet.
Ans:No. An Internet gateway is horizontally-scaled, redundant, and highly available. It imposes no bandwidth constraints.
Ans:Amazon EC2 security groups can be used to help secure instances within an Amazon VPC. Security groups in a VPC enable you to specify both inbound and outbound network traffic that is allowed to or from each Amazon EC2 instance. Traffic which is not explicitly allowed to or from an instance is automatically denied.
In addition to security groups, network traffic entering and exiting each subnet can be allowed or denied via network Access Control Lists (ACLs).
Ans:Security groups in a VPC specify which traffic is allowed to or from an Amazon EC2 instance. Network ACLs operate at the subnet level and evaluate traffic entering and exiting a subnet. Network ACLs can be used to set both Allow and Deny rules. Network ACLs do not filter traffic between instances in the same subnet. In addition, network ACLs perform stateless filtering while security groups perform stateful filtering.
Ans:When you create a subnet you must specify the Availability Zone in which to place the subnet. When using the VPC Wizard, you can select the subnet's Availability Zone in the wizard confirmation screen. When using the API or the CLI you can specify the Availability Zone for the subnet as you create the subnet. If you don’t specify an Availability Zone, the default "No Preference" option will be selected and the subnet will be created in an available Availability Zone in the region.
Ans:Yes. DescribeInstances() will return all running Amazon EC2 instances. You can differentiate EC2-Classic instances from EC2-VPC instances by an entry in the subnet field. If there is a subnet ID listed, the instance is within a VPC.
Ans:Yes. DescribeVolumes() will return all your EBS volumes.
Ans:The default VPC CIDR is 172.31.0.0/16. Default subnets use /20 CIDRs within the default VPC CIDR.
Ans:You can have one default VPC in each AWS region where your Supported Platforms attribute is set to "EC2-VPC".
Ans:One default subnet is created for each Availability Zone in your default VPC.
Ans:Yes. Cluster instances are supported in Amazon VPC, however, not all instance types are available in all regions and Availability Zones.
Ans:A default VPC is a logically isolated virtual network in the AWS cloud that is automatically created for your AWS account the first time you provision Amazon EC2 resources. When you launch an instance without specifying a subnet-ID, your instance will be launched in your default VPC.
Ans:When you launch resources in a default VPC, you can benefit from the advanced networking functionalities of Amazon VPC (EC2-VPC) with the ease of use of Amazon EC2 (EC2-Classic). You can enjoy features such as changing security group membership on the fly, security group egress filtering, multiple IP addresses, and multiple network interfaces without having to explicitly create a VPC and launch instances in the VPC.
Ans:If your AWS account was created after March 18, 2013 your account may be able to launch resources in a default VPC. See this Forum Announcement to determine which regions have been enabled for the default VPC feature set. Also, accounts created prior to the listed dates may utilize default VPCs in any default VPC enabled region in which you’ve not previously launched EC2 instances or provisioned Amazon Elastic Load Balancing, Amazon RDS, Amazon Elastic ache, or Amazon Redshift resources.
Ans:The Amazon EC2 console indicates which platforms you can launch instances in for the selected region, and whether you have a default VPC in that region. Verify that the region you'll use is selected in the navigation bar. On the Amazon EC2 console dashboard, look for "Supported Platforms" under "Account Attributes". If there are two values, EC2-Classic and EC2-VPC, you can launch instances into either platform. If there is one value, EC2-VPC, you can launch instances only into EC2-VPC. Your default VPC ID will be listed under "Account Attributes" if your account is configured to use a default VPC. You can also use the EC2 DescribeAccountAttributes API or CLI to describe your supported platforms.
Ans:Yes. To launch an instance into nondefault VPCs you must specify a subnet-ID during instance launch.
|Batch starts on 6th Dec 2023||
|Batch starts on 10th Dec 2023||
|Batch starts on 14th Dec 2023||