Download as pdf or txt
Download as pdf or txt
You are on page 1of 23

AWS S3 interview questions

 Explain AWS S3 bucket?


 What is the maximum size of S3 bucket?
 How to list objects of a S3 bucket?
 Explain process of mounting s3 to ec2 instance?
 How to install AWS s3 cli?
 How to clear AWS S3 cache?
 How to delete a AWS s3 bucket?
 How to get AWS S3 access key?
 What are options available for protecting data at rest in Amazon S3?
 Explain S3 Versioning? What are benefits of using versioning in S3.
 How to Configure Versioning on a Bucket?
 How to enable Multipart Upload capability in Amazon S3.
 What is AWS s3fs.

Below are the list of Best AWS S3 interview questions and Answers

1) Explain AWS S3 bucket?

Amazon S3 (Simple Storage Service) is a simple web service interface that allows huge amount of data
storage and retrival from anywhere from the internet.Its provides developers highly scalable, reliable,
fast and low cost data storage infrastructure.

2) What is the maximum size of S3 bucket?

In S3 bucket you can store unlimited volume of data and number of objects. A single Amazon S3 objects
can be a size of range 0 bytes to 5 terabytes. In single upload request You can put an object of around 5
GB but you must have to enable Multipart Upload capability.

3) How to list objects of a S3 bucket?

use aws s3 ls --recursive command on aws CLI to list all files or objects under the specified directory or
prefix

A V D GROUP | GIVE YOUR CAREER A LIFT 1


4) Explain process of mounting s3 to ec2 instance?

Follow below steps to mount s3 to ec2 instance


1. Update the system
apt-get update
2. Install the dependencies
sudo apt-get install automake autotools-dev fuse g++ git libcurl4-gnutls-dev libfuse-dev libssl-dev
libxml2-dev make pkg-config
3. Clone s3fs source code from git
git clone https://github.com/s3fs-fuse/s3fs-fuse.git
4. Run below commands to change source code directory, compile and install the code.
cd s3fs-fuse
./autogen.sh
./configure --prefix=/usr --with-openssl
make
sudo make install
5. Run s3fs command to check where command is placed
which s3fs
6. Get your access key and secret key ready.
7. Create a new file in /etc with the name passwd-s3fs and paste your access key and secret key.
touch /etc/passwd-s3fs
vim /etc/passwd-s3fs
Your_accesskey:Your_secretkey
8. Change the permission of the file
sudo chmod 640 /etc/passwd-s3fs
9. Now create a directory or provide the path of an existing directory and mount S3bucket in it.
mkdir /mys3bucket
s3fs your_bucketname -o use_cache=/tmp -o allow_other -o uid=1001 -o mp_umask=002 -o
multireq_max=5 /mys3bucket

5) How to install aws s3 cli?

Prerequisite to install AWS CLI.

 Python2 version 2.6.5+ or Python3 version 3.3+


 Windows, Linux, macOS,or Unix

After that, if you are using Unix or Linux system run below command to install AWS CLI

pip install awscli --upgrade --user

A V D GROUP | GIVE YOUR CAREER A LIFT 2


For window and other OS please
read: https://docs.aws.amazon.com/cli/latest/userguide/installing.html

Download Free : AWS S3 interview questions PDF

6) How to clear AWS S3 cache?

You can use invalidations to clear AWS S3 cache. To create invalidations login to AWS Console and go
to Distribution Settings > Invalidations > Create Invalidation. Once invalidation is created just type path
of file or a wildcard to purge the cache.

7) How to delete a AWS s3 bucket?

Here are steps to delete an S3 bucket:-

 Step1: Login to AWS Management Console.


 Step2: Select S3 from services.
 Step3: Check the bucket you want to delete.
 Step4: Click on the delete button. As confirmation Aws ask you to type the bucket name to
delete.
 Step5: Type bucket name and click on the Confirm button.

8) How to get AWS S3 access key?

9) What are options available for protecting data at rest in Amazon S3?

A V D GROUP | GIVE YOUR CAREER A LIFT 3


10) Explain S3 Versioning? What are benefits of using versioning in S3.

Versioning allows us to keep multiple variants of an object in a bucket. Versioning helps us to restore an
object to a previous or specific version of an object. You can take advantage of versioning to recover a
deleted or mistakenly overwritten object.

11) How to Configure Versioning on a Bucket?

Versioning helps you to keep multiple versions of an object in one bucket. Here are simple steps to
enable versioning on an S3 bucket.

 Step1: Login to your AWS console.


 Step2: From services choose S3.
 Step3: Select a bucket for which you want to enable versioning.
 Step4: Click on the properties tab.
 Step5: Choose versioning from properties.
 Step6: Choose to enable versioning and click on the Ok button.

12) How to enable Multipart Upload capability in Amazon S3.

13) What is AWS s3fs.

It is a FUSE filesystem. Amazon web services simple storage service supports it. It can be operated with
two different methods

1.Command method-

In this type of mode, s3fs is eligible for managing Amazon s3 buckets in several efficient methods.

2. Mount method-

It is used to mount the Amazon s3 bucket as a local file system.

This set of MCQs focuses on “Amazon Elastic Mapreduce”.

A V D GROUP | GIVE YOUR CAREER A LIFT 4


1. Amazon EMR also allows you to run multiple versions concurrently, allowing you to control your
___________ version upgrade.
a) Pig
b) Windows Server
c) Hive
d) Ubuntu
View Answer
Answer: c
Explanation: Amazon EMR supports several versions of Hive, which you can install on any running
cluster.

2. Point out the correct statement.


a) Amazon Elastic MapReduce (Amazon EMR) provides support for Apache Hive
b) Pig extends the SQL paradigm by including serialization formats and the ability to invoke mapper and
reducer scripts
c) The Amazon Hive default input format is text
d) All of the mentioned
View Answer
Answer: a
Explanation: With Hive 0.13.1 on Amazon EMR, certain options introduced in previous versions of Hive
on EMR have been removed in favor of greater parity with Apache Hive. For example, the -x option was
removed.

3. The Amazon EMR default input format for Hive is __________


a) org.apache.hadoop.hive.ql.io.CombineHiveInputFormat
b) org.apache.hadoop.hive.ql.iont.CombineHiveInputFormat
c) org.apache.hadoop.hive.ql.io.CombineFormat
d) All of the mentioned
View Answer
Answer: a
Explanation: You can specify the hive.base.inputformat option in Hive to select a different file format,

4. Hadoop clusters running on Amazon EMR use ______ instances as virtual Linux servers for the master
and slave nodes.
a)EC2
b)EC3
c)EC4
d)None of the mentioned
View Answer
Answer: a
Explanation: Amazon EMR has made enhancements to Hadoop and other open-source applications to
work seamlessly with AWS.

5. Point out the wrong statement.


a) Apache Hive saves Hive log files to /tmp/{user.name}/ in a file named hive.log
b) Amazon EMR saves Hive logs to /mnt/var/log/apps/
c) In order to support concurrent versions of Hive, the version of Hive you run determines the log file
name

A V D GROUP | GIVE YOUR CAREER A LIFT 5


d) None of the mentioned
View Answer
Answer: d
Explanation: If you have many GZip files in your Hive cluster, you can optimize performance by passing
multiple files to each mapper.

6. Amazon EMR uses Hadoop processing combined with several __________ products.
a) AWS
b) ASQ
c) AMR
d) AWES
View Answer
Answer: a
Explanation: Amazon Elastic MapReduce (Amazon EMR) is a web service that makes it easy to process
large amounts of data efficiently

7. ___________ is an RPC framework that defines a compact binary serialization format used to persist
data structures for later analysis.
a) Pig
b) Hive
c) Thrift
d) None of the mentioned
View Answer
Answer: b
Explanation: Amazon EMR does not support Hive Authorization.

8. Impala on Amazon EMR requires _________ running Hadoop 2.x or greater.


a) AMS
b) AMI
c) AWR
d) All of the mentioned
View Answer
Answer: b
Explanation: Impala is an open source tool in the Hadoop ecosystem for interactive, ad hoc querying
using SQL syntax.

9. Impala executes SQL queries using a _________ engine.


a) MAP
b) MPP
c) MPA
d) None of the mentioned
View Answer
Answer: b
Explanation: Impala avoids Hive’s overhead from creating MapReduce jobs, giving it faster query times
than Hive.

A V D GROUP | GIVE YOUR CAREER A LIFT 6


10. Amazon EMR clusters can read and process Amazon _________ streams directly.
a) Kinet
b) kinematics
c) Kinesis
d) None of the mentioned
View Answer
Answer: c
Explanation: The Amazon EMR connector for Amazon Kinesis uses the DynamoDB database as its
backing for checkpointing metadata.

Q.1 Explain the importance of buffer in Amazon Web Services?


Ans. An Elastic Load Balancer works in a way by distributing the incoming traffic equally across various
AWS instances. A buffer will analyze different components and makes the arrangement additional
elastic to a burst of load or traffic. The components are regular to work in an unstable way of processing
the requests and receiving. The buffer makes the equilibrium connecting number of apparatus and
modifies them effort at the identical rate to supply more frequent services.

Q.2 What is the function of the command- ec2-create-group Create Security Group?
Ans. Creates a new security group for use with your account.

Q.3 Differentiate stopping and terminating instances?


Ans. Stopping and Starting an instance: IF an instance stops, it performs a normal shutdown. In the next
step, it is transit to a stop state. Every Amazon EBS volumes remain attached, and the instance can start
again for further use. There are no further upfront charges.

AWS Interview Questions and Answers – Stopping Instances Vs Terminating Instances


Terminating an instance: During the termination process the instance performs a normal shutdown, and
then the attach Amazon EBS volumes delete unless the volume’s delete on termination attribute is set
to false. The instance itself also delete, and you can’t start the instance again at a later time.

Q.4 When will you incur costs with an Elastic IP address (EIP)?
Ans. When it allocates and associate with a stopped instance.

Q.5 Differentiate between Spot Instances. An On-Demand instance or Reserved Instance?


Ans. Spot instances give the flexibility for purchasers to get reason capability with no direct
commitment, at hourly rates typically less than the On-Demand rate in every region. Spot instances are
similar to bidding; the bidding value is termed terms. The terms fluctuate supported provide and
demand for instances. However, customers can never pay quite the utmost value they need nominal. If
the spot moves on top of a customer’s most prices, the customer’s EC2 instance is going to be clean up
mechanically. However, the reverse isn’t true, if the Spot costs come back down once more, your EC2
instance won’t launch mechanically, and one must do this manually.
In Spot and on-demand instance, there’s no commitment for the period from the user aspect, but in
reserved instances, one must keep on with the fundamental measure that he has chosen.
Follow this link to know more about AWS EC2 Tutorial (Amazon Elastic Compute Cloud)

Q.6 Are the Reserved Instances available for Multi-AZ Deployments?


Ans. Available for all instance types

A V D GROUP | GIVE YOUR CAREER A LIFT 7


Q.7 You have a video transcoding application. The videos are processed consistent with a queue. If the
process of a video interrupts in one instance, it resumes in another instance. Presently there’s a large
backlog of videos that must process, for this, you wish to feature a lot of instances. However, you
would like these instances solely until your backlog reduce. That of those would be an economical
way to do it?
Ans. You should be exploitation AN on Demand instance for a similar. Why? Initial of all, the
employment needs to process currently, which means it’s imperative, second you don’t would like them
once your backlog is cleared, so Reserved Instance is out of the image, and since the work is imperative,
you can’t stop the work on your instance simply because the terms spiked, so Spot Instances shall
additionally not use. Thence On-Demand instances shall the correct alternative in this case.

Q.8 What kind of network performance parameters can you expect when you launch instances in
cluster placement group?
Ans. The network performance differs between the instance type and network performance
specification, in a placement group the user can expect till
 10 Gbps in a single-flow.
 20 Gbps in multi-flow for an instance full duplex.
 Network traffic excluding the selected group will limit to 5 Gbps(full duplex).

Top AWS Interview Questions and Answers for Beginners. Q- 1,4,6,8

Top AWS Interview Questions and Answers for Professional. Q- 2,3,5,7

Must Watch – Amazon Interview Questions Part – II

Q.9 Is one Elastic IP address enough for each instance that I actually have running?
Ans. Each instance comes with its own personal and public address. The personal address is associated
solely with the instance and it came back to Amazon EC2 only if it’s stopped or terminated. Similarly, the
public address is associated solely with the instance till it’s stopped or terminated. However, this will get
replaced by the Elastic information processing address that stays with the instance as long because the
user doesn’t manually detach it. However, what if you’re hosting multiple websites on your EC2 server,
therein case you’ll need quite one Elastic IP address.

Q.10 You need to set up an Amazon S3 bucket to serve static assets for your public-facing internet
application. That technique can make sure that all objects uploaded to the bucket are set to public
read?
Ans. Configure the bucket policy to set all objects to public read. Making changes to every object is not
preferred as it’s better to set the policy for the complete bucket. IAM is used to give more granular
permissions since this is a website, all objects would be public by default.

Q.11 Explain how S3 can use with EC2 instances?


