Which command would you use to import a zone file into GCP?

Disable ads (and more) with a premium pass for a one time $4.99 payment

Master the Google Cloud Professional Cloud Network Engineer test with engaging flashcards and multiple-choice questions. Each question designed with hints and explanations to enhance your preparation. Ace the exam seamlessly!

To import a zone file into Google Cloud Platform (GCP), the correct command is indeed to use gcloud dns record-sets import. This command is specifically designed to import DNS records from a zone file into a Google Cloud DNS managed zone.

Zone files contain DNS resource record configurations, and the record-sets import command processes the contents of these files to create or update resource records within your specified managed zone in GCP. By utilizing this command, you efficiently handle multiple DNS records at once, streamlining the setup and management of DNS settings.

The other commands provided do not serve the same function as gcloud dns record-sets import. They may reference operations related to DNS, but they do not perform the importation of zone files into GCP, which is critical for migrating DNS configurations or for the initial setup of a managed zone.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy