Exercise Thursday

At the end of every course section, we'll take a break from coding to practice interview questions with our partner. These questions will (primarily) revolve around the content we learned in this course section. Much like a real interview, some will be more technical than others.

In addition to learning how to implement the new tools, technologies, and concepts, you want to become comfortable talking about them too, so you may accurately demonstrate and communicate these skills you've learned to potential employers in an interview. Not all interviewers will quiz you on vocabulary and concepts, as some of the questions below do. However, you should practice verbally articulating these topics in order to discuss them with confidence in an interview, regardless of the type of question that begins the discussion.

Take turns answering the questions below with your partner:

Technical Interview Questions


  • What is an ORM? How does using one make our lives easier as developers?
  • What is an MVC? Describe how the different parts of an MVC work together.
  • What is a validation? Why is it important to add validations to an application?
  • How does Rails handle routing? What are the seven RESTful routes?
  • What is a migration? Why should we use migrations with our databases?
  • What is a partial? How can we use them to DRY up our code?
  • What is a database scope? How would you write a scope for searching a database table?
  • What is the benefit of seeding a development database?
  • What is an n+1 query? Why are they important to avoid?
  • What does the following line mean of code mean: class Album < ApplicationRecord?
  • What functionality does a model in a Rails application inherit from Active Record?

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.

Lesson 33 of 34
Last updated July 14, 2022