Day 49 of #90daysofdevops
Hey Techies! Welcome to this blog
In this blog, we are going to start with INTERVIEW QUESTIONS ON AWS
INTERVIEW QUESTIONS:
Name 5 aws services you have used and what's the use cases?
Amazon EC2 (Elastic Compute Cloud) - EC2 is an on-demand computing service on the AWS cloud platform. Under computing, it includes all the services a computing device can offer to you along with the flexibility of a virtual environment.
IAM (Identify & Access Management) - Ensures that the right people and job roles in your organization (identities) can access the tools they need to do their jobs. Identity management and access systems enable your organization to manage employee apps without logging into each app as an administrator.
Amazon VPC (Virtual Private Cloud) - VPC is a service that allows its users to launch their virtual machines in a protected as well as isolated virtual environment defined by them. You have complete control over your VPC, from creation to customization and even deletion.
Amazon S3 (Simple Storage Service) - S3 is a scalable, high-speed, web-based cloud storage service. The service is designed for online backup and archiving of data and applications on Amazon Web Services (AWS). Amazon S3 was designed with a minimal feature set and created to make web-scale computing easier for developers.
Amazon SNS (Simple Notification Service) - SNS is a web service that automates the process of sending notifications to the subscribers attached to it. SNS provides this service to both application-to-person and application-to-application. It uses the publishers/subscribers paradigm for the push and delivery of messages. The data loss is prevented by storing the data across multiple availability zones.
What are the tools used to send logs to the cloud environment?
AWS CloudWatch: Monitors, logs, and reacts to changes in your AWS resources.
AWS CloudTrail: Records AWS API calls for your account and delivers log files.
What are IAM Roles? How do you create /manage them?
IAM (Identity and Access Management) roles are created and managed through the AWS Management Console or AWS Command Line Interface (CLI). Roles grant permissions to AWS resources securely without the need for long-term access keys.
How to upgrade or downgrade a system with zero downtime?
Use techniques like Blue-Green Deployment or canary releases, where the new version is gradually rolled out, ensuring minimal impact on users.
What is infrastructure as code and how do you use it?
IaC involves managing and provisioning infrastructure through machine-readable script files rather than physical hardware configuration. Tools like AWS CloudFormation and Terraform enable the automation of infrastructure deployment.
What is a load balancer? Give scenarios of each kind of balancer based on your experience.
Classic Load Balancer: Distributes incoming traffic across multiple Amazon EC2 instances.
Application Load Balancer: Best for routing HTTP/HTTPS traffic and provides advanced features.
Network Load Balancer: Handles TCP, UDP, and TLS traffic with high performance.
What is CloudFormation and why is it used for?
Amazon Web Services(AWS) offers cloud formation as a service by which you can provision and manage complicated services offered by AWS by using the code. Cloudformation will help you to manage the infrastructure and the services in the form of a declarative way.
Use of AWS CloudFormation provides users with a simple way to create and manage a collection of Amazon Web Services (AWS) resources by provisioning and updating them in a predictable way. AWS CloudFormation enables you to manage your complete infrastructure or AWS resources in a text file.
Difference between AWS CloudFormation and AWS Elastic Beanstalk?
AWS CloudFormation: A service for creating and managing AWS infrastructure as code.
AWS Elastic Beanstalk: Simplifies the deployment of applications, automatically handling capacity provisioning, load balancing, and more.
What are the kinds of security attacks that can occur on the cloud? And how can we minimize them?
Attacks: DDoS attacks, data breaches, insecure APIs.
Minimization: Use strong IAM policies, encryption, and regularly update security groups and network ACLs.
Can we recover the EC2 instance when we have lost the key?
Yes, you can recover an EC2 instance without the key by stopping the instance, detaching the root volume, attaching it to another instance, modifying the authorized_keys file, and reattaching the volume.
What is a gateway?
A gateway is a network node that connects two different networks, facilitating communication between them. In AWS, this could refer to services like API Gateway or VPN Gateway.
What is the difference between the Amazon Rds, Dynamodb, and Redshift?
RDS: Managed relational database service.
DynamoDB: Fully managed NoSQL database service.
Redshift: Fully managed data warehouse service.
Do you prefer to host a website on S3? What's the reason if your answer is either yes or no?
Yes: S3 is ideal for static website hosting due to its simplicity, scalability, and cost-effectiveness.
No: For dynamic or database-driven websites, a combination of services like EC2, Elastic Beanstalk, or ECS may be more suitable.
That's it! You've just completed the task. π
Thank you so much for taking the time to read till the end! Hope you found this blog informative and helpful.
Feel free to explore more of my content, and don't hesitate to reach out if need any assistance from me or in case of you have any questions.
Happy Learning!
~kritika :)
Connect with me: LinkedIn