Ans. It will use for instances with root devices backed by native instance storage. With the help
of Amazon S3, developers can use equivalent extremely scalable, reliable, fast, cheap data storage
infrastructure. This infrastructure is used by Amazon to run its own international network of websites.
So as to execute systems within the Amazon EC2 atmosphere, developers use the tools provided to load
their Amazon Machine pictures (AMIs) into Amazon S3 and to manoeuvre them between Amazon S3
and Amazon EC2.

A V D GROUP | GIVE YOUR CAREER A LIFT 8


Q.12 How can a user move the data to long distances by using the internet with the help of Amazon S3
Bucket?
Ans. Transfer Acceleration will use to transfer the data as it powers the data transfer with the use of
optimized network paths and Amazon’s content delivery network. This network is more than 300%
compared to normal data transfer speed.

Q.13 How can a user boost up data transfer in Amazon Snowball?


Ans. By playing multiple copy operations at just once i.e. if the digital computer is powerful enough,
you’ll be able to initiate multiple cp commands every from totally different terminals, on an equivalent
Snowball device. Transferring giant files or by making a batch of a tiny file, this may cut back the secret
writing overhead. Eliminating spare hops i.e. build a setup wherever the supply machine(s) and also the
snowball are the sole machines active on the switch getting used, this could massively improve
performance.

Q.14 Can a user connect the company’s data centre to the Amazon Cloud?
Ans. Yes, you’ll be able to try this by establishing a VPN(Virtual Private Network) affiliation between your
company’s network and your VPC (Virtual personal Cloud), this may permit you to act together with
your EC2 instances as if they were inside your existing network.

Q.15 Is it possible to alter the personal IP addresses of associate EC2 whereas it’s running/stopped in
an exceedingly VPC?
Ans. The primary personal IP address connects with the instance throughout its lifespan and can’t
modify, but secondary personal addresses will unassigned, appointed or rapt between interfaces or
instances at any purpose.

Q.16 Can a user attach multiple subnets to a routeing table?


Ans. Route Tables use to route network packets. Therefore, in a subnet having multiple route tables can
cause confusion as to detect the location of the packet. Therefore, there is a single route table in a
subnet. Considering the route table it can have any no. of records or information. This clarifies that
attaching many subnets to a routeing table is possible.
Top AWS Interview Questions and Answers for Beginners. Q- 9,10,12
Top AWS Interview Questions and Answers for Professional. Q- 11,13,14,15,16

Q.17 If a user uses Amazon CloudFront, is able to use direct hook up with transfer objects from his
data centre?
Ans. Yes. Amazon CloudFront supports custom origins. It also includes origins from outside of AWS.
With AWS Direct Connect, the user will charge with the different information transfer rates.

Q.18 If AWS Direct Connect fails, can the user loose connectivity?
Ans. If a backup AWS Direct Connect design, within the event of a failure it’ll change by reversal to the
second. It suggests changing two-way Forwarding Detection (BFD) once configuring your connections to
make sure quicker detection and failover. On the opposite hand, if you’ve got design a backup IPsec VPN
affiliation instead, all VPC traffic can failover to the backup VPN affiliation mechanically. Traffic to/from
public resources like Amazon S3 is going to route over the net. If a user doesn’t have a
backup AWS Direct Connect link or an IPsec VPN link, then Amazon VPC traffic will lead to a rise in the
event of a failure.

A V D GROUP | GIVE YOUR CAREER A LIFT 9


Q.19 If a user launches a standby RDS instance, can or not it’s within the same convenience Zone as
the primary?
Ans. No, since the aim of getting a standby instance is to avoid associate infrastructure failure (if it
happens), so the standby instance is kept during a completely different convenience zone that may a
physically completely different freelance infrastructure.

Q.20 When should a user prefer Provisioned IOPS over normal RDS storage?
Ans. If you’ve got batch-oriented workloads. Provisioned IOPS deliver high IO rates however on the
opposite hand it’s high-ticket still. Execution workloads are not in need of manual intervention as they
allow full utilization of systems, which states that provisioned IOPS are most popular for batch-oriented
work.

Q.21 How are Amazon RDS, DynamoDB and Redshift different from each other?
Ans. Amazon RDS may a direct service for relative databases; it manages fixing, upgrading, backing of
information etc. of databases for you while not your intervention. RDS is probably a database
management service for structure data solely.
Amazon DynamoDB, on the opposite hand, maybe a NoSQL info service, NoSQL deals with unstructured
information.
Amazon Redshift, is a completely different service, its data warehouse product and employ in data
analysis.

Q.22 Can a user run more than one DB instance for Amazon RDS for free?
Ans. Yes. A user can run over one Single-AZ small info instance, that too for free! but, use exceeding 750
instance hours, across all Amazon RDS Single-AZ small db instances, across all eligible database engines
and regions, will lead to the billing at normal Amazon RDS costs. For example: if you run 2 Single-AZ
small db instances for four hundred hours every in an exceedingly single month, you may accumulate
800 instance hours of usage, of that 750 hours are free. You may bill for the remaining fifty hours at the
quality Amazon RDS value.

Q.23 Can a user retrieve only a particular part of the information if he has a nested JSON data in
DynamoDB?
Ans. Yes. Once using the GetItem, BatchGetItem, question or Scan Apis, the user will able to outline a
Projection Expression to see that attributes ought to retrieve from the table. Those attributes will
embody scalars, sets, or parts of a JSON document.

Q.24 A corporation is deploying a brand new two-tier internet application in AWS. The corporate has
restricted workers and needs high handiness, and also the application needs advanced queries and
table joins. That configuration provides the answer for the company’s requirements?
Ans. Amazon DynamoDB. DynamoDB has the flexibility to scale over RDS or the other computer
database service, so DynamoDB would the apt selection.

Q.25 What will cause to the backups and dB Snapshots if a user deletes the dB Instance?
Ans. When you delete a DB instance, you have got an option of making a final dB snapshot, if you are
doing that you simply will restore your info from that photograph. AWS RDS retains these user-created
dB snapshots together with all different manually created dB snapshots when the instance delete. In
addition, automated backups delete and solely manually created dB Snapshots preserve.

A V D GROUP | GIVE YOUR CAREER A LIFT 10


Q.1 What are the employment cases appropriate for Amazon DynamoDB?
Ans. Storing metadata for Amazon S3 objects.
 Running relative joins and complicated updates.
If all of your JSON data have similar fields such as [id, name, and age] then it might be higher to store it
in a very computer database, the metadata on the opposite hand is unstructured, additionally running
relative joins or advanced updates would work on DynamoDB yet.

Do you want to learn more about Amazon DynamoDB?


