フリー問題

Automation and DevOps, Associate (JNCIA-DevOps) のフリー問題 13 / 20 問目

問題文

A PyEZ script wraps its commit in a try statement with two catching clauses, both spelled out in full: one names the error class the library raises when the box turns that commit down, and one names the base class every built-in error inherits from. The same script also keeps the two port names it was handed in a built-in type that nothing later in the run can add to. Which pair names the clause that has to be placed above the other and the type it chose for those two names?

選択肢

  1. The team places that CommitError clause above the rest, and the pair of names rides in that list form.
  2. The team places that CommitError clause above the rest, and the pair of names rides in that tuple form.
  3. The team places that Exception clause above the rest, and the pair of names rides in that tuple form.
  4. The team places that Exception clause above the rest, and the pair of names rides in that list form.

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。