Mphasis AWS Interview Questions
1. What is AWS?
AWS stands for Amazon Web Services. It is a service which is provided by the Amazon that uses distributed IT infrastructure to provide different IT resources on demand. It provides different services such as an infrastructure as a service, platform as a service, and software as a service.
2. What are Key-pairs?
An Amazon EC2 uses public key cryptography which is used to encrypt and decrypt the login information. In public key cryptography, the public key is used to encrypt the information while at the receiver's side, a private key is used to decrypt the information. The combination of a public key and the private key is known as key-pairs. Key-pairs allows you to access the instances securely.
3. What is AMI?
AMI stands for Amazon Machine Image. It’s a template that provides the information (an operating system, an application server, and applications) required to launch an instance, which is a copy of the AMI running as a virtual server in the cloud. You can launch instances from as many different AMIs as you need.
4. Mention what the relationship between an instance and AMI is?
From a single AMI, you can launch multiple types of instances. An instance type defines the hardware of the host computer used for your instance. Each instance type provides different computer and memory capabilities. Once you launch an instance, it looks like a traditional host, and we can interact with it as we would with any computer.
5. Explain can you vertically scale an Amazon instance? How?
Yes, we can vertically scale on the Amazon instance. Below are the steps for that:
- Spin up a new larger instance than the one you are currently running
- Pause that instance and detach the root webs volume from the server and discard
- Then stop your live instance and detach its root volume
- Note the unique device ID and attach that root volume to your new server
- And start it again
6. Mention what are the security best practices for Amazon EC2?
Following are the security best practices for Amazon EC2:
- 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
- Review the rules in your security groups regularly
- Only open up permissions that you require
- Disable password-based login, for example, launched from your AMI
7.Explain how the buffer is used in Amazon web services?
The buffer is used to make the system more robust to manage traffic or load by synchronizing different components. Usually, components receive and process the requests in an unbalanced way. With the help of a buffer, the components will be balanced and will work at the same speed to provide faster services.
8. What are the edge locations?
Edge location is the area where the contents will be cached. So, when a user is trying to access any content, the content will automatically be searched in the edge location.
9. What are the advantages of auto-scaling?
Following are the advantages of auto-scaling:
- Offers fault tolerance
- Better availability
- Better cost management
10. What is AWS Lambda?
Lambda is an Amazon compute service which allows you to run code in the AWS Cloud without managing servers.
11. What are the storage class available in Amazon s3?
Storage classes available with Amazon s3 are:
- Amazon S3 standard
- Amazon S3 standard-infrequent Access
- Amazon S3 Reduced Redundancy Storage
- Amazon Glacier
No comments:
Post a Comment