Q.2 How can a user be able to load the data to Amazon Redshift from completely different data
sources like Amazon RDS, Amazon DynamoDB and Amazon EC2?
Ans. The user can load the info within the following 2 ways:
 The user can use the COPY command to load data in parallel on to Amazon Redshift from Amazon
EMR, Amazon DynamoDB, or any SSH-enabled host.
 AWS Data Pipeline provides a high performance, reliable, fault-tolerant resolution to load data
from a spread of AWS data sources. The user will be able to use AWS Data Pipeline to specify the
info supply, desired knowledge transformations, and so execute a pre-written import script to load
the data into Amazon Redshift.

Q.3 What’s the difference between scalability and Elasticity?


Ans. Scalability is the ability of a system to extend its hardware resources to handle the rise in demand.
It is done by increasing the hardware specifications or increasing the process nodes.
Elasticity is the ability of a system to handle increase within the work by adding further hardware
resources once the demand increases (same as scaling) but additionally rolling back the scaled
resources, once the resources aren’t any longer required. This is often notably useful in Cloud
environments, wherever a pay per use model is followed.

Q.4 How can you modify the instance kind for instances that are running in your application tier
and are using Auto Scaling. Where can you modify it from the subsequent areas?
Ans. Auto Scaling launch configuration. Amazon Auto-scaling tags configuration is employed to connect
metadata to your instances, to vary the instance kind you’ve got to use auto-scaling launch
configuration.
Follow this link to know more about AWS Autoscaling

Q.5 The user got a content management system running on an Amazon EC2 instance that’s
approaching 100% processor utilization. Can that possibility scale backload on the Amazon EC2
instance?
Ans. Produces a load balancer, and register the Amazon EC2 instance with it. Making alone an auto-
scaling cluster won’t solve the difficulty, till you attach a load balancer to it. Once you attach a load
balancer to associate autoscaling cluster, it’ll with efficiency distribute the load among all the instances.
Possibility B – CloudFront could be a CDN, it’s a data transfer tool thus won’t facilitate scale backload on
the EC2 instance. Equally the opposite possibility – Launch configuration could be a templet for a
configuration that has no reference to reducing masses.

Q.6 Once ought to use a Classic Load Balancer associate once to use an Application load balancer?
Ans. A Classic Load Balancer is good for easy load levelling of traffic across multiple EC2 instances. The
associate Application Load Balancer is good for microservices or container-based architectures.
Wherever there’s a desire to route traffic to multiple services or load balance across multiple ports on
an identical EC2 instance.

A V D GROUP | GIVE YOUR CAREER A LIFT 11


Q.7 What does connection draining do?
Ans. Re-routes traffic from instances that are to be updated or failing a health check. Connection
draining could be a service underneath ELB that perpetually monitors the health of the instances. If any
instance fails a health check or it needs to be patched with a code update, the connection draining
extracts all the traffic from that instance and re-routes them to alternative instances.
Read more about AWS ELB

Q.8 Once an instance is unhealthy, it’s terminated and replaced with a replacement one, that of the
subsequent.
Ans. Once ELB detects that associate instance is unhealthy, it starts routing incoming traffic to
alternative healthy instances within the region. If all the instances in an exceeding region become
unhealthy, and if you’ve got instances in another handiness zone/region, your traffic is directed to them.
When the instances get healthy they’re re-routed back to the first instances.
Best Amazon Interview Questions and Answers. Q- 2,5,8
Best Amazon Interview Questions and Answers. Q- 1,3,4,6,7

Q.9 What are lifecycle hooks used for in AutoScaling?


Ans. These hooks are accustomed place an extra wait time to a scale in or scale out event. Lifecycle
hooks are used for putting wait time before any lifecycle action. These actions should about to launch or
about terminate an instance happens. The goal of this wait time is something from extracting log files
before terminating an instance or putting in the required software in an instance before launching it.

Q.10 The application of the should retrieve data from your user’s mobile every five minutes and also
the data keep in DynamoDB, later on, a daily basis at a specific time the data is extracted into S3 on a
per-user basis then your application is later wont to visualize the data to the user. The user is asked to
optimize the design of the backend system to lower price, what would you recommend?
Ans. Introduce Amazon Elasticache to cache scans from the Amazon DynamoDB table and scale back
provisioned read throughput. Since our work needs the data to be extracted and analyzed, to optimize
this method someone would use provisioned IO, however since it’s costly, using an ElastiCache memory
instead to cache the ends up in the memory will scale back the provisioned browse outturn and thence
cut back price while not affecting the performance.

Q.11 The user is running an internet site on EC2 instances deployed across multiple handiness Zones
with a Multi-AZ RDS MySQL extra large db Instance. The location performs a high variety of tiny reads
and writes per second and depends on an ultimate consistency model. When comprehensive tests you
discover that there’s browse competition on RDS MySQL. Justify any pair of suitable needs.
Ans. Deploy ElastiCache in-memory cache running in every handiness zone
Increase the RDS MySQL Instance size and Implement provisioned IOP.
Since it will plenty have read writes, provisioned IO could become costly. However, we’d like high
performance moreover, thus the data is cached using ElastiCache which might be used for ofttimes
reading the information. As for RDS since browse competition is occurring, the instance size ought to be
redoubled and provisioned IO ought to be introduced to extend the performance.
Follow this link to know about AWS Relational Database

Q.12 A startup is running a pilot preparation of around a hundred sensors to live street noise and air
quality in urban areas for three months. it absolutely was noted that each month around 4GB of
device data is generated. The corporate uses a load balanced auto-scaled layer of EC2 instances and
RDS info with five hundred GB standard storage. The pilot was a hit and currently, they need to

A V D GROUP | GIVE YOUR CAREER A LIFT 12


deploy a minimum of 100K sensors which require to be supported by the backend. The user wishes to
store the data for a minimum of a pair of years to research it. What should a user do?
Ans. Replace the RDS instance with a 6 node Redshift cluster with 96TB of storage. A Redshift cluster
would be most popular as a result of it simple to scale, additionally the work would be drained parallel
through the nodes, thus is ideal for an even bigger workload like our use case. Since monthly four GB of
data is generated, thus in a pair of year, it ought to be around ninety-six GB. And since the servers are
going to be redoubled to 100K in variety, ninety-six GB can some become 96TB.

Q.13 What happens if CloudTrail is turned on for the account. However, the Amazon S3 bucket isn’t
organized with the proper policy?
Ans. CloudTrail files are delivered consistent with S3 bucket policies. If the bucket isn’t organized or is
misconfigured, CloudTrail may not be ready to deliver the log files.

