フリー問題

HashiCorp Certified: Terraform Associate (004) のフリー問題 15 / 20 問目

問題文

Which statement correctly describes how the local backend handles concurrent operations on the same working directory?

選択肢

  1. It creates a lock file next to the state file, which must be deleted by hand after any command that was interrupted, since the operating system cannot release a lock held by a process that has already exited.
  2. It locks the state using operating system facilities, so a second command on the same machine waits or fails rather than writing at the same time.
  3. It serializes operations on the local state file by queueing them, so a second command starts automatically as soon as the first one fully finishes.
  4. It does not lock at all, since locking is a feature of remote backends only.

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

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