AWS Interview Questions for Freshers/AWS Interview Questions and Answers for Freshers & Experienced

If in CloudFront the content is not present at an edge location, what will happen when a request is made for that content?

CloudFront will deliver the content directly from the origin server. It will also store the content in the cache of the edge location where the content was missing.

What is the use of lifecycle hooks in Autoscaling?

Lifecycle hooks are used for autoscaling to put an additional wait time to a scale in or scale out event.

What do you understand by stopping and terminating an EC2 Instance?

Stopping an EC2 instance means to shut it down as you would normally do on your Personal Computer. This will not delete any volumes attached to the instance and the instance can be started again when needed.

On the other hand, terminating an instance is equivalent to deleting an instance. All the volumes attached to the instance get deleted and it is not possible to restart the instance if needed at a later point in time.

State the difference between An Instance and AMI

AMI is a template consisting software configuration part. For example Operating systems, applications, application server if you start an instance, a duplicate of the AMI in a row as an attendant in the cloud.

What is the relation between the Availability Zone and Region?

An AWS Availability Zone is a physical location where an Amazon data center is located. On the other hand, an AWS Region is a collection or group of Availability Zones or Data Centers.

This setup helps your services to be more available as you can place your VMs in different data centers within an AWS Region. If one of the data centers fails in a Region, the client requests still get served from the other data centers located in the same Region. This arrangement, thus, helps your service to be available even if a Data Center goes down.

Name the types of AMI provided by AWS

The types of AMI provided by AWS are:

1. Instance store backed
2. EBS backed

What is the role of AWS CloudTrail?

CloudTrail is a specially designed tool for logging and tracking API calls. It helps to audit all S3 bucket accesses.

Explain the types of instances available?

Below stated are the available instances:

* General-purpose
* Storage optimized
* Accelerated computing
* Computer-optimized
* Memory-optimized

You have created a VPC with private and public subnets. In what kind of subnet would you launch the database servers?

Database servers should be ideally launched in private subnets. Private subnets are ideal for the backend services and databases of all applications since they are not meant to be accessed by the users of the applications, and private subnets are not routable from the Internet.

What are the types of queues in SQS?

There are two types of queues in SQS. They are as follows:

Standard Queues: It is a default queue type. It provides an unlimited number of transactions per second and at least one message delivery option.

FIFO Queues: FIFO queues are designed to ensure that the order of messages is received and sent is strictly preserved as in the exact order that they sent.

DNS and Load Balancer service comes under which type of cloud service?

DNS and Load Balancer and DNS services come under IAAS-storage cloud service.

What are NAT gateways?

Network Address Translation (NAT) allows instances to connect in a private subnet with the internet and other AWS services. NAT prevents the internet to have an initial connection with the instances.

What is the importance of buffer in AWS?

A buffer helps to integrate and synchronize various components in AWS and helps to maintain equilibrium by linking multiple apparatus to deliver quick services at a uniform rate.

What is a Data lake?

Data Lake is a repository to store structured and unstructured data of any scale. They are mainly utilized in Big Data and Data Science since we can store data in its original form without any need to structure the Data and it is possible to perform various analysis to arrive at better solutions.

What is the VPC peering connection?

VPC peering connection is a networking connection that allows connecting one VPC with the other. It enables the route traffic between two VPCs using IPv6 and Ipv4 addresses. Instances within the VPCs behave like as they are in the same network.

What is VPC?

Virtual Private Cloud (VPC) allows you to launch AWS resources into the virtual network. It allows users to create and customize network configurations according to users’ business requirements.

What is CloudFront?

CloudFront is a content delivery network offered by AWS, and it speeds up the distribution of dynamic and static web content such as .css, .js, .html, and image files to the users. It delivers the content with low latency and high transfer speed to the users. AWS provides CDN for less price and it suits the best startups.

What is an EIP?

The Elastic IP address (EIP) is a static Ipv4 address offered by AWS to manage dynamic cloud computing services. Connect your AWS account with EIP so that if you want a static IPv4 address for your instance, you can be associated with the EIP which enables communication with the internet.

You have an application running on your Amazon EC2 instance. You want to reduce the load on your instance as soon as the CPU utilization reaches 100 percent. How will you do that?