Q.14 How can a user transfer the existing name registration to Amazon Route fifty-three while not
disrupting the existing internet traffic?
Ans. You will get to get an inventory of the DNS record data for your name initial, it’s typically out there
within the kind of a “zone file” that you just will get from your existing DNS supplier. Once you receive
the DNS record data, you’ll be able to use Route 53’s Management Console or easy web-services
interface to form a hosted zone which will store your DNS records for your name and follow its transfer
method. It conjointly includes steps like changing the name servers for your name to those related to
your hosted zone. For finishing the method you’ve got to contact the registrar with whom you
registered your name and follow the transfer process. As long as your registrar propagates the new
name server delegations, your DNS queries can begin to urge answered.
Follow this link to explore about AWS Management Console

Q.15 Justify services user can’t use to deploy an app?


Ans. Lambda is employed for running server-fewer applications. It also deploys the functions triggered
by the events. Once we say serverless, we tend to meanwhile not you worrying regarding the computing
resources running within the background. It’s not designed for making applications that are publically
accessed.

Q.16 How will Elastic stalk apply updates?


Ans. By having a duplicate prepared with updates before swapping. Elastic stalk prepares a
reproduction copy of the instance, before change the first instance, and routes your traffic to the
duplicate instance, so that, just in case your updated application fails, it’ll switch back to the first
instance, and there’ll be no period seasoned by the users who are using your application.
Best Amazon Interview Questions and Answers. Q- 9,11,15,16
Best Amazon Interview Questions and Answers. Q- 10,12,13,14

Q.17 How is AWS Elastic stalk completely different than AWS OpsWorks?
Ans. AWS Elastic stalk could be an application management platform whereas OpsWorks is a
configuration management platform. The stalk is a simple to use service that is employed for deploying
and scaling internet applications developed with Java, Net, PHP, Node.js, Python Programming, Ruby,
Go and labourer. Customers transfer their code and Elastic stalk automatically handles the preparation.
The applying is going to be able to use with none infrastructure or resource configuration.
Read more about AWS Elastic Beanstalk (AWS EBS)

A V D GROUP | GIVE YOUR CAREER A LIFT 13


Q.18 What will happen when applying stops responding to requests in beanstalk?
Ans. AWS stalk applications have a system in place for avoiding failures within the underlying
infrastructure. If an Amazon EC2 instance fails for any reason, the stalk can use auto-scaling to
automatically launch a brand new instance. The stalk may sight if your application isn’t responding on
the custom link, the user will be logged as an environmental event such as a foul version was deployed
and thus the user will be able to take an applicable action.

Q.19 What’s Amazon Machine Image (ami)?


Ans. An Amazon Machine Image (AMI) could be a guide that contains a computer code configuration
(for example, a software system, an application server, and applications). From Associate in Nursing
AMI, we tend to launch an instance that could be a copy of the AMI running as a virtual server within the
cloud. We are able to even launch multiple instances of an AMI.
Read full tutorial on – Amazon Machine Learning (AWS ML)

Q.20 What’s The Relation between Instance and Ami?


Ans. We can launch differing kinds of instances from one AMI. An instance kind primarily determines the
hardware of the host pc used for your instance. Every instance kind offers completely different calculate
and memory capabilities.
After we tend to launch an instance, it’s sort of an ancient host, and that we will act with it as we’d do
with any pc. We’ve complete management of our instances; we are able to use sudo to run commands
that need root privileges.

Q.21 Make a case for Storage for Amazon Ec2 Instance?


Ans. Amazon EC2 provides several data storage choices for your instances. Every possibility includes a
distinctive combination of performance and sturdiness. These storages are used severally or together to
fit your needs.
There are primarily four sorts of storages provided by AWS:

A V D GROUP | GIVE YOUR CAREER A LIFT 14


Storage for Amazon Ec2 Instance
a. Amazon EBS: Its sturdy, block-level storage volumes will hook up in running Amazon EC2 instance.
The Amazon EBS volume persists severally from the running life of an Amazon EC2 instance. When an
EBS volume is hooked up to an instance, you’ll be able to use it like all alternative physical disc
drive. Amazon EBS encoding feature supports encoding feature.
b. Amazon EC2 Instance Store: The instance storage in EC2 provides temporary block-level storage for
Amazon EC2 instances. the information on the instance store volume persists solely throughout the
lifetime of the associated Amazon EC2 instance; if you stop or terminate an instance, any information on
instance store volumes is lost.
c. Amazon S3: Amazon S3 provides access to reliable and cheap data storage infrastructure. It’s
designed to create web-scale computing easier by sanctioning you to store and retrieve any quantity of
knowledge, at any time, from inside Amazon EC2 or anyplace on the online.

A V D GROUP | GIVE YOUR CAREER A LIFT 15


d. Adding Storage: On every occasion, you launch an instance from an AMI, a root device is made for
that instance. The foundation device contains all the data necessary in addition tot he instance. You’ll be
able to specify storage volumes additionally to the foundation device volume after you produce an AMI
or launch an instance utilizing block device mapping.
Do you know about AWS Storage Gateway?

Q.22 What is the protection Best Practices for Amazon Ec2?


Ans. There are many best practices for secure Amazon EC2. Following are few of them.Use AWS Identity
and Access Management (IAM) to regulate access to your AWS resources.
Restrict access by solely permitting trustworthy hosts or networks to access ports on your instance.
Disable password-based logins for instances launched from your AMI. Passwords are found or cracked,
and are security risk.

Q.23 Make a case for Stopping, Starting, and Terminating an Amazon Ec2 Instance?
Ans. Stopping and beginning an instance: Once an instance is stopped, the instance performs a
traditional closing so transitions to a stopped state. All of its Amazon east by south volumes stay
connected, and you’ll be able to begin the instance once more at a later time. You’re not charged for
extra instance hours whereas the instance is during a stopped state.
Terminating an instance: Once an instance is terminated, the instance performs a traditional closing,
and then the connected Amazon EBS volumes are deleted unless the volume’s deleteOnTermination
attribute is ready to false. The instance itself is additionally deleted, and you can’t begin the instance
once more at a later time.

Q.24 Make a case for Elastic Block Storage? What kind of Performance are you able to Expect? How
does one Back It Up? How does one Improve Performance?
Ans. EBS could be a virtualized SAN or enclosure network. Which means its RAID storage to start out
with, therefore it’s redundant and fault tolerant. If disks die therein RAID you don’t lose data. Great! It’s
additionally virtualized, therefore you’ll be able to provision and apportion storage, and connect it to
your server with varied API calls. No occupation the storage skilled and asking him or her to run
specialized commands from the hardware marketer.
Performance on EBS will exhibit variability. That is, it will go higher than the SLA performance level, and
then drop below it. The SLA provides you with a mean disk I/O rate you’ll be able to expect. This may
frustrate some people, particularly performance consultants UN agency expect reliable and consistent
disk throughout on a server. Ancient physically hosted servers behave that means. Virtual AWS instances
don’t.

