design exercise Flashcards
1
Q
How to secure frontend
A
- SSL/TLS
- remove executable code from input fields
- research XSS (cross-site scripting)
- invest in authentication/authorisation
2
Q
How to secure backend
A
- encryption
- infrastructure security (security groups, private networks, credential management)
- access control
- update patches/libraries
- monitoring
3
Q
How to secure database
A
- separate from server
- encrypt and store backups
- infrastructure security
4
Q
How to secure infrastructure
A
- IAM roles/policies
- Limit access
- Private networks
- Security groups
- Rotate credentials
5
Q
How to scale DB?
A
- extract from server
- read only DB
- static cache
- shard
- horizontally/vertically scale