31) What are the different database types in RDS?
Following are the different database types in RDS:
Amazon Aurora
It is a database engine developed in RDS. Aurora database can run only on AWS infrastructure not like MySQL database which can be installed on any local device. It is a MySQL compatible relational database engine that combines the speed and availability of traditional databases with the open source databases. To know more about Amazon Aurora, click on the link given below: Click Here
Postgre SQL
PostgreSQL is an open source relational database for many developers and startups.
It is easy to set up, operate, and can also scale PostgreSQL deployments in the cloud.
You can also scale PostgreSQL deployments in minutes with cost-efficient.
PostgreSQL database manages time-consuming administrative tasks such as PostgreSQL software installation, storage management, and backups for disaster recovery.
MySQL
It is an open source relational database.
It is easy to set up, operate, and can also scale MySQL deployments in the cloud.
By using Amazon RDS, you can deploy scalable MySQL servers in minutes with cost-efficient.
MariaDB
It is an open source relational database created by the developers of MySQL.
It is easy to set up, operate, and can also scale MariaDB server deployments in the cloud.
By using Amazon RDS, you can deploy scalable MariaDB servers in minutes with cost-efficient.
It frees you from managing administrative tasks such as backups, software patching, monitoring, scaling and replication.
Oracle
It is a relational database developed by Oracle.
It is easy to set up, operate, and can also scale Oracle database deployments in the cloud.
You can deploy multiple editions of Oracle in minutes with cost-efficient.
It frees you from managing administrative tasks such as backups, software patching, monitoring, scaling and replication.
You can run Oracle under two different licensing models: "License Included" and "Bring Your Own License (BYOL)". In License Included service model, you do need have to purchase the Oracle license separately as it is already licensed by AWS. In this model, pricing starts at $0.04 per hour. If you already have purchased the Oracle license, then you can use the BYOL model to run Oracle databases in Amazon RDS with pricing starts at $0.025 per hour.
SQL Server
SQL Server is a relational database developed by Microsoft.
It is easy to set up, operate, and can also scale SQL Server deployments in the cloud.
You can deploy multiple editions of SQL Server in minutes with cost-efficient.
It frees you from managing administrative tasks such as backups, software patching, monitoring, scaling and replication.
32) What is Redshift?
Redshift is a fast, powerful, scalable and fully managed data warehouse service in the cloud.
It provides ten times faster performance than other data warehouse by using machine learning, massively parallel query execution, and columnar storage on high-performance disk.
You can run petabytes of data in Redshift datawarehouse and exabytes of data in your data lake built on Amazon S3.
To know more about Amazon Redshift, click on the link given below: Click Here
33) What is SNS?
SNS stands for Simple Notification Service. It is a web service that provides highly scalable, cost-effective, and flexible capability to publish messages from an application and sends them to other applications. It is a way of sending messages. If you want to know more about SNS, click on the link given below:
Click Here
34) What are the different types of routing policies in route53?
Following are the different types of routing policies in route53:
Simple Routing Policy
Simple Routing Policy is a simple round-robin policy which is applied to a single resource doing the function for the domain, For example, web server is sending the content to a website where web server is a single resource.
It responds to DNS queries based on the values present in the resource.
Weighted Routing Policy
Weighted Routing Policy allows you to route the traffic to different resources in specified proportions. For example, 75% in one server, and 25% in another server.
Weights can be assigned in the range from 0 to 255.
Weight Routing policy is applied when there are multiple resources accessing the same function. For example, web servers accessing the same website. Each web server will be given a unique weight number.
Weighted Routing Policy associates the multiple resources to a single DNS name.
Latency-based Routing Policy
Latent-based Routing Policy allows Route53 to respond to the DNS query at which data center gives the lowest latency.
Latency-based Routing policy is used when there are multiple resources accessing the same domain. Route53 will identify the resource that provides the fastest response with lowest latency.
Failover Routing Policy
Geolocation Routing Policy
35) What is the maximum size of messages in SQS?
The maximum size of message in SQS IS 256 KB.
36) Differences between Security group and Network access control list?
Security Group NACL (Network Access Control List)
It supports only allow rules, and by default, all the rules are denied. You cannot deny the rule for establishing a connection. It supports both allow and deny rules, and by default, all the rules are denied. You need to add the rule which you can either allow or deny it.
It is a stateful means that any changes made in the inbound rule will be automatically reflected in the outbound rule. For example, If you are allowing an incoming port 80, then you also have to add the outbound rule explicitly. It is a stateless means that any changes made in the inbound rule will not reflect the outbound rule, i.e., you need to add the outbound rule separately. For example, if you add an inbound rule port number 80, then you also have to explicitly add the outbound rule.
It is associated with an EC2 instance. It is associated with a subnet.
All the rules are evaluated before deciding whether to allow the traffic. Rules are evaluated in order, starting from the lowest number.
Security Group is applied to an instance only when you specify a security group while launching an instance. NACL has applied automatically to all the instances which are associated with an instance.
It is the first layer of defense. It is the second layer of defense.
37) What are the two types of access that you can provide when you are creating users?
There are two types of access:
Console Access
If the user wants to use the Console Access, a user needs to create a password to login in an AWS account.
Programmatic access
If you use the Programmatic access, an IAM user need to make an API calls. An API call can be made by using the AWS CLI. To use the AWS CLI, you need to create an access key ID and secret access key.
38) What is subnet?
When large section of IP address is divided into smaller units is known as subnet.
AWS Interview Questions
A Virtual Private Cloud (VPC) is a virtual network provided to your AWS account. When you create a virtual cloud, you need to specify the IPv4 addresses which is in the form of CIDR block. After creating a VPC, you need to create the subnets in each availability zone. Each subnet has a unique ID. When launching instances in each availability zone, it will protect your applications from the failure of a single location.
39) Differences between Amazon S3 and EC2?
S3
It is a storage service where it can store any amount of data.
It consists of a REST interface and uses secure HMAC-SHA1 authentication keys.
EC2
It is a web service used for hosting an application.
It is a virtual machine which can run either Linux or Windows and can also run the applications such as PHP, Python, Apache or other databases.
40) Can you establish a peering connection to a VPC in a different region?
No, it's not possible to establish a peering connection to a VPC in a different region. It's only possible to establish a peering connection to a VPC in the same region.
41) How many subnets can you have per VPC?
You can have 200 subnets per VPC.
42) When EC2 officially launched?
EC2 was officially launched in 2006.
43) What is Amazon Elasticache?
An Amazon Elasticache is a web service allows you to easily deploy, operate, and scale an in-memory cache in the cloud. To know more about the Amazon Elasticache, click on the link given below:
Click Here
44) What are the types of AMI provided by AWS?
There are two types of AMI provided by AWS:
Instance store backed
An instance-store backed is an EC2 instance whose root device resides on the virtual machine's hard drive.
When you create an instance, then AMI is copied to the instance.
Since "instance store-backed" instances root device is stored in the virtual machine's hard drive, so you cannot stop the instance. You can only terminate the instance, and if you do so, the instance will be deleted and cannot be recovered.
If the virtual machine's hard drive fails, then you can lose your data.
You need to leave this instance-store instance in a running state until you are completely done with it.
You will be charged from the moment when your instance is started until your instance is terminated.
EBS backed
An "EBS backed" instance is an EC2 instance that uses EBS volume as a root device
EBS volumes are not tied to a virtual hardware, but they are restricted to an availability zone. This means that EBS volume is moved from one machine to another machine within the same availability zone.
If the virtual machine's fails, then the virtual machine can be moved to another virtual machine.
The main advantage of "EBS backed" over "instance store-backed" instances is that it can be stopped. When an instance is in a stopped state, then EBS volume can be stored for a later use. The virtual machine is used for some other instance. In stopped state, you are not charged for the EBS storage.
45) What is Amazon EMR?
An Amazon EMR stands for Amazon Elastic MapReduce. It is a web service used to process the large amounts of data in a cost-effective manner. The central component of an Amazon EMR is a cluster. Each cluster is a collection of EC2 instances and an instance in a cluster is known as node. Each node has a specified role attached to it known as a node type, and an Amazon EMR installs the software components on node type.
Following are the node types:
AWS Interview Questions
Master node
A master node runs the software components to distribute the tasks among other nodes in a cluster. It tracks the status of all the tasks and monitors the health of a cluster.
Core node
A core node runs the software components to process the tasks and stores the data in Hadoop Distributed File System (HDFS). Multi-node clusters will have at least one core node.
Task node
A task node with software components processes the task but does not store the data in HDFS. Task nodes are optional.