Q.1 The user wants to launch a Linux instance in AWS EC2. While configuring security group, the user
has selected SSH, HTTP, HTTPS protocol. What is the need to select SSH?
Answer - To verify that there is a rule that allows traffic from EC2 Instance to The user computer.
Read More about AWS EC2 Tutorial (Amazon Elastic Compute Cloud)

Q.2 The user needs to quickly set up an email service because a client needs to start using it in the
next hour. Which one can be the logical choice as there are several options available to set it up?
What can be the best option to set up AWS service would best meet the needs of the client?
Answer - Amazon SES console

A V D GROUP | GIVE YOUR CAREER A LIFT 16


Q.3 The user has chosen a windows instance with Classic and the user want to make some change to
the security group. How will these changes be effective?
Answer - Changes are automatically applied to windows instances.

Q.4 Load Balancer and DNS service come under which type of cloud service?
Answer- IAAS-Storage.

Q.5 The user has an EC2 instance that has an unencrypted volume. The user wants to create another
encrypted volume from this unencrypted volume. Which of the following steps can achieve this?
Answer- Create a snapshot of the unencrypted volume (applying encryption parameters). Copy the
snapshot and create a volume from the copied snapshot.

Q.6 Where does the user specify the maximum number of instances with the auto scaling commands?
Answer- Auto scaling Launch Config.

Q.7 A user identifies that a huge data download is occurring on his instance. He has already set the
auto scaling policy to increase the instance count. When the network Input Output increase beyond a
threshold limits how can the user ensure that this temporary event does not result in scaling?
Answer- Suspend scaling.

Q.8 Name the AMI provided by AWS?


Answer- Some of the AMIs which are provided by the AWS are EBS Backed and Instance stored Backed.
3. Commonly Asked Amazon Web Service Interview Questions

Following are some commonly asked Amazon Web Service Interview Questions –

Q.9 Explain the difference between instance store and EBS?


Answer- Few of the Amazon EC2 instance types are in a form of directly attached, block-device storage
call as the instance store. The data stored in instance store volumes is not persistent through instance
stops terminations as the instance store is ideal for temporary storage. More detailed information about
the instance store can found at Amazon EC2 Instance Store.
If a user wants to retain longer-term, or if they need to encrypt the data. It is recommended using EBS
volumes instead. EBS volume secures the data through instance stops and terminations. There is a
feature such that it can easily back up with EBS snapshots. It can remove from instances and reattached
to another, and support full-volume encryption.

Q.10 Explain Amazon LightSail.


Answer- Amazon LightSail helps for developers, the users who are in need of Simple Virtual Private
Servers. LightSail provides several capacities and capabilities such as compute, storage, and networking.
Which helps to deploy and manage websites and web applications in the cloud. LightSail helps the user
to launch the project quickly by providing the facilities such as a virtual machine, SSD-based storage,
data transfer, DNS management, and a static IP.

Read More about Amazon Web Service LightSail


Q.11 How can a user create a LightSail instance?
Answer- After logging in to Lightsail, the user can use the Lightsail console, command line interface (CLI),
or API to create and manage instances.

A V D GROUP | GIVE YOUR CAREER A LIFT 17


The first time the user logs in to the console, choose to create Instance. The create instance page is
where the user can choose the software, location, and name for the user instance. Once the user
chooses to create, the user new instance will spin up automatically within minutes.

Q.12 How will a user connect with a Lightsail instance?


Answer- Lightsail offers a 1-click secure connection to the user instance’s terminal right from the user
browser, supporting SSH access for Linux/Unix-based instances and RDP access for Windows-based
instances. To use 1-click connections, launch the user instance management screens, click Connect using
SSH or Connect using RDP, and a brand new browser window opens and automatically connects to the
user instance.
If the user likes to attach to the user Linux/Unix-based instance using the user own consumer, Lightsail
can do the SSH key storing and management work for the user, and supply the user with a secure key to
use in the user SSH consumer.

Q.13 How will a user use IPs in Lightsail?


Answer- Each Lightsail instance automatically gets a personal IP address and a public IP address, that are
accessible from the web. The user will use the non-public IP to send data to different Lightsail instances
and AWS resources privately, for free. The user will additionally substitute as static IP for the general
public IP of a Lightsail instance.

Q.14 What are DNS records?


Answer- DNS could globally distribute service that interprets human decipherable names like computer
network.example.com into numeric IP addresses, like 192.0.2.1 that computers use to attach to every
different. With Lightsail, the user will simply map the user registered domain names like
photos.example.com to the general public IPs of the user Lightsail instances. During this method, once
users sort human decipherable names like example.com into their browsers, Lightsail automatically
interprets the address into the IP of the instance the user would like to direct the user users to. Each of
those translations is said as a DNS question.
It’s important to understand that so as to use a site in Lightsail, the user want to initial register it. The
user will register new domains using Amazon Route fifty-three, or the user most popular DNS registrar.

Q.15 How will a user manage firewall settings for the instance?
Answer- Yes. The user will manage the data traffic for the instances by using the Lightsail firewall. From
the Lightsail console, the user will set rules regarding that ports of the user instance are publically
accessible for various kinds of traffic.

Q.16 How will a user make a copy the instances?


Answer- If the user would like to make a copy the user data, the user will use the Lightsail console or API
to require a photograph of the user instance. If there’s a failure or dangerous code reading, the user will
later use the user instance photograph to form a current instance. We have a tendency to suggest
stopping the user instance quickly once taking a photograph, to make sure the user knowledge is
complete and not corrupted in any method.
4. Latest Amazon Web Service Interview Questions

Let’s have a look at the latest and most asked Amazon Web Service Interview Questions –

A V D GROUP | GIVE YOUR CAREER A LIFT 18


Q.17 How will a user connect Lightsail instances to different resources in the AWS account?
Answer- The user can connect the user Lightsail instances to VPC resources in the user AWS account in
private, by using VPC peering. Simply select alter VPC peering on the user Lightsail account page, and
Lightsail will the work for the user. Once VPC peering is enabled, the user will address different AWS
resources in the user default AWS VPC by using their non-public IPs.
Note that the user simply has to compel to have a default VPC established in the user AWS account so as
for VPC peering with Lightsail to figure. AWS accounts created before Dec 2013 doesn’t have a default
VPC, and the user may have to compel to set one up.

Follow this link to know about AWS VPC (Virtual Private Cloud)
Q.18 What are Availability Zones?
Answer- Availability Zones are collections of knowledge centres that run on physically distinct, freelance
infrastructure and are built to be extremely reliable. Common points of failure like generators and
cooling instrumentality aren’t shared between convenience Zones. In addition, convenience Zones are
physically separate, in order that even extraordinarily uncommon disasters like fires, tornados, or
flooding. This will have an effect on solely one convenience Zone.

