Master
Master
Monolithic archietecture is built as one large system and is usually one code-base.
A microservices architecture however is where an app is built as a suite of small
services,each with their own code-base.
2.What is elastic IP?.
Elastic IP is mapping static IP(unique IP) address to your ec2 instance. By default
when you create EC2 instance, Amazon will assign dynamic IP(change when you
reboot the ec2 instance).When you require static IP for your instance in that case
you can choose Elastic IP.
To use an Elastic IP address, you first allocate one to your account, and then
associate it with your instance or a network interface. To ensure efficient use of
Elastic IP addresses, we impose a small hourly charge if an Elastic IP address is not
associated with a running instance, or if it is associated with a stopped instance or
an unattached network interface.
3.What is EC2?
Amazon EC2 (Elastic Compute Cloud) is a web service interface that provides resizable
compute capacity in the AWS cloud. It is designed for developers to have complete control
over web-scaling and computing resources.
EC2 instances can be resized and the number of instances scaled up or down as per our
requirement. These instances can be launched in one or more geographical locations or
regions, and Availability Zones (AZs). Each region comprises of several AZs at distinct
locations, connected by low latency networks in the same region.
4.How does Elastic Load Balancer work?
A load balancer accepts incoming traffic from clients and routes requests to its registered
targets (such as EC2 instances) in one or more Availability Zones. It then resumes routing
traffic to that target when it detects that the target is healthy again.
5.What is S3?What is it used for?
Amazon Simple Storage Service is storage for the Internet. It is designed to make web-scale
computing easier for developers. Amazon S3 has a simple web services interface that you
can use to store and retrieve any amount of data, at any time, from anywhere on the web.
It is used for:
industry-leading scalability, data availability, security, and performance.
6.What is the difference between terminating and stopping an EC2 instance?
Terminate Instance- When you terminate an EC2 instance, the instance will be shutdown
and the virtual machine that was provisioned for you will be permanently taken away and
you will no longer be charged for instance usage. Any data that was stored locally on the
instance will be lost. Any attached EBS volumes will be detached and deleted. However, if
you attach an EBS Snapshot to an instance at boot time, the default option in the
Dashboard is to delete the attached EBS volume upon termination.
Stop Instance- When you stop an EC2 instance, the instance will be shutdown and the
virtual machine that was provisioned for you will be permanently taken away and you will
no longer be charged for instance usage. The key difference between stopping and
terminating an instance is that the attached bootable EBS volume will not be deleted. The
data on your EBS volume will remain after stopping while all information on the local
(ephemeral) hard drive will be lost as usual. The volume will continue to persist in its
availability zone. Standard charges for EBS volumes will apply.
7. What is the boot time for an instance store backed instance ?
The boot time for a store backed instance in Amazon EBS-backed AMI is less than 1 minute
whereas for Amazon instances store backed AMI is less than 5 minutes usually.
8. Differentiate between vertical and horizontal scaling in AWS.
Horizontal Scaling helps to change the number of nodes without changing the size whereas
in Vertical Scaling the size, computing power are increased in AWS.
9. What is the total number of buckets that can be created in AWS by default ?
100 buckets can be created in AWS by default .Additional buckets can be added up to a
maximum of 1,000 buckets with some limitations.
10. Differentiate between Amazon RDS, Redshift and Dynamo DB.
Amazon Redshift is a completely managed data warehouse service whereas dynamo DB is a
NoSQL database offered as a service and Amazon RDS focus on relational database.
11. How To Use Amazon Sqs?
The Amazon Sqs can be used by creating a queue followed by sending message and can be
used followed by deleting the queue.
12. What are the different types of cloud services?
The three main service models of cloud computing are Infrastructure as a Service (IaaS),
Platform as a Service (PaaS) and Software as a Service (SaaS).
13.What is Geo Restriction in CloudFront?
Geo Restriction is a new feature to restrict access to content on the basis of geographic
location of the viewers. The content can be delivered by choosing the countries using Geo
Restriction.
14. 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.
15.What are key-pairs in AWS?
Key-pairs are secure login information for your virtual machines. To connect to the
instances, you can use key-pairs which contain a public-key and private-key.
16. Is the property of broadcast or multicast supported by Amazon VPC?
No, currently Amazon VPI not provide support for broadcast or multicast.
17. How many Elastic IPs is allows you to create by AWS?
5 VPC Elastic IP addresses are allowed for each AWS account.
18. Explain default storage class in S3
The default storage class is a Standard frequently accessed.
19. What are the Roles?
Roles are used to provide permissions to entities which you can trust within your AWS
account. Roles are very similar to users. However, with roles, you do not require to create
any username and password to work with the resources.
20. What is meant by subnet?
A large section of IP Address divided into chunks is known as subnets.
21. 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.
22. How many subnets can you have per VPC?
You can have 200 subnets per VPC.
23. 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.
24. 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.
25. When EC2 officially launched?
EC2 officially launched in the year 2006.
26. What is SimpleDB?
SimpleDB is a data repository of structure record which encourages data doubts and
indexing both S3 and EC2are called SimpleDB.
27. Explain Amazon ElasticCache
Amazon Elasticcache is a web service which makes it easy to deploy, scale and store data in
the cloud.
28. What is boot time taken for the instance stored backed AMI?
The boot time for an Amazon instance store-backend AMI is less than 5 minutes.
28. Do you need an internet gateway to use peering connections?
Yes, the Internet gateway is needed to use VPC (virtual private cloud peering) connections.
29. What are the different types of Load Balancer in AWS services?
Two types of Load balancer are:
Application Load Balancer
Classic Load Balancer
1. What is GIT?
GIT is a distributed version control system and source code management (SCM) system with
an emphasis to handle small and large projects with speed and efficiency.
2. Diff between git fetch and git pull ?
Git fetch only fetch the details of recent changes done in remote repo where as Git pull
fetches the details of recent changes done in remote repo and also downloads it in local
repo i.e –git fetch + merge
3. Whats is docker ?
Platform as a service products that use OS-level virtualization to deliver software in
packages called containers.Containers are isolated from one another and bundle their own
software, libraries and configuration files they can communicate with each other through
well-defined channels.
4. Docker Container and VM – What is the difference ?
containers provide a way to virtualize an OS so that multiple workloads can run on a single
OS instance. They are microservices with VMs, the hardware is being virtualized to run
multiple OS instances. They are monolithic application
5. What is Jenkins?
Jenkins is an open source continuous integration (CI) server. It manages and controls several
stages of the software delivery process, including build, documentation, automated testing,
packaging, and static code analysis.
6. What is Ansible?
Ansible is an open source IT automation engine that automates provisioning, configuration
management, application deployment, orchestration, and many other IT processes. It is free
to use, and the project benefits from the experience and intelligence of its thousands of
contributors.