AWS Interview Questions

  • 1
    What is AWS?

    AWS stands for Amazon Web Services. AWS is a platform that provides on-demand resources for hosting web services, storage, networking, databases and other resources over the internet with a pay-as-you-go pricing.

  • 2
    What are key-pairs?

     Key-pairs are secure login information for your instances/virtual machines. To connect to the instances we use key-pairs that contain a public-key and private-key.

  • 3
    What are the types of volumes for EC2 instances?

    There are two types of volumes:

    • Instance store volumes
    • EBS – Elastic Block Stores
  • 4
    What is an auto-scaling and what are the components?

    Auto scaling allows you to automatically scale-up and scale-down the number of instances depending on the CPU utilization or memory utilization. There are 2 components in Auto scaling, they are Auto-scaling groups and Launch Configuration.

  • 5
     What is an AMI?

    AMI stands for Amazon Machine Image. AMI is a template that contains the software configurations, launch permission and a block device mapping that specifies the volume to attach to the instance when it is launched.

  • 6
    What are reserved instances?

    Reserved instances are the instance that you can reserve a fixed capacity of EC2 instances. In reserved instances you will have to get into a contract of 1 year or 3 years.

  • 7
    What are the components of AWS?

    • EC2 : Elastic Compute Cloud
    • S3 : Simple Storage Service Route53
    • EBS:  Elastic Block Store, Cloudwatch,
    • Key: Paris are few of the components of AWS.
  • 8
    What is S3?

     S3 stands for Simple Storage Service. It is a storage service that provides an interface that you can use to store any amount of data, at any time, from anywhere in the world. With S3 you pay only for what you use and the payment model is pay-as-you-go.

  • 9
    What are the pricing models for EC2 instances?

    The different pricing model for EC2 instances are as below:

    • On-demand
    • Reserved
    • Spot
    • Scheduled
    • Dedicated
  • 10
    What is an EIP?

    EIP stands for Elastic IP address. It is designed for dynamic cloud computing. When you want to have a static IP address for your instances when you stop and restart your instances, you will be using an EIP address.

  • 11
    What are the types in cloudwatch?

    There are 2 types in cloud watch. Basic monitoring and detailed monitoring. Basic monitoring is free and detailed monitoring is chargeable.

  • 12
     What is the minimum and maximum size of individual objects that you can store in S3

    The minimum size of individual objects that you can store in S3 is 0 bytes and the maximum bytes that you can store for individual objects is 5TB.

  • 13
    What is the default storage class in S3?

    The default storage class in S3 in Standard frequently accessed.

  • 14
    How can you secure the access to your S3 bucket?

    There are two ways that you can control the access to your S3 buckets:

    • ACL: Access Control List
    • Bucket policies
  • 15
    What is glacier?

    Glacier is the backup or archival tool that you use to back up your data in S3.

  • 16
    What are the cloudwatch metrics that are available for EC2 instances?

    Diskreads, Diskwrites, CPU utilization, networkpacketsIn, networkpacketsOut, networkIn, networkOut, CPUCreditUsage, CPUCreditBalance.

  • 17
    What is Cloudwatch?

    Cloudwatch is a monitoring tool that you can use to monitor your various AWS resources. Like health check, network, Application, etc.

  • 18
     What is the prerequisite to work with Cross region replication in S3?

    You need to enable versioning on both source bucket and destination to work with cross region replication. Also both the source and destination bucket should be in different regions.

  • 19
     What are roles?

    Roles are used to provide permissions to entities that you trust within your AWS account. Roles are users in another account. Roles are similar to users but with roles you do not need to create any username and password to work with the resources.

  • 20
    What is cloudfront?

    Cloudfront is an AWS web service that provides businesses and application developers an easy and efficient way to distribute their content with low latency and high data transfer speeds. Cloudfront is the content delivery network of AWS.

  • 21
    What is the maximum individual archive that you can store in glacier?

     You can store a maximum individual archive of upto 40 TB.

  • 22
    What is VPC peering connection?

    VPC peering connection allows you to connect 1 VPC with another VPC. Instances in these VPC behave as if they are in the same network.

  • 23
     How can you control the security of your VPC?

    You can use security groups and NACL (Network Access Control List) to control the security to your VPC.

  • 24
    What are NAT gateways?

    NAT stands for Network Address Translation. NAT gateways enable instances in a private subnet to connect to the internet but prevent the internet from initiating a connection with those instances.

  • 25
    What are the different types of storage gateway?

    Following are the types of storage gateway:

    • File gateway
    • Volume gateway
    • Tape gateway
  • 26
    What is a snowball?

     Snowball is a data transport solution that uses source appliances to transfer large amounts of data into and out of AWS. Using snowball, you can move huge amounts of data from one place to another which reduces your network costs, long transfer times and also provides better security.

  • 27
    What is a redshift?

    Amazon red shift is a data warehouse product. It is a fast and powerful, fully managed, petabyte scale data warehouse service in the cloud.

  • 28
    What is SNS?

    SNS stands for Simple Notification Service. SNS is a web service that makes it easy to make notifications from the cloud. You can set up SNS to receive email notification or message notification.

  • 29
    What is the maximum size of messages in SQS?

    The maximum size of messages in SQS is 256 KB.

  • 30
    What are the types of queues in SQS?

    There are 2 types of queues in SQS:

    • Standard queue
    • FIFO (First In First Out)
  • 31
    What are the types of backups in an RDS database?

    There are 2 types of backups in the RDS database:

    • Automated backups
    • Manual backups which are known as snapshots.
  • 32
     What is an ELB?

    ELB stands for Elastic Load balancing. ELB automatically distributes the incoming application traffic or network traffic across multiple targets like EC2, containers, IP addresses.

  • 33
    What are the benefits of auto scaling?

     Following are the benefits of auto scaling:

    • Better fault tolerance
    • Better availability
    • Better cost management
  • 34
    What are shared AMI’s?

    Shared AMI’s are the AMI that are created by other developed and made available for other developed to use.

  • 35
    What is the difference between the classic load balancer and application load balancer?

    Dynamic port mapping, multiple port multiple listeners is used in Application Load Balancer, One port one listener is achieved via Classic Load Balancer

  • 36
    What is meant by subnet?

    A large section of IP Address divided in to chunks are known as subnets

  • 37
     Is it possible to reduce ebs volume?

    No it’s not possible, we can increase it but not reduce them

  • 38
    One of my s3 buckets is deleted but i need to restore is there any possible way?

    If versioning is enabled we can easily restore them

  • 39
     I need to modify the ebs volumes in Linux and windows is it possible

    Yes it’s possible from console use modify volumes in section give the size u need then for windows go to disk management for Linux mount it to achieve the modification.

  • 40
    What is meant by parameter groups in rds. And what is the use of it?

    Since RDS is a managed service AWS offers a wide set of parameter in RDS as parameter group which is modified as per requirement

  • 41
    By default how many Elastic Ip address does AWS Offer?

     5 elastic ip per region

  • 42
    You are enabled in a sticky session with ELB. What does it do with your instance?

    Binds the user session with a specific instance.

  • 43
    Which virtual network interface can you attach to an instance in a VPC?

    Elastic Network Interface.

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

    IAAS-Storage

  • 45
    Which are the types of AMI provided by AWS?

    Instance Store backed, EBS Backed

  • 46
     When do I prefer to provision IOPS over the Standard RDS storage?

    If you have to be batch-oriented, it is workloads.

  • 47
    Which statements are suitable for Amazon DynamoDB?

    The storing metadata for the Amazon S3 objects & The Running of relational joins and complex updates.

  • 48
    What does the Connection of draining do?

    The re-routes traffic from the instances which are to be updated (or) failed and health to check.

  • 49
    What is the life cycle of hooks used for AutoScaling?

    They are used to the put an additional taken wait time to the scale in or scale out events.

  • 50
    Which of the services would you not use to deploy an app?

    Lambda app not used on deploy.