Q.19 Which relational database engines will Amazon RDS support?


Answer- Amazon RDS supports Amazon Aurora, TheSQL, MariaDB, Oracle, SQL Server, and PostgreSQL
info engines.
Do you know What is Amazon Aurora?

Q.20 What will Amazon RDS manage on the behalf?


Answer- Amazon RDS manages the work concerned in putting in a relative info: from provisioning the
infrastructure capability the user request to putting in the database software system. Once the user info
is up and running, Amazon RDS automates common body tasks like performing arts backups and
mending the software system that powers the user info. With optional Multi-AZ deployments, Amazon
RDS conjointly manages synchronous knowledge replication across accessibility Zones with automatic
failover.
Since Amazon RDS provides native info access The user move with the relational database software
system as the user usually would. This implies that the user is still chargeable for managing the info
settings that are specific to the user application. The user will have to make the relative schema that
most closely fits the user use case. This is chargeable for any performance standardization to optimize
the user info for the user application’s advancement.

Q.21 When would a user use Amazon RDS vs. Amazon EC2 relational database AMIs?
Answer- Amazon internet Services provides a variety of info alternatives for developers. Amazon RDS
allows the user to run a completely featured on-line electronic information service whereas offloading
database administration. Using several on-line databases AMIs on Amazon EC2 permits the user to
manage the user’s own on-line database within the cloud. There are necessary variations between these
alternatives which will build an added acceptable for the user use case. See Cloud Databases with AWS
for steering on that answer is best for the user.

Q.22 How do I get started with Amazon RDS?


Answer- To register for Amazon RDS, the user wants to have an Amazon internet Services account.
Produce an account if the user is doing not have already got one. Once the user signed up, please check
with the Amazon RDS documentation, which incorporates our obtaining Started Guide.

A V D GROUP | GIVE YOUR CAREER A LIFT 19


Amazon RDS is an element of the AWS Free Tier so new AWS customers will start with a managed info
service within the cloud at no cost.

Q.23 How do I access the running DB instance?


Answer- Once the user db instance is out there. The user will retrieve its end via the db instance
description within the AWS Management Console, DescribeDBInstances API. Using this end the user will
construct the affiliation string needed to attach directly together with the user db instance using the
user favourite info tool or programming language. So as to permit network requests to the user running
db instance, the user ought to authorize access. For an in-depth rationalization of a way to construct the
user affiliation string and acquire started, please check with our obtaining Started Guide.

Q.24 How many DB instances am I able to run with Amazon RDS?


Answer- By default, customers are allowed to possess up to a complete of forty Amazon RDS DB
instances. Of these forty, up to ten is Oracle or SQL Server DB instances beneath the “License Included”
model. All forty is used for Amazon Aurora, TheSQL, MariaDB, PostgreSQL and Oracle beneath the
“BYOL” model. Note that RDS for SQL Server incorporates a limit of thirty databases on one DB instance.

Q.25 How do I specify that supported db engine version I might like the db instance to run?
Answer- The user can specify any presently supported version (major and minor) once making a
replacement db instance via the Launch DB Instance operation within the AWS Management Console or
the Create DB Instance API. Please note that not each info engine version is out there in each AWS
region.

Q.1 How do I specify that supported DB engine version I would like the DB instance to run?
Answer- The user can specify any supported version which is available at present (major and minor)
once making a replacement DB instance via the Launch DB Instance operation within the AWS
Management Console or the Create DB Instance API. Please note that not each info engine version is
out there in each AWS region.

Q.2 How are reserved instances totally different from on-demand dB instances?
Answer- Functionally, reserved instances and on-demand dB instances are precisely the same. The sole
distinction is how the user dB instance(s) are billed: With Reserved Instances. The user get a 1 or 3-year
reservation and reciprocally to receive a lower effective hourly usage rate for the period of the term.
Unless the user gets reserve instances during a Region. All dB instances are going to beak at on-demand
hourly rates.
Do you know what is Amazon Dynamo DB?

Q.3 How do I get and make reserved instances?


Answer- The user can purchase a reserved instance within the “Reserved Instance” section of the AWS
Management Console for Amazon RDS. Instead, the user will be able to use the Amazon RDS API or AWS
statement Interface to list the reservations offered for purchase then purchase a dB instance
reservation.
Once the user has created a reserved purchase, employing a reserved dB instance is totally different
than an On-Demand dB instance. Launch a dB instance using a similar instance category, engine and
region that the user created the reservation. As long as the user reservation purchase is active. Amazon
RDS can apply the reduced hourly rate that the user is eligible to the new dB instance.

A V D GROUP | GIVE YOUR CAREER A LIFT 20


Q.4 Do reserved instances embody a capability reservation?
Answer- Amazon RDS reserved instances are purchased for a region instead of for a selected
accessibility Zone. As RIs aren’t specific to associate accessibility Zone, they’re not capability
reservations. This suggests that though capability is pro-scribed in one accessibility Zone. Reservations
will still purchas within the Region and therefore the discount can apply to match usage in any
accessibility Zone at intervals that Region.

Q.5 How many reserved instances am I able to purchase?


Answer- The user can purchase up to forty reserved dB instances. If the user would like to run quite
forty dB instances, please complete the Amazon RDS dB Instance request type.

Q.6 What if I even have associate existing dB instance that I’d wish to cover with a reserved instance?
Answer- Simply purchase a dB instance reservation with a similar dB instance category, DB engine,
Multi-AZ possibility and License Model at intervals a similar region because the dB instance the user is
presently running and would really like to order. If the reservation purchase is thriving, Amazon RDS can
automatically apply the user new hourly usage charge to the user existing dB instance.

Q.7 If I sign in for a reserved instance when will the term begin? What happens to the dB instance
when the term ends?
Answer- Pricing changes related to a reserved instance are activated once the user request is received
whereas the payment authorization is processed. The user will be able to follow the standing of the user
reservation on the AWS Account Activity page or by mistreatment the DescribeReservedDBInstances API
or describe-reserved-db-instances command. If the one-time payment cannot with success approve by
ensuing asking amount, the discounted worth won’t become.
When the user reservation term expires, the user reserved instance can revert to the acceptable On-
Demand hourly usage rate for the user dB instance category and Region.

Q.8 How do I manage that dB instances billed at the reserved instance rate?
Answer- The Amazon RDS operations for making, modifying, and deleting dB instances don’t distinguish
between on-Demand and reserved instances. Once computing the user bill, our system can
automatically apply the user Reservation(s) such all eligible dB instances are charged at the lower hourly
reserved dB instance rate.
2. Senerio-Based AWS Interview Questions and Answers

