AWS Interview Questions For Freshers Flashcards
Source: https://www.youtube.com/watch?v=BYoNqzpZJ_Q
Security
Name some services that can secure your application?
- KMS keys encryption can handle encryption at rest
- AWS Certificate Manager to store SSL certificates to encrypt data in transit
- AWS WAF: for general security threats such as distributed denial-of-service (DDoS) attack, SQL Injection, Man-in-the-middle , Cross-site scripting
- Amazon Guard Duty: threat detection service that continuously monitors for malicious activity and unauthorized behavior to protect AWS accounts, workloads, and data stored in Amazon S3.
- You can use IAM or Cognito User Pools and Indentity Pools to manage authorizatoin and authentication
How to make sure you don’t go over a certain budget in AWS?
-You can use AWS budegts to set your threshold
-You can set alerts if you hit a percentage of that threshold
-You can trigger a lambda to shut down an EC2 instance or load balancer
What are your alternatives to doing everything in the console?
You have the option to create, update and delete resources via AWS CLI
You can add AWS SDK you can all AWS API actions from your code
Within a DevOps pipeline, you can also update your resources via Iac, like CloudFormation or Terraform.
Name the region specific and global specific AWS services?
Global resources: CloudFront, S3, IAM
Regional: EC2 instances, VPC, Lambda, CloudFormation
You can always tell if a resource is regional or global based on whether the top right corner.
Also most compute services are usually regional.
Favorite AWS services and Why?
CloudWatch enables you to monitor your complete stack (applications, infrastructure, and network) and use alarms, logs, and events data to take automated actions
How would you scale your application running in EC2 or Lambda?
EC2: AutoScaling Groups to scale baased on CPU, Memory, Schedule
Lambda: Is serverless so scaling happens automatically. If you exceed the default concurrent limit of 1000 per Region you can always increase by submitting a request in the AWS Support Center
How would you scale your application running Kubernetes?
Kubernetes: HorizontalPodAutoscaler automatically updates a workload resource with the aim of automatically scaling the workload to match demand.
Which AWS service would you use to track logs?
Application logs go to Cloudwatch
Infrastructure logs go to Cloudtrail
Files – Data collections that are grouped into files located in ______.
Blocks – It is the lowest level of storage and the closest to the _________.
Datasets – Data sets are organized into ______ like SQL or NoSQL
Objects – Data and the associated metadata are organized as ___-____ resources.
Files – Data collections that are grouped into files located in folders.
Blocks – It is the lowest level of storage and the closest to the hardware.
Datasets – Data sets are organized into tables like SQL or NoSQL
Objects – Data and the associated metadata are organized as web-based resources.
Amazon Cognito identity pools provide ______________ AWS credentials for users who are ______________ ________ or a ________ for users who have been authenticated.
Cognito user pool = Authourization
Amazon Cognito identity pools provide temporary AWS credentials for users who are unauthenticated guests or a token for users who have been authenticated.
With a Cognito user pool you can add ________ and ________ to mobile and web apps and it also offers a user directory so user accounts can be ________ within the user pool.
Cognito user pool = Authentication
With a Cognito user pool you can add sign-up and sign-in to mobile and web apps and it also offers a user directory so user accounts can be created within the user pool.
What are three way to run Kubernetes in AWS?
EKS
Red Hat OpenShift Service on AWS (ROSA)
Running self-managed EKS on EC2
Can you explain the difference between continuous integration and continuous delivery?
Continuous integration (CI) is the practice of regularly integrating code changes into a shared repository
Continuous delivery (CD) refers to the ability to release new features to production at any time by automating the build, test, and deployment process.
How do you handle deployments in a distributed environment? (2)
In a distributed environment, deployments can be handled using Terraform, Ansible, Puppet, or Chef to automate configuring and updating servers.
Additionally, containerization technologies such as Docker can help ensure consistency and ease of deployment across multiple servers.
Can you explain the role of a DevOps engineer?
A DevOps engineer manages the processes and tools that enable the development and operations teams to work together seamlessly. This includes implementing and maintaining CI/CD pipelines, monitoring, and logging systems, and infrastructure as code.