Skip to main content

✏️ Technical Interview Practice: NoSQL

Technical Interview Questions


Hooks:

  • What pain points in React development do hooks solve?
  • What are the rules of hooks? What are some best practices for hooks?
  • What does the useState() hook do? Describe how to set it up.
  • Can we use hooks in class components?
  • What does the useEffect() hook do? Describe how to set it up.
  • When should you abstract stateful logic into a custom hook?

NoSQL and Firebase:

  • What are the major differences between SQL and NoSQL?
  • What is the CAP theorem? Why is it important and how does it describe NoSQL databases?
  • How is the CAP theorem different from ACID?
  • What are some of the advantages of using a cloud-based service like Firebase?
  • What are some of the disadvantages of using a cloud-based service?
  • Other than using a get request, how can we configure Firestore to get the latest snapshot of the database?
  • What is the difference between client-side and server-side routing?
  • When do we need to index fields in our Firestore database and why? What is indexing and why is it helpful?

Stories and Examples


Offering a tangible story or example that highlights your skills usually goes much further in an interview than simply telling your interviewer you're good at something. (i.e.: Telling a story about a time you tracked down a tricky bug versus simply saying "I'm good at problem-solving!").

Review the STAR method, discussed in this lesson on non-technical interviews. Use the STAR method to practice answering non-technical questions with your partner.

Again, if you come up with a story or example you feel good about, jot it down somewhere! It's tough to come up with stories like this in an interview on the spot. Having a few tucked away to review before an interview will be a huge benefit to you later.