Q.9 How can a user move the existing DB instances outside VPC into the VPC?
Answer- If the user DB instance isn’t in a very VPC, the user will be able to use the AWS Management
Console to simply move the user dB instance into a VPC. See the Amazon RDS User Guide for additional
details. The user will be able to conjointly take a photo of the user DB Instance outside VPC and restore
it to VPC by specifying the db Subnet cluster the user would like to use. Or else, the user will be able to
perform a “Restore to purpose in Time” operation likewise.
Read more about AWS VPC (Virtual Private Cloud)

Q.10 How will a person move the existing dB instances from within VPC to outside VPC?
Answer- Migration of dB Instances from within to outside VPC isn’t supported. For security reasons, a dB
photo of a dB Instance within VPC can’t repair to outside VPC. A similar is true with “Restore to purpose
in Time” practicality.

A V D GROUP | GIVE YOUR CAREER A LIFT 21


Q.11 What precautions ought to I desire to make sure that the dB Instances in VPC are accessible by
the application?
Answer- The user is responsible for modifying routing tables and networking ACLs in the user VPC to
confirm that the user dB instance is approachable from the user shopper instances within the VPC.
For Multi-AZ deployments, once a failover, the user shopper EC2 instance and RDS dB Instance could
also be in several handiness Zones. The user must piece the user networking ACLs to confirm that cross-
AZ communication is feasible.

Q.12 How can a user modify the dB Subnet cluster of the dB Instance?
Answer- An existing dB Subnet cluster will update to feature additional subnets, either for existing
handiness Zones or for brand new handiness Zones additional since the creation of the dB Instance.
Removing subnets from associate existing dB Subnet cluster will cause inconvenience for instances if
they’re running in a very explicit AZ that gets aloof from the subnet cluster. Read the Amazon RDS User
Guide for additional info.

Q.13 What is enhanced monitoring for RDS?


Answer- Enhanced monitoring for RDS provides you deeper visibility into the health of your RDS
instances. simply activate the “Enhanced monitoring” possibility for your RDS dB Instance and set a
coarseness and increased Monitoring can collect very important OS metrics and method info, at the
defined granularity.
Follow this link to know about Amazon Relational Database (RDs)

Q.14 What metrics and processes am I able to monitor in enhanced Monitoring?


Answer- Enhanced monitoring captures your RDS instance system level metrics like the C.P.U., memory,
classification system and disk I/O among others. The entire list of metrics is often found here.

Q.15 Which engines support by enhanced Monitoring?


Answer- Enhanced monitoring supports all RDS information engines.

Q.16 Which instance varieties support by enhanced Monitoring?


Answer- Enhanced monitoring supports each instance kind except t1.micro and m1.small. The software
uses a small quantity of C.P.U., memory and I/O and for general purpose monitoring. We have a
tendency to suggest a change on higher granularities for instances that are medium or larger. For non-
production dB Instances, the default setting for enhanced monitoring is “off”. You have got the selection
of departure it disabled or modifying the coarseness once it’s on.
4. Latest AWS Interview Questions and Answers

Q.17 What info am I able to read on the RDS dashboard?


Answer- You can read all the system metrics and method info for your RDS dB Instances in a very
graphical format on the console. You’ll manage that metrics you would like to observe for every instance
and customize the dashboard in step with your needs

Q.18 Can all the instances in my RDS account sample metrics at an equivalent granularity?
Answer- No. you’ll set totally different granularities for every dB Instance in your RDS account. You’ll
additionally opt for the instances on that you would like to modify enhanced monitoring moreover as
modify the granularity of any instance whenever you would like.

A V D GROUP | GIVE YOUR CAREER A LIFT 22


Let’s read about Amazon CloudFront
Q.19 How far back am I able to see the historical metrics on the RDS console?
Answer- You can see the performance values for all the metrics for up to one hour past, at a granularity
of up to one second supported your setting.

Q.20 How am I able to visualize the metrics generated by RDS enhanced monitoring in CloudWatch?
Answer- The metrics from RDS enhanced monitoring deliver into your CloudWatch Logs account. You’ll
produce metrics filters in CloudWatch from CloudWatch Logs and show the graphs on the CloudWatch
dashboard. For a lot of details, please visit the Amazon CloudWatch page.

Q.21 When should I use CloudWatch rather than the RDS console dashboard?
Answer- You should use CloudWatch if you would like to look at historical data on the far side what’s
accessible on the RDS console dashboard. You’ll monitor your RDS instances in CloudWatch to diagnose
the health of your entire AWS stack in a very single location. Currently, CloudWatch supports
granularities of up to one minute. The values are going to average out for granularities but that.

Q.22 How can a user set up alarms and notifications based on specific metrics?
Answer- Yes. You’ll produce an alarm in CloudWatch that sends a notification once the alarm changes
state. The alarm watches one metric over a period of time that you simply specify. It performs one or a
lot of actions supported the worth of the metric relative to the required threshold over the variety of
your time periods. For a lot of details on CloudWatch alarms, please visit the Amazon CloudWatch
Developer Guide.

Q.23 How do I integrate enhanced monitoring with my tool that I presently use?
Answer- RDS enhance monitoring provides a collection of metrics shaped as JSON payloads that deliver
into your CloudWatch Logs account. The JSON payloads deliver at the coarseness last designed for the
RDS instance.
There are 2 ways that you’ll consume the metrics via a third-party dashboard or application. Monitoring
tools will use CloudWatch Logs Subscriptions to line up a close to real-time feed for the metrics. As an
alternative, you’ll use filters in CloudWatch Logs to bridge metrics across to CloudWatch to and
integrate your application with CloudWatch. Please visit Amazon CloudWatch Documentation for a lot of
details.

Also, see – What is Amazon Cloudsearch?


Q.24 How am I able to delete historical data?
Answer- Since enhanced monitoring delivers JSON payloads into a log in your CloudWatch Logs account.
You’ll management its retention amount similar to the other CloudWatch Logs stream. The default
retention amount designed for enhanced monitoring in CloudWatch Logs is thirty days. For details on a
way to amendment retention settings, please visit Amazon CloudWatch Developer Guide.

Q.25 How can a user scale the DB instance beyond the largest DB instance class and maximum storage
capacity?
Answer- There are many DB instances and classes which supports by the Amazon RDS to meet the
different requirements of the applications. For spreading the data across multiple DB instances the user
can implement partitioning. This is done when the application needs more computing resources than
the largest DB instance class or more storage than the maximum allocation.

A V D GROUP | GIVE YOUR CAREER A LIFT 23

You might also like