Aws Interview Questions - Oracle DBA Useful Information
Aws Interview Questions - Oracle DBA Useful Information
Simple E-mail Service: It allows sending e-mail using RESTFUL API call or via regular SMTP
Identity and Access Management: It provides enhanced security and identity management for your AWS
account
Simple Storage Device or (S3): It is a storage device and the most widely used AWS service
Elastic Compute Cloud (EC2): It provides on-demand computing resources for hosting applications. It is very
useful in case of unpredictable workloads
Elastic Block Store (EBS): It provides persistent storage volumes that attach to EC2 to allow you to persist data
past the lifespan of a single EC2
CloudWatch: To monitor AWS resources, It allows administrators to view and collect key Also, one can set a
notification alarm in case of trouble.
2. Launch permissions decide which AWS accounts can avail the AMI to launch instances
3. A block device mapping that determines the volumes to attach to the instance when it is launched.
Amazon S3 is a REST service, you can send request by using the REST API or the AWS SDK wrapper libraries that
wrap the underlying Amazon S3 REST API.
EC2:
2. It is like a huge computer machine which can run either Linux or Windows and can handle application like
pin up a new larger instance than the one you are currently running
ause that instance and detach the root webs volume from the server and discard
hen stop your live instance and detach its root volume
Note the unique device ID and attach that root volume to your new server
nd start it again
In Vpc With Private And Public Subnets, Database Servers Should Ideally Be
Launched Into Which Subnet?
With private and public subnets in VPC, database servers should ideally launch into private subnets.
Mention What Are The Security Best Practices For Amazon Ec2?
For secure Amazon EC2 best practices, follow the following steps:
Use AWS identity and access management to control access to your AWS resources
Restrict access by allowing only trusted hosts or networks to access ports on your instance
https://kcsdba.blogspot.com/2017/11/aws-interview-questions.html 2/7
6/18/2019 AWS interview Questions | ORACLE DBA USEFUL INFORMATION
While Connecting To Your Instance What Are The Possible Connection Issues
One Might Face?
The possible connection errors one might encounter while connecting instances are:
1. Pre-configured templates for your instances (known as Amazon Machine Images – AMIs)
2. Amazon Machine Images (AMIs) is a complete package that you need for your server (including the
3. Amazon EC2 provides various configurations of CPU, memory, storage and networking capacity for your
4. Secure login information for your instances using key pairs (AWS stores the public key and you can store the
5. Storage volumes of temporary data is deleted when you stop or terminate your instance (known as instance
store volumes)
6. Amazon EC2 provides persistent storage volumes (using Amazon Elastic Block Store – EBS)
https://kcsdba.blogspot.com/2017/11/aws-interview-questions.html 3/7
6/18/2019 AWS interview Questions | ORACLE DBA USEFUL INFORMATION
7. A firewall that enables you to specify the protocols, ports, and source IP ranges that can reach your instances
10. Amazon EC2 provides virtual networks that are logically isolated from the rest of the AWS cloud, and that
you can optionally connect to your own network (known as virtual private clouds – VPCs)
What Is Amazon Machine Image And What Is The Relation Between Instance
And Ami?
Amazon Web Services provides several ways to access Amazon EC2, like web-based interface, AWS Command Line
Interface (CLI) and Amazon Tools for Windows Powershell. First, you need to sign up for an AWS account and you
can access Amazon EC2.
Amazon EC2 provides a Query API. These requests are HTTP or HTTPS requests that use the HTTP verbs GET or
POST and a Query parameter named Action.
After we launch an instance, it looks like a traditional host, and we can interact with it as we would do with any
computer. We have complete control of our instances; we can use sudo to run commands that require root
privileges.
Amazon EBS: Its durable, block-level storage volumes can attached in running Amazon EC2 instance. The
Amazon EBS volume persists independently from the running life of an Amazon EC2 instance. After an EBS volume
is attached to an instance, you can use it like any other physical hard drive. Amazon EBS encryption feature
supports encryption feature.
Amazon EC2 Instance Store: Storage disk that is attached to the host computer is referred to as instance store.
The instance storage provides temporary block-level storage for Amazon EC2 instances. The data on an instance
store volume persists only during the life of the associated Amazon EC2 instance; if you stop or terminate an
instance, any data on instance store volumes is lost.
Amazon S3: Amazon S3 provides access to reliable and inexpensive data storage infrastructure. It is designed to
make web-scale computing easier by enabling you to store and retrieve any amount of data, at any time, from within
Amazon EC2 or anywhere on the web.
https://kcsdba.blogspot.com/2017/11/aws-interview-questions.html 4/7
6/18/2019 AWS interview Questions | ORACLE DBA USEFUL INFORMATION
Adding Storage: Every time you launch an instance from an AMI, a root storage device is created for that
instance. The root storage device contains all the information necessary to boot the instance. You can specify storage
volumes in addition to the root device volume when you create an AMI or launch an instance using block device
mapping.
0. Use AWS Identity and Access Management (AM) to control access to your AWS resources.
1. Restrict access by only allowing trusted hosts or networks to access ports on your instance.
2. Review the rules in your security groups regularly, and ensure that you apply the principle of least
4. Disable password-based logins for instances launched from your AMI. Passwords can be found or cracked,
Terminating an instance: When an instance is terminated, the instance performs a normal shutdown, then the
attached Amazon EBS volumes are deleted unless the volume’s deleteOnTermination attribute is set to false. The
instance itself is also deleted, and you can’t start the instance again at a later time.
Explain Elastic Block Storage? What Type Of Performance Can You Expect?
How Do You Back It Up? How Do You Improve Performance?
EBS is a virtualized SAN or storage area network. That means it is RAID storage to start with, so it’s redundant and
fault tolerant. If disks die in that RAID you don’t lose data. Great! It is also virtualized, so you can provision and
allocate storage, and attach it to your server with various API calls. No calling the storage expert and asking him or
her to run specialized commands from the hardware vendor.
Performance on EBS can exhibit variability. That is, it can go above the SLA performance level, then drop below it.
The SLA provides you with an average disk I/O rate you can expect. This can frustrate some folks, especially
performance experts who expect reliable and consistent disk throughout on a server. Traditional physically hosted
servers behave that way. Virtual AWS instances do not.
Backup EBS volumes by using the snapshot facility via API call or via a GUI interface like elasticfox.
Improve performance by using Linux software raid and striping across four volumes.
https://kcsdba.blogspot.com/2017/11/aws-interview-questions.html 5/7
6/18/2019 AWS interview Questions | ORACLE DBA USEFUL INFORMATION
AMI stands for Amazon Machine Image. It is effectively a snapshot of the root filesystem. Commodity hardware,
servers have a bios that points the master boot record of the first block on a disk. A disk image, though can sit
anywhere physically on a disk, so Linux can boot from an arbitrary location on the EBS storage network.
Build a new AMI by first spinning up and instance from a trusted AMI.Then adding packages and components as
required. Be wary of putting sensitive data onto an AMI. For instance, your access credentials should be added to
an instance after spinup with a database, mount an outside volume that holds your MySQL data after spinup as well.
You do this by setting thresholds and metrics to monitor. When those thresholds are crossed, a new instance of
your choosing will be spun up, configured, and rolled into the load balancer pool. Voila, you’ve scaled horizontally
without any operator intervention!
The next option is to use a configuration management and provisioning tools like puppet or better it’s successor
Opscode Chef.You might also look towards a tool like Scalr. Lastly, you can go with a managed solution such as
Rightscale.
Enter the cloud, then configuration management becomes even more critical.That’s because virtual servers such as
amazons EC2 instances are much less reliable than physical ones.You absolutely need a mechanism to rebuild them
as-is at any moment.This pushes best practices like automation, reproducibility and disaster recovery into center
stage.
Explain How You Would Simulate Perimeter Security Using The Amazon Web
Services Model?
Traditional perimeter security that we’re already familiar with using firewalls and so forth is not supported in the
Amazon EC2 world. AWS supports security groups.One can create a security group for a jump box with ssh access –
only port 22 open.From there a webserver group and database group are created.The webserver group allows 80
and 443 from the world, but port 22 *only* from the jump box group.Further the database group allows port 3306
https://kcsdba.blogspot.com/2017/11/aws-interview-questions.html 6/7
6/18/2019 AWS interview Questions | ORACLE DBA USEFUL INFORMATION
from the webserver group and port 22 from the jump box group.Add any machines to the webserver group and they
can all hit the database. No one from the world can, and no one can directly ssh to any of your boxe.
1 View comments
https://kcsdba.blogspot.com/2017/11/aws-interview-questions.html 7/7