It can be done by creating an autoscaling group to deploy more instances when the CPU utilization exceeds 100 percent and distributing traffic among instances by creating a load balancer and registering the Amazon EC2 instances with it.

What is SQS?

Simple Queue Service also known as SQS. It is distributed queuing service which acts as a mediator for two controllers.

Can you establish a Peering connection to a VPC in a different region?

Yes, we can establish a peering connection to a VPC in a different region. It is called inter-region VPC peering connection.

What are the advantages of auto-scaling?

Following are the advantages of autoscaling

<> Offers fault tolerance
<> Better availability
<> Better cost management

Explain snowball

Snowball is a data transport option. It used source appliances to a large amount of data into and out of AWS. With the help of snowball, you can transfer a massive amount of data from one place to another. It helps you to reduce networking costs.

What are the edge locations?

Edge location is the area where the contents will be cached. So, when a user is trying to accessing any content, the content will automatically be searched in the edge location.

Explain what T2 instances are?

T2 Instances are designed to provide moderate baseline performance and the capability to burst to higher performance as required by the workload.

Explain default storage class in S3

The default storage class is a Standard frequently accessed.

DNS and Load Balancer Services come under which type of Cloud Service?

DNS and Load Balancer are a part of IaaS-Storage Cloud Service.

What do you understand by VPC?

VPC stands for Virtual Private Cloud. It allows you to customize your networking configuration. VPC is a network that is logically isolated from other networks in the cloud. It allows you to have your private IP Address range, internet gateways, subnets, and security groups.

How many Elastic IPs is allows you to create by AWS?

5 VPC Elastic IP addresses are allowed for each AWS account.

What are the different types of instances?

Following are the types of instances:

* General purpose
* Computer Optimized
* Memory Optimized
* Storage Optimized
* Accelerated Computing

While connecting to your instance what are the possible connection issues one might face?

The possible connection errors one might encounter while connecting instances are

<> Connection timed out
<> User key not recognized by the server
<> Host key not found, permission denied
<> An unprotected private key file
<> Server refused our key or No supported authentication method available
<> Error using MindTerm on Safari Browser
<> Error using Mac OS X RDP Client

Explain how the buffer is used in Amazon web services?

The buffer is used to make the system more robust to manage traffic or load by synchronizing different component. Usually, components receive and process the requests in an unbalanced way. With the help of buffer, the components will be balanced and will work at the same speed to provide faster services.

How will you configure an Amazon S3 bucket to serve static assets for your public web application?

By configuring the bucket policy to provide public read access to all objects

That is all we have in our section on basic Amazon Web Services interview questions section. Let’s move onto the next section on AWS interview questions for experienced professionals.

Which one of the storage solutions offered by AWS would you use if you need extremely low pricing and data archiving?

Amazon Glacier. AWS Glacier is an extremely low-cost storage service offered by Amazon that is used for data archiving and backup purposes. The longer you store data in Glacier, the lesser it will cost you.

In VPC with private and public subnets, database servers should ideally be launched into which subnet?

With private and public subnets in VPC, database servers should ideally launch into private subnets.

Explain what T2 instances is?

T2 instances are designed to provide moderate baseline performance and the capability to burst to higher performance as required by the workload.

Explain can you vertically scale an Amazon instance? How?

Yes, you can vertically scale on Amazon instance. For that

> Spin up a new larger instance than the one you are currently running
> Pause that instance and detach the root webs volume from the server and discard
> Then stop your live instance and detach its root volume
> Note the unique device ID and attach that root volume to your new server
> And start it again

How many buckets can you create in AWS by default?

By default, you can create up to 100 buckets in each of your AWS accounts.

Is there a way to upload a file that is greater than 100 megabytes in Amazon S3?

Yes, it is possible by using multipart upload utility from AWS. With multipart upload utility, larger files can be uploaded in multiple parts that are uploaded independently. You can also decrease upload time by uploading these parts in parallel. After the upload is done, the parts will be merged into a single object or file to create the original file from which the parts were created.

What is an EIP?

The Elastic IP address (EIP) is a static Ipv4 address offered by AWS to manage dynamic cloud computing services. Connect your AWS account with EIP so that if you want a static IPv4 address for your instance, you can be associated with the EIP which enables communication with the internet.

What are the things that are included in the AMI?

An AMI consists of the things which are mentioned below:

>> A template for the instance
>> Launch permissions
>> A block mapping that decides the volume to be attached when it gets launched.

Why do we make subnets?

Creating subnets means dividing a large network into smaller ones. These subnets can be created for several reasons. For example, creating and using subnets can help reduce congestion by making sure that the traffic destined for a subnet stays in that subnet. This helps in efficiently routing the traffic coming to the network that reduces the network’s load.

What is the importance of buffer in Amazon Web Services?

An Elastic Load Balancer ensures that the incoming traffic is distributed optimally across various AWS instances. A buffer will synchronize different components and makes the arrangement additionally elastic to a burst of load or traffic. The components are prone to work in an unstable way of receiving and processing requests. The buffer creates an equilibrium linking various apparatus and crafts them work at an identical rate to supply more rapid services.

Mention what the relationship between an instance and AMI is?

From a single AMI, you can launch multiple types of instances. An instance type defines the hardware of the host computer used for your instance. Each instance type provides different computer and memory capabilities. Once you launch an instance, it looks like a traditional host, and we can interact with it as we would with any computer.

What is AMI?

AMI stands for Amazon Machine Image. It’s a template that provides the information (an operating system, an application server, and applications) required to launch an instance, which is a copy of the AMI running as a virtual server in the cloud. You can launch instances from as many different AMIs as you need.

Explain what S3 is?

S3 stands for Simple Storage Service. You can use S3 interface to store and retrieve any amount of data, at any time and from anywhere on the web. For S3, the payment model is “pay as you go.”

Mention what the key components of AWS are?

The key components of AWS are

>> Route 53:A DNS web service.

>> Simple E-mail Service:It allows sending e-mail using RESTFUL API call or via regular SMTP
Identity and Access Management:It provides enhanced security and identity management for your AWS account.

>> Simple Storage Device or (S3):It is a storage device and the most widely used AWS service.

>> Elastic Compute Cloud (EC2): It provides on-demand computing resources for hosting applications. It is handy in case of unpredictable workloads.

>> Elastic Block Store (EBS):It offers persistent storage volumes that attach to EC2 to allow you to persist data past the lifespan of a single Amazon EC2 instance.

>> CloudWatch: To monitor AWS resources, It allows administrators to view and collect key Also, one can set a notification alarm in case of trouble.

What are Key-pairs?

An Amazon EC2 uses public key cryptography which is used to encrypt and decrypt the login information. In public key cryptography, the public key is used to encrypt the information while at the receiver's side, a private key is used to decrypt the information. The combination of a public key and the private key is known as key-pairs. Key-pairs allows you to access the instances securely.

What is AWS?

AWS stands for Amazon Web Services. It is a service which is provided by the Amazon that uses distributed IT infrastructure to provide different IT resources on demand. It provides different services such as an infrastructure as a service, platform as a service, and software as a service.

Search
R4R Team
R4R provides AWS Freshers questions and answers (AWS Interview Questions and Answers) .The questions on R4R.in website is done by expert team! Mock Tests and Practice Papers for prepare yourself.. Mock Tests, Practice Papers,AWS Interview Questions for Freshers,AWS Freshers & Experienced Interview Questions and Answers,AWS Objetive choice questions and answers,AWS Multiple choice questions and answers,AWS objective, AWS questions , AWS answers,AWS MCQs questions and answers Java, C ,C++, ASP, ASP.net C# ,Struts ,Questions & Answer, Struts2, Ajax, Hibernate, Swing ,JSP , Servlet, J2EE ,Core Java ,Stping, VC++, HTML, DHTML, JAVASCRIPT, VB ,CSS, interview ,questions, and answers, for,experienced, and fresher R4r provides Python,General knowledge(GK),Computer,PHP,SQL,Java,JSP,Android,CSS,Hibernate,Servlets,Spring etc Interview tips for Freshers and Experienced for AWS fresher interview questions ,AWS Experienced interview questions,AWS fresher interview questions and answers ,AWS Experienced interview questions and answers,tricky AWS queries for interview pdf,complex AWS for practice with answers,AWS for practice with answers You can search job and get offer latters by studing r4r.in .learn in easy ways .