Q1: Name 5 AWS Services and Their Use Cases
Amazon S3 (Simple Storage Service): Storing and retrieving massive amounts of data, ideal for backups, static website hosting, and data archiving.
Amazon EC2 (Elastic Compute Cloud): Providing resizable compute capacity in the cloud, used for web hosting, application deployment, and data processing.
AWS Lambda: Running code without provisioning or managing servers, suitable for event-driven architectures and serverless applications.
Amazon RDS (Relational Database Service): Managing relational databases, essential for applications that require structured data storage.
Amazon CloudWatch: Monitoring resources and applications, helping in optimizing performance and resource utilization.
Q2: Tools for Sending Logs to Cloud Environment
To send logs to the cloud, tools like AWS CloudWatch Logs Agent, AWS Command Line Interface (CLI), and Fluentd are commonly used.
Q3: IAM Roles and Their Management
IAM (Identity and Access Management) Roles are AWS identities with permission policies. They allow securely delegating permissions, e.g., to EC2 instances. You create and manage IAM Roles in the AWS Management Console or programmatically through the AWS CLI.
Q4: Upgrading/Downgrading with Zero Downtime
To upgrade/downgrade systems with zero downtime, techniques like Blue-Green Deployments or Canary Deployments are employed. These involve gradually shifting traffic from the old version to the new version.
Q5: Infrastructure as Code (IaC)
IaC involves defining and provisioning infrastructure using code. Tools like AWS CloudFormation and Terraform allow creating and managing resources through code, providing reproducibility and consistency.
Q6: Load Balancers and Use Cases
Load balancers distribute incoming traffic across multiple instances for improved availability and fault tolerance. For instance, Application Load Balancers suit HTTP/HTTPS traffic, while Network Load Balancers manage TCP/UDP traffic.
Q7: AWS CloudFormation
CloudFormation is a service for creating and managing AWS resources using templates. It enables infrastructure as code and ensures consistent resource provisioning.
Q8: Difference Between AWS CloudFormation and AWS Elastic Beanstalk
CloudFormation focuses on provisioning infrastructure, while Elastic Beanstalk is a platform-as-a-service that simplifies application deployment and management.
Q9: Cloud Security Attacks and Mitigation
Security attacks like DDoS, data breaches, and unauthorized access can occur. Implementing strong IAM policies, encryption, network security, and regular audits can minimize risks.
Q10: Recovering an EC2 Instance without a Key Pair
If you've lost the key pair for an EC2 instance, you can't recover it. However, you can create an Amazon Machine Image (AMI) from the instance and launch a new instance from that AMI with a new key pair.
Q11: Understanding Gateways
A gateway is a network node that connects different networks. In AWS, a Virtual Private Gateway connects an on-premises network to a VPC.
Q12: Amazon RDS, DynamoDB, and Redshift
Amazon RDS manages relational databases.
DynamoDB is a NoSQL database for fast and flexible application performance.
Amazon Redshift is a data warehousing service for analyzing large datasets.
Q13: Hosting a Website on Amazon S3
Yes, hosting a static website on Amazon S3 is cost-effective and scalable. However, for dynamic websites, a combination of S3, AWS Lambda, and other services might be needed.