Fatskills
Practice. Master. Repeat.
Study Guide: All The Useful AWS Interview Questions & Answers
Source: https://www.fatskills.com/aws-101/chapter/all-the-useful-aws-interview-questions-answers

All The Useful AWS Interview Questions & Answers

By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.

⏱️ ~7 min read

Q 1. How do I connect to Amazon S3?
To connect to Amazon S3, we have to follow these below-mentioned steps:
Get the login credentials from Amazon Portal - Access Credentials web page.
Then, open a new connection
Go to menu - File - Connection
Now select the S3 protocol
After that select Amazon S3
Enter the previously obtained username and password
Finally, click OK to connect

Q 2. What is the max size of an object that can be uploaded through the S3 console?
The individual objects that can be uploaded through the s3 console can range from 0 bytes to a maximum limit of 5 terabytes, whereas the most massive object that can be uploaded in a single PUT is 5 gigabytes. Customers have to use Multipart Upload capability to upload an object more significant than 100 megabytes.

Q 3. How to connect to VPC in different regions?

You can build a connection between two VPC in different region.
Taking an example of EC2 instance trying to connect to a DB Instance.
Your EC2 must use public IP.
Your Db Instance must allow public access, i.e. it must be in a public subnet.
You must give public access while you create the DB Instance

Q 4. How many security groups are there in VPC?
Five security groups

Q 5. What is scalability AWS?
In AWS, scalability is a system able to increase the workload on its current hardware resources. It accommodates larger loads by adding resources either by adding additional nodes or making hardware stronger.

Q 6. How do I enable auto-scaling in AWS?
To set up auto-scaling in AWS, follow these steps:
Access EC2 console and select Launch Configuration from Auto Scaling
Choose AMI and select Amazon Machine Image present in My AMIs tab
Choose the type of the instance and click configure details
Now name the configuration
Add storage and security groups
Click on Create launch configuration

Q 7. What is ec2 in AWS?
EC2 or Elastic Compute Cloud is a web-based service that permits businesses to run application programs in the Amazon Web Services public cloud. The service is specially designed to make web-scale cloud computing easier for developers. It also allows developers to obtain as well as configure capacity with minimal friction.

Q 8. What does s3 stand for in AWS?
Amazon S3 stands for Amazon Simple Storage Service which is an Amazon Web Services offered simple storage service and offers object storage through a web service interface.

Q 9. What is AMI and how to create an AWS AMI?
AMI or Amazon Machine Image is a virtual appliance particular type, used to instantiate a virtual machine within Amazon EC2 or Amazon Elastic Compute Cloud. AMI serves as the basic deployment unit for services delivered using EC2.

10. What is the difference between snapshot and AMI?

Snapshot vs    AMI

1.    A snapshot of the file system that user able to mount to an EC2 instance.    - It's a pre-built image of the server that users can deploy to EC2.
2.    Holds only data that has changed since the previous snapshot.     - When AMI is created, it holds a partial record of the volume.

Q 11. What is lifecycle hook in AWS?
In AWS, the lifecycle hook is a feature included in the auto scaling which helps to control instance launch and termination state within the auto scaling group. It remains in a waiting mode for a certain amount of time when the instance is paused. We can create lifecycle hooks by using the command

put-lifecycle-hook. Lifecycle hooks are also customizable with various actions such as by defining a target notification for the lifecycle hook, creating an instance running script as the instance starts or determining a CloudWatch Event target to invoke functions associated with the Lambda when the lifecycle action occurs.

Q 12. What is lambda and why AWS lambda is used?
AWS Lambda is an advance compute service that lets users run code without managing or provisioning servers. Users can also build here serverless applications which are composed of functions and triggered by events and automatically deployed using AWS CodeBuild and CodePipeline.

 

The AWS Lambda is used to:

Build on-demand and smaller applications which are responsive to events and new information.
Support native Linux executables operate securely by calling them out from a supported runtime.
Execute code in response to triggers.
Real time file and stream processing.
Perform data sorting, filtering, validation and other changes for data in a DynamoDB table and then load them to another data store.

Q 13. What is Amazon CloudFront used for?
Amazon CloudFront is an advanced content delivery network offered by AWS which provide a globally-distributed network of proxy servers that cache content such as web videos and another type of big media, locally to consumers. This exceptionally improves the access speed for downloading the content for users.

Q 14. What is Load Balancer and how it works in AWS?
In AWS, the load balancer improves responsiveness and exceptionally increases the availability of applications. It sits between server firm and client accepting application traffic, incoming network and distributing that traffic across multiple backend servers with the help of various methods. It agrees with the client's incoming traffic and routes requests to the registered targets in availability zones. The load balancer also reviews the health of registered marks and makes sure that the traffic should only be routed to useful destinations.

Q 15. How to create a classic load balancer in AWS?
Follow the below mentioned steps to create a classic load balancer:
Select a load balancer type
Define that load balancer
Now assign security groups to that load balancer in VPC
Then configure health checks for EC2 instances
Continue with a registeringEC2 instance with a load balancer
Tag the load balancer
Now create and verify that load balancer to finish the proces

Q 16. What is RDS in AWS?
Amazon RDS or Amazon Relational Database Service is a web-based service which helps users for cloud-based relational database setup, operation, and scale. It offers excellent resizable capacity and cost efficient for a relational database which is industry stranded and also manages common database administration tasks.

Q 17. What is AWS and how does it work?
Simplified, AWS of Amazon Web Service is a wide range of advanced cloud computing applications which allows users to lease Amazon's servers instead of purchasing their own. This makes storing a large amount of data and running applications faster, cheaper and more comfortable. AWS owns network-connected hardware required for application services, while users provision and utilize as per their requirements via various web applications.

Q 18. . What is the purpose of AWS?
To operate application and web servers in the cloud for dynamic web hosting.
Large and secure cloud-based platform to store files and easy access them anywhere and anyplace.
Use of most advanced and popular databases such as Oracle, PostgreSQL, SQL Server or MySQL to store user preferred information.

Quick delivery of dynamic and static files around the globe using CDN - Content Delivery Network.
Deliver user-specified services only
Bulk email sending to customers.

Q 19. What is the advantage and disadvantage of cloud computing?

Advantages Vs Disadvantages

1.    Cost efficient option  -  Vulnerability to online attacks
2.    Excellent accessibility  -  Dependency on network connectivity
3.    Easy backup and data restoration -   Vendor lock-in
4.    Strategic edge  -  Limited control
5.    Quick and efficient manageability -   Downtime
6.    Sporadic -  batch processing     

Q 20. What are the components of VPC?

Here is the list of components present in VPC:
Network Interfaces
Internet Gateways
DHCP Options Sets
Route Tables
Egress-Only Internet Gateways
DNS
VPC Endpoints
Elastic IP Addresses
VPC Peering
ClassicLink
NAT

Other important AWS questions: (Just do a Google search for each question)

21. What is AWS subnet?
22. How do I create a subnet on AWS?
23. What is an Elastic IP in AWS?
24. How do I create an elastic IP on AWS?
25. What happens to your data when an ec2 instance is terminated?
26. What is Route propagation in AWS?
27. What is t2 in AWS?
28. Can we change the instance type in AWS?
29 . What is the difference between AWS and ec2?
30. Explain the difference between Amazon EBS and s3?
31. What is ElastiCache used for?



ADVERTISEMENT