General Interview Questions Flashcards
1
Q
What are some ways to check for performance/efficiency during code reviews?
A
- Nested loops in logic and overall efficient algorithm implementation
- Unnecessary calls to the DB or remote service
- Fetching more data than needed
2
Q
Things to check for during code reviews
A
- Readable
- Maintainable
- Code style, formatting
- Design principles/patterns
- Functionality: Does the code do what it is supposed to?
- Code smells, subtle bugs
- Security risks
- Regulatory reqs
- documentation needed?
- performance
- adequate test coverage
3
Q
How to implement single sign on (site A sign on, nav to site B and be signed in already)
A
4
Q
What is DynamoDB?
A
A fully managed NoSQL db that provides fast and predictable performance with seamless scalability.
- High availability and durability
- offload admin burdens of operation and scaling distributed dbs