SAA - Udemy Review Flashcards
(43 cards)
What are Application Load Balancers good for?
Micro Services & Container-based applications like Docker and Amazon ECS
The port mapping features helps to redirect to dynamic ports in ECS. If Classic Load Balancer was used, we’d need one per application so ALB is a better choice.
What is the port for FTP?
21
What is the port for SSH?
22
What is the port for SFTP?
22
What is the port for HTTP?
80
What is the port for HTTPS?
443
What are the database ports?
PostgreSQL: 5432 MySQL: 3306 Oracle RDS: 1521 MSSQL Server: 1433 MariaDB: 3306 AuroraPostgreSQL: 5432 AuroraMySQL: 3306
Which RDS feature when used does not require you to change SQL connection string regardless of which database is up?
Multi-AZ
If you don’t want to enable sticky sessions on your ALB in fear that it will overload some EC2 instances and you have an Auto Scaling Group behind an ALB with a fleet of EC2 instances, what should you do?
Store session data in ElastiCache to ensure different EC2 instances can retrieve user state if needed
What allows you to have a replica of your database in a different AWS region in case of a disaster?
Aurora Global Database
How can you enhance security of ElastiCache Redis cluster by forcing users to enter a password when they connect?
Use Redis Auth
In case of a regional outage for RDS PostgreSQL database so that DB is made available for both read and write workloads in another AWS region where the DR is highly available, what do you recommend?
Create a read replica in a different region and enable Multi-AZ on the read replica.
Which uses sync and async replication between RDS Read Replicas and Multi-AZ?
RR uses Async replication and Multi-AZ uses Sync replication
How many read replicas can you have for your RDS database?
5
Which RDS db does not support IAM db auth?
Oracle
How many Aurora read replicas can you have in a single Aurora DB cluster?
15
Aurora supports which DBs?
PostgreSQL and MySQL
What is an effective and highly available solution for a gaming leaderboard that is ranked in real-time?
ElastiCache for Redis - Sorted Sets
What is the A R53 recrod tyep?
maps host name to IPv4
What is AAAA?
maps host name to IPV6
What does CNAME do?
Map hostname to another hostname with an A or AAAA record
What is NS?
Name servers for hosted zone that controls traffic
What are the 3 types of health checks via route 53?
Monitor an endpoint (app, server, other AWS resource)
Monitor other health checks (calculated health checks)
Monitor CloudWatch alarms (full control) and is useful for private resources
How do monitoring endpoint healthchecks look?
15 health checkers
3 healthy/unhealthy threshold as default
30 second interval
Supporting HTTP and HTTPs and TCP protocols
If >18% it’s healthy, otherwise unhealthy
Can pass based on status code
Pass based on text in first 51020 bytes of response
Need to configure router/firewall to allow incoming requests