DevOps Questions in Interviews

Last updated: December 3, 2026

This article applies to the new Interview experience.

DevOps questions in HackerRank Interviews provide a shared Linux terminal where you and the candidate can run commands on a server. Use these questions to evaluate continuous integration and continuous delivery (CI/CD), infrastructure, and reliability skills, such as configuring web servers and containers.

To add a DevOps question to your interview, see 📄 Manage Questions in an Interview → Adding a Data Science, Database, or DevOps question.

DevOps question components

A DevOps question contains a collapsible question panel on the left and the terminal on the right.

For information on other interview controls, see 📄 Navigate the Interview Interface and Controls.

Question panel

The Question panel displays the question title and the task. Depending on the question, it can also list the steps and commands used to evaluate the solution.

Click the Toggle left panel icon in the upper-left corner of the terminal to hide or show the question panel.

Note:

  • If you click Library in the question panel and select a question, a Replace existing question? dialog appears. Click Replace Question to replace the current question, or click Cancel to keep it. You lose any work done on the replaced question. Only interviewers can see Library. For more information, see 📄 Manage Questions in an Interview → Using question library.

Terminal

Use the terminal on the right to run commands on the server for the question. The question determines the server's operating system and whether root access through sudo is available. While the server starts, the terminal displays a progress bar, and the bar below the terminal displays status messages, such as Checking terminal connection and Downloading the required packages.

The terminal is shared. Commands that you or the candidate run, and their output, appear for both of you.

Each DevOps question in the interview has its own server. When you switch to another question and back, the terminal keeps the earlier commands and output.

If the question lists evaluation steps, you can run those commands in the terminal to check the candidate's solution.

Terminal keyboard shortcut

To move focus from the terminal to the next element on the page, press Control + Shift + X on macOS or Alt + X on Windows. To view the shortcut, hover over the information icon in the upper-right corner of the terminal.