フリー問題

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

問題文

A configuration must adopt an existing network, create servers inside it, and read a machine image chosen by another team. Which block types fit each of the three?

選択肢

  1. A resource block for the servers, a data block for the image, and a data block for the network with the lifecycle argument that prevents destruction so it is protected.
  2. A resource block for the new servers, a data block for the machine image, and an import into a resource block for the network so this configuration owns it going forward.
  3. Resource blocks for all three, importing the network and the image so the configuration has full control and can pin the image against unexpected changes.
  4. A resource block for the servers and data blocks for both the network and the image, since neither was created by this configuration.

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

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