0% found this document useful (0 votes)
66 views1 page

AWS Interview Questions

The document provides answers to common AWS interview questions related to EC2 instances, EBS volumes, load balancers, and networking. It includes how to increase EBS volume size, take snapshots, copy snapshots across Availability Zones, encrypt EBS volumes, change EC2 instance types, deploy load balancers across zones, use target groups, define public and private IP addresses, and configure SSH access to EC2 instances.

Uploaded by

skamalbasha814
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views1 page

AWS Interview Questions

The document provides answers to common AWS interview questions related to EC2 instances, EBS volumes, load balancers, and networking. It includes how to increase EBS volume size, take snapshots, copy snapshots across Availability Zones, encrypt EBS volumes, change EC2 instance types, deploy load balancers across zones, use target groups, define public and private IP addresses, and configure SSH access to EC2 instances.

Uploaded by

skamalbasha814
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

AWS Interview Questions:

#4 AWS Interview Question can ask:--

1. how to increase size of ebs volume?


- so firstly go to the ec2 console then go to the volume section and select ebs volume of which you want to resize then go to
the action and modify volume and mention new size for volume and save changes.

2. how to take backup of critical data?


- so go to the ec2 console then go to the volume section from left sidebar section then select volume of which you want to
take snapshot then confirm it.

3. how to replicate a snapshot from one AZ to another AZ?


- so firstly go to the snapshots section then select snapshot which you want to copy then go to action section to copy
snapshot and select destination region and configure other thing such as encryption or adding a description and save it.

4. how to protect ebs volume data at rest?


- so in that case, you can use aws kms key to allow you to control access to keys and audit key usage.

5. how to change instance type of ec2 instance?


- so firstly we need to stop instance of which you want to change instance type then go to the action and select instance
setting and select new instance type under change instance type to meet your requirement and apply changes.

6. how to deploy multiple load balancer behind a dns endpoint within a load balancer pool?
- so firstly we need to create multiple elb across availability zones with configuration such as listeners, target groups, health
checks then setup health check in route 53 to monitor of each elb and then create dns record set for your domain and
configure failover routing policiy. this policy allow you to route traffic to the secondary elb when the health check determines
that the primary elb is unhealthy. so then you can test.

7. why we use target group?


- target groups are used to route incoming request to specifice sets of instances based on rules defined within the load
balancer. and it can dynamic registration of instances as a result it automatically registered or deregistered based on
condition such as health checks.

8. what is public ip address and private ip address?


- it is globally unique on the internet. it is routable over the internet and serve as the network address for devices accessible
from the public internet.
private ip address? --- it is use within a private network and is not routable over the public internet. and it is resered for use
within private networks and are not directly accessible from the internet.

9. how to allow specific user to take ssh of ec2 instance?


- so firstly check ssh key pair available or not on local machine if not need to generate it by using ssh-keygen then connect
to ec2 instance using ssh then create user if not existing then create .ssh directory on ec2 server and paste the public key to
authoried_key adn then modify the ssh configuration file "/etc/ssh/sshd_config" such as allowuser ec2-user specificuser and
then restart the ssh service and then you can verify.

You might also like