フリー問題

Oracle Cloud Infrastructure Cloud Ops Professional のフリー問題 3 / 20 問目

問題文

A team must place a configuration file on a new instance and then restart a service so the file takes effect. Which pair of cloud-config directives does this in a single pass?

選択肢

  1. Put the file body under runcmd and put the restart under write_files so the service reads the file during the earliest stage of the boot sequence on that host.
  2. Put the file body under packages and put the restart under runcmd so the package manager writes the file as part of its own work.
  3. Put the file body under users and put the restart under bootcmd so the new account owns the file from the beginning.
  4. Put the file body under write_files and put the restart under runcmd so the file already exists on disk by the time the command is executed.

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

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