41. Define Snapshots in Amazon Lightsail?
The point-in-time backups of EC2 instances, block storage drives, and databases are known as snapshots. They can be produced manually or automatically at any moment. Your resources can always be restored using snapshots, even after they have been created. These resources will also perform the same tasks as the original ones from which the snapshots were made.
42. On an EC2 instance, an application of yours is active. Once the CPU usage on your instance hits 80%, you must reduce the load on it. What strategy do you use to complete the task?
It can be accomplished by setting up an autoscaling group to deploy additional instances, when an EC2 instance’s CPU use surpasses 80% and by allocating traffic across instances via the creation of an application load balancer and the designation of EC2 instances as target instances.
43. Multiple Linux Amazon EC2 instances running a web application for a firm are being used, and data is being stored on Amazon EBS volumes. The business is searching for a way to provide storage that complies with atomicity, consistency, isolation, and durability while also increasing the application’s resilience in the event of a breakdown (ACID). What steps should a solutions architect take to fulfill these demands?
AWS Auto Scaling groups can create an application load balancer that spans many availability zones. Mount a target on each instance and save data on Amazon EFS.
44. Your business prefers to use its email address and domain to send and receive compliance emails. What service do you recommend to implement it easily and budget-friendly?
This can be accomplished by using Amazon Simple Email Service (Amazon SES), a cloud-based email-sending service.
45. Describe SES.
Amazon offers the Simple Email Service (SES) service, which allows you to send bulk emails to customers swiftly at a minimal cost.
46. Describe PaaS.
PaaS supports the operation of multiple cloud platforms, primarily for the development, testing, and oversight of the operation of the program.
47. How many S3 buckets can be created?
Up to 100 buckets can be created by default.
48. What is the maximum limit of elastic IPs anyone can produce?
A maximum of five elastic IP addresses can be generated per location and AWS account
49. What is Amazon EC2?
EC2 is short for Elastic Compute Cloud, and it provides scalable computing capacity. Using Amazon EC2 eliminates the need to invest in hardware, leading to faster development and deployment of applications. You can use Amazon EC2 to launch as many or as few virtual servers as needed, configure security and networking, and manage storage. It can scale up or down to handle changes in requirements, reducing the need to forecast traffic. EC2 provides virtual computing environments called “instances.”
50. What Are Some of the Security Best Practices for Amazon EC2?
Security best practices for Amazon EC2 include using Identity and Access Management (IAM) to control access to AWS resources; restricting access by only allowing trusted hosts or networks to access ports on an instance; only opening up those permissions you require, and disabling password-based logins for instances launched from your AMI.
51. Can S3 Be Used with EC2 Instances, and If Yes, How?
Amazon S3 can be used for instances with root devices backed by local instance storage. That way, developers have access to the same highly scalable, reliable, fast, inexpensive data storage infrastructure that Amazon uses to run its own global network of websites. To execute systems in the Amazon EC2 environment, developers load Amazon Machine Images (AMIs) into Amazon S3 and then move them between Amazon S3 and Amazon EC2.Amazon EC2 and Amazon S3 are two of the best-known web services that make up AWS.
52. What is the difference between stopping and terminating an EC2 instance?
While you may think that both stopping and terminating are the same, there is a difference. When you stop an EC2 instance, it performs a normal shutdown on the instance and moves to a stopped state. However, when
you terminate the instance, it is transferred to a stopped state, and the EBS volumes attached to it are deleted and can never be recovered.
53. What are the different types of EC2 instances based on their costs?
The three types of EC2 instances are:
- On-demand Instance
It is cheap for a short time but not when taken for the long term - Spot Instance
It is less expensive than the on-demand instance and can be bought through bidding. - Reserved Instance
If you are planning to use an instance for a year or more, then this is the right one for you.
54. How do you set up SSH agent forwarding so that you do not have to copy the key every time you log in?
Here’s how you accomplish this:
- Go to your PuTTY Configuration
- Go to the category SSH -> Auth
- Enable SSH agent forwarding to your instance
55. What are Solaris and AIX operating systems? Are they available with AWS?
Solaris is an operating system that uses SPARC processor architecture, which is not supported by the public cloud currently. AIX is an operating system that runs only on Power CPU and not on Intel, which means that you cannot create AIX instances in EC2.Since both the operating systems have their limitations, they are not currently available with AWS.
56. How do you configure CloudWatch to recover an EC2 instance?
Here’s how you can configure them:
- Create an Alarm using Amazon CloudWatch
- In the Alarm, go to Define Alarm -> Actions tab
- Choose Recover this instance option
57. What are the common types of AMI designs?
There are many types of AMIs, but some of the common AMIs are:
- Fully Baked AMI
- Just Enough Baked AMI (JeOS AMI)
- Hybrid AMI
58. What are Key-Pairs in AWS?
The Key-Pairs are password-protected login credentials for the Virtual Machines that are used to prove our identity while connecting the Amazon EC2 instances. The Key-Pairs are made up of a Private Key and a Public Key which lets us connect to the instances.
59. What is Amazon S3?
S3 is short for Simple Storage Service, and Amazon S3 is the most supported storage platform available. S3 is object storage that can store and retrieve any amount of data from anywhere. Despite that versatility, it is practically unlimited as well as cost-effective because it is storage available on demand. In addition to these benefits, it offers unprecedented levels of durability and availability. Amazon S3 helps to manage data for cost optimization, access control, and compliance.
60. How can you recover/login to an EC2 instance for which you have lost the key?
Follow the steps provided below to recover an EC2 instance if you have lost the key:
- Verify that the EC2Config service is running
- Detach the root volume for the instance
- Attach the volume to a temporary instance
- Modify the configuration file
- Restart the original instance