Question.1 Explain the concept of AWS?
Answer :Amazon Web Services, commonly known as AWS, is a cloud computing platform. AWS is a collection of remote computing services, which gave rise to a new branch in Cloud computing called Infrastructure as a Service, IaaS.
Question.2 What is an AMI?
Answer :Amazon Machine Image, shortly known as AMI is a template that provides required information of the operating system, the application server and compatible applications to launch an instance. This instance is a copy of the AMI which will run as a virtual server in the cloud. User can prefer to launch any number of instances from any number of AMIs that he finds suitable.
Question.3 What are the functionalities of Amazon Machine Instance?
Answer :AMI has the following primary components:
- A template for the root volume in an instance
- Launch permissions which help decide the AWS accounts that can avail the AMI to launch any particular instance.
- A block device mapping that helps determining which volumes are to be attached to the instance that is going to be launched.
Question.4 Explain the relation between AMI and an instance.
Answer :AMI which stands for Amazon Machine Language acts as a template that provides required information to launch an instance. The relation can be established such that any number of instances can be launched from a single AMI.
Question.5 Explain an instance type in AWS.
Answer :An instance type defines the type of hardware that is hosting the instance to be launched at that point. Every instance type provides the user with a different memory and computing capabilities. Once the instance is launched, it acts as a traditional host making it possible to interact with it as with any normal computer.
Question.6 Mention the key components of AWS.
Answer :Identity and Access Management (IAM), Simple Storage Device (S3), Elastic Compute Cloud (EC2), Elastic Block Store (EBS), Simple Email Service, Route 53 and CloudWatch are the primary components of AWS.
Question.7 xplain IAM in AWS.
Answer :IAM is a web service that provides to provide enhanced security to control access to the AWS resources. IAM is generally used to control authenticated and authorized access to resources and provides infrastructure for the same.
Question.8 Explain EC2 in AWS.
Answer :A. Amazon Elastic Compute Cloud or EC2 is a web service that provides the required compute capacity, which is configurable, on demand for hosting application through AWS.
EC2 helps the user by reducing the time taken to get and boot new server instances and allows the user to scale up or scale down the capacity according to the computing requirements, all the while giving the flexibility to pay only for the capacity that is actually used.
A brief list of the features of AWS EC2 is given as follows:
- Provides virtual computing environments called instances
- Provides pre-configured templates for instances called the AMIs
- Provides multiple physical locations for resources called regions and Availability Zones, which are instances and EBS volumes respectively
- Provides storage volume for temporary data
Question.9 What is AWS EBS?
Answer :Amazon elastic Block Storage or EBS provides persistent block storage volumes for use with EC2 instances that allows the user to retain the data even after the lifespan of a single EC2.
Each EBS storage volume is replicated automatically within its Availability Zone that protects from component failure.
Amazon EBS is applied in use cases of Big Data Analytics, relational and NoSQL databases, steam and log processing applications, and data warehousing applications.
EBS storage volumes behave as raw, unformatted devices. A file system can be created on top of these volumes or they can be used in any other way as seen appropriate.
EBS storage volumes can be attached to any instances, provided that the instances are in the same Availability Zone as the volumes.
Question.10 Explain Simple Email Service of AWS.
Answer :Amazon Simple Email Service or SES is Amazon’s cloud-based email sending service which helps users in sending marketing, notification, and transactional emails as a cost-effective method while requiring a minimal setup and providing with maximum scalability.
SES can be used by calling the SES APIs from the command line. SES provides the user with performance data to help them track status of the email, and also has an option to provide feedback from the internet service providers.
Question.11 What is AWS Route 53?
Answer :It is a highly available Domain Name System (DNS), to help users get a website or a web application and have it running. Route 53 translates website names into IP addresses that are used by the computers to connect with each other. performs the following functions:
- Register domain names
- Automatically configure DNS settings for domains
- Independently monitor the health of an application
- Configure health checks of the DNS to route traffic accordingly
- Manage traffic globally using different routing types
Question.12 What is AWS CloudWatch?
Answer :Amazon CloudWatch is a monitoring service for AWS resources and the application run on AWS. It is used to collect metrics, monitor log files, store log files, access log files, track metrics, set alarms, send system events, and automatically respond to changes in the AWS resources.
CloudWatch has the capability to monitor EC2 instances and DynamoDB tables.
CloudWatch can also monitor custom metrics generated by any particular application or service and also the log files which are generated by these applications.
Question.13 Explain Amazon Simple Storage Service.
Answer :Amazon Simple Storage Service or S3 is an internet storage, to help ease web-scale computing. S3 can be used to store and retrieve data, to any amount, at any given point of time from any location on the web.
Question.14 Explain the process of making requests to Amazon S3.
Answer :Amazon S3 is a REST service, so requests can be sent to Amazon S3 using REST API or the AWS SDK wrapper libraries. These libraries wrap the underlying Amazon S3 API. Requests can be made to Amazon S3 in the following three ways:
- Over IPv6
- Using the AWS SDKs
- Using the REST API
While using AWS SDK, the libraries compute the signature from the keys provided. On the other hand, while making REST API calls in the application being developed, code must be written to compute the signature and add it to the request.
Question.15 What is an Amazon S3 bucket?
Answer :Amazon S3 is an internet storage. To upload data into this storage, a bucket must be created in the AWS cloud in any one of the AWS regions. Any number of objects can be added to a bucket.
Question.16 How to create an Amazon bucket?
Answer :An AWS bucket can be created in one of the following ways:
- Create a bucket using console
- Create a bucket using AWS SDKs
- Make Amazon S3 REST API calls directly from code.
The last method, however, is avoided usually considering the complicated process required to perform it.
3 provides APIs to create buckets for storing objects in AWS. Each AWS account can hold up to 100 buckets. Bucket limit can be increased by submitting a service limit increase.
Question.17 How to delete a bucket in AWS?
Answer :A bucket in AWS can be deleted using the following ways:
- programmatically using AWS SDK
- Using lifecycle configuration to first empty the bucket and then delete it
- Using Amazon S3 console
- Using AWS CLI
An applicable method of the ones listed above is used based on the number of objects in the bucket and the version status of the bucket.
Question.18 How to empty a bucket in AWS?
Answer :A bucket in Aws can be emptied using the following ways:
- Using Amazon S3 console
- Using the AWS CLI
- Using Lifecycle configuration
- Using AWS SDK
Question.19 Explain the difference between deleting a bucket and emptying a bucket in AWS?
Answer :Deleting a bucket is the process of deleting the existence of a bucket completely whereas emptying a bucket is deleting the contents, or precisely the objects present in the bucket.
Both the operations use similar processes to be performed.
Question.20 How are the Amazon instance types configured?
Answer :When an instance in launched, the type of the instance commonly known as the ‘instance type’ determines the hardware of the host computer used for this instance.
Each instance in AWS is provided with a definite amount of CPU capacity irrespective of the hardware.
Amazon instances can be of varying types which can be optimized as appropriate for different use cases. Depending on the combinations of CPU, memory storage and networking capacity, Amazon instances are configured.
Every instance type provides higher or lower minimum performance from a shared resource which implies that instances with a high I/O performance have a larger allocation of shared resources compared to the other instances.
Amazon instance types are broadly classified as instance families: General purpose, Compute optimized, Memory optimized, Storage optimized, and accelerated computing.
Question.21 How to terminate an instance in AWS?
Answer :The process of deleting an instance when it is no longer necessary is called terminating an instance. Once the state of the instance changes to ‘shutting-down’ or ‘terminated’, the instance will be deleted. Once terminated, an instance cannot be restarted for use again although the same AMI can be used to create a new instance.>
Question.22 Explain Amazon EC2 security groups.
Answer :A security group behaves like a virtual firewall that controls traffic for one or more instances. When an instance is launched, one or more security groups is associated with the instance. The traffic control can be done using rules added to each security group and these rules can be modified at any given time.
Question.23 How can an Amazon AMI be copied?
Answer :An Amazon Machine Image, or AMI, can be copied using the CopyImage action. This can be done using one of the following ways:
- Using the AWS Management Console
- AWS command line tools
- Using the Amazon EC2 API
Question.24 What are the Object Lifecycle Management configuration rules in AWS?
Answer :The Object Lifecycle Management configuration rules define an action for Amazon S3 to apply for a group of objects. These rules are classified into two types: transition actions and expiration actions.
Transition actions when objects get transitioned into another storage class. Expiration actions specify when a selected object expires.