General Flashcards
What error will you get if you try to ssh into an instance with a new keypair?
Permissions 0644 for are too open.
What should you run to resolve permission 0644 error?
chmod 0400
Can security groups span regions?
No
What is the most likely cause of a connection timeout?
Issue in Security Group.
What is the most likely cause of a Connection Refused error?
An application error after successfully communicating with server
What are the default inbound/outbound rules for a default security group?
All inbound traffic is blocked
All outbound traffic is allowed
What is the difference between an IP assigned to an instance and an Elastic IP?
An assigned IP can change if the instance is rebooted. An Elastic IP is an IP you manage and allows you to have a fixed IP for your instance
What are 5 features of the Application Load Balancer?
- Handles Layer 7 HTTP traffic
- It can load balanced to multiple applications on the same machine
- It can load balance based on the route in the URL
- It can load balance based on the hostname in the URL
- It has a port mapping feature to redirect to a dynamic port
What does an A record do?
Maps a URL to an IPv4 address
What does an AAAA record do?
Maps a URL to an IPv6 address
What does a CNAME do?
Maps a url to another url (one domain to another).
What does an Alias do?
Maps a URL to an AWS resource.
What does ASYNC Replication mean?
It means that the consistency will be eventual consistency.
How is RDS data encrypted at REST?
AWS-KMS using AES-256 encryption.
How do you enforce SSL in PostgreSQL?
On the AWS RDS Console in Parameter Groups, set rds.force_ssl=1