Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Question 4 of 77
Free Preview · 77 of 256 · questions 1–77 of 256 are free. Sign up free to sync your progress across devices.
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
The "gcloud dns record-sets import" command is used to import DNS records from a file to a Cloud DNS managed zone. The "ZONE_FILE" parameter specifies the file to be imported, and the "--zone" parameter specifies the name or ID of the managed zone to import the records into. In this case, the zone file is a BIND zone file, so we need to use the "--zone-file-format" flag to indicate the format of the file. This tells Cloud DNS to expect a file in BIND format, which is the standard format for zone files.
The correct command to import a BIND zone file into Cloud DNS is: C. gcloud dns record-sets import ZONE_FILE --zone-file-format --zone MANAGED_ZONE This command specifies the --zone-file-format flag to indicate that the import is in BIND zone file format, and you need to replace ZONE_FILE with the actual path to your BIND zone file and MANAGED_ZONE with the name of your managed zone in Cloud DNS. Option B (--replace-origin-ns) is not a valid flag for the gcloud dns record-sets import command. Option A and Option D do not include the correct flag for specifying the BIND zone file format.
Answer C