Robustness interview questions

15 Robustness questions from the Bash bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute IT readiness check — six questions and a result.

Take the free IT readiness check

or take a mock interview set up for this area

1. What is Errexit option?

Mid
  1. A.a mechanism that registers commands to run automatically when the shell receives a given signal or reaches exit
  2. B.a setting that makes a pipeline report failure if any stage fails, rather than only reflecting the last stage's status
  3. C.a shell mode, enabled with set dash-e, that aborts the script when any untested command returns a nonzero status
  4. D.a shell mode, enabled with set dash-u, that treats referencing an undefined variable as an immediate error instead of an empty string

Answer + AI explanation with Pro

2. Which term means: "a shell mode, enabled with set dash-e, that aborts the script when any untested command returns a nonzero status"?

Mid
  1. A.Nounset option
  2. B.Errexit option
  3. C.Pipefail option
  4. D.Trap builtin

Answer + AI explanation with Pro

3. Which statement is correct?

Mid
  1. A.Errexit option — a shell mode, enabled with set dash-u, that treats referencing an undefined variable as an immediate error instead of an empty string
  2. B.Errexit option — a shell mode, enabled with set dash-e, that aborts the script when any untested command returns a nonzero status
  3. C.Errexit option — a setting that makes a pipeline report failure if any stage fails, rather than only reflecting the last stage's status
  4. D.Errexit option — a mechanism that registers commands to run automatically when the shell receives a given signal or reaches exit

Answer + AI explanation with Pro

4. What is Nounset option?

Mid
  1. A.a shell mode, enabled with set dash-u, that treats referencing an undefined variable as an immediate error instead of an empty string
  2. B.a shell mode, enabled with set dash-e, that aborts the script when any untested command returns a nonzero status
  3. C.the shell's breaking of an unquoted expansion into multiple fields on whitespace, the classic reason to wrap variables in double quotes
  4. D.a mechanism that registers commands to run automatically when the shell receives a given signal or reaches exit

Answer + AI explanation with Pro

5. Which term means: "a shell mode, enabled with set dash-u, that treats referencing an undefined variable as an immediate error instead of an empty string"?

Mid
  1. A.Pipefail option
  2. B.Word splitting
  3. C.Errexit option
  4. D.Nounset option

Answer + AI explanation with Pro

6. Which statement is correct?

Mid
  1. A.Nounset option — a mechanism that registers commands to run automatically when the shell receives a given signal or reaches exit
  2. B.Nounset option — a setting that makes a pipeline report failure if any stage fails, rather than only reflecting the last stage's status
  3. C.Nounset option — the shell's breaking of an unquoted expansion into multiple fields on whitespace, the classic reason to wrap variables in double quotes
  4. D.Nounset option — a shell mode, enabled with set dash-u, that treats referencing an undefined variable as an immediate error instead of an empty string

Answer + AI explanation with Pro

7. What is Pipefail option?

Senior
  1. A.a shell mode, enabled with set dash-u, that treats referencing an undefined variable as an immediate error instead of an empty string
  2. B.a shell mode, enabled with set dash-e, that aborts the script when any untested command returns a nonzero status
  3. C.the shell's breaking of an unquoted expansion into multiple fields on whitespace, the classic reason to wrap variables in double quotes
  4. D.a setting that makes a pipeline report failure if any stage fails, rather than only reflecting the last stage's status

Answer + AI explanation with Pro

8. Which term means: "a setting that makes a pipeline report failure if any stage fails, rather than only reflecting the last stage's status"?

Senior
  1. A.Pipefail option
  2. B.Trap builtin
  3. C.Errexit option
  4. D.Nounset option

Answer + AI explanation with Pro

9. Which statement is correct?

Senior
  1. A.Pipefail option — a shell mode, enabled with set dash-e, that aborts the script when any untested command returns a nonzero status
  2. B.Pipefail option — a mechanism that registers commands to run automatically when the shell receives a given signal or reaches exit
  3. C.Pipefail option — the shell's breaking of an unquoted expansion into multiple fields on whitespace, the classic reason to wrap variables in double quotes
  4. D.Pipefail option — a setting that makes a pipeline report failure if any stage fails, rather than only reflecting the last stage's status

Answer + AI explanation with Pro

10. What is Trap builtin?

Mid
  1. A.the shell's breaking of an unquoted expansion into multiple fields on whitespace, the classic reason to wrap variables in double quotes
  2. B.a shell mode, enabled with set dash-e, that aborts the script when any untested command returns a nonzero status
  3. C.a setting that makes a pipeline report failure if any stage fails, rather than only reflecting the last stage's status
  4. D.a mechanism that registers commands to run automatically when the shell receives a given signal or reaches exit

Answer + AI explanation with Pro

11. Which term means: "a mechanism that registers commands to run automatically when the shell receives a given signal or reaches exit"?

Mid
  1. A.Pipefail option
  2. B.Word splitting
  3. C.Nounset option
  4. D.Trap builtin

Answer + AI explanation with Pro

12. Which statement is correct?

Mid
  1. A.Trap builtin — a shell mode, enabled with set dash-u, that treats referencing an undefined variable as an immediate error instead of an empty string
  2. B.Trap builtin — a mechanism that registers commands to run automatically when the shell receives a given signal or reaches exit
  3. C.Trap builtin — a shell mode, enabled with set dash-e, that aborts the script when any untested command returns a nonzero status
  4. D.Trap builtin — a setting that makes a pipeline report failure if any stage fails, rather than only reflecting the last stage's status

Answer + AI explanation with Pro

13. What is Word splitting?

Junior
  1. A.a shell mode, enabled with set dash-u, that treats referencing an undefined variable as an immediate error instead of an empty string
  2. B.a mechanism that registers commands to run automatically when the shell receives a given signal or reaches exit
  3. C.the shell's breaking of an unquoted expansion into multiple fields on whitespace, the classic reason to wrap variables in double quotes
  4. D.a shell mode, enabled with set dash-e, that aborts the script when any untested command returns a nonzero status

Answer + AI explanation with Pro

14. Which term means: "the shell's breaking of an unquoted expansion into multiple fields on whitespace, the classic reason to wrap variables in double quotes"?

Junior
  1. A.Errexit option
  2. B.Nounset option
  3. C.Word splitting
  4. D.Pipefail option

Answer + AI explanation with Pro

15. Which statement is correct?

Junior
  1. A.Word splitting — a mechanism that registers commands to run automatically when the shell receives a given signal or reaches exit
  2. B.Word splitting — a setting that makes a pipeline report failure if any stage fails, rather than only reflecting the last stage's status
  3. C.Word splitting — a shell mode, enabled with set dash-e, that aborts the script when any untested command returns a nonzero status
  4. D.Word splitting — the shell's breaking of an unquoted expansion into multiple fields on whitespace, the classic reason to wrap variables in double quotes

Answer + AI explanation with Pro

Free to start

Start with a free readiness check

Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Robustness question come with Pro.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers