Exam4Training

Which command should you use?

You are migrating to Cloud DNS and want to import your BIND zone file.

Which command should you use?
A . gcloud dns record-sets import ZONE_FILE –zone MANAGED_ZONE
B . gcloud dns record-sets import ZONE_FILE –replace-origin-ns –zoneMANAGED_ZONE
C . gcloud dns record-sets import ZONE_FILE –zone-file-format –zoneMANAGED_ZONE
D . gcloud dns record-sets import ZONE_FILE –delete-all-existing –zone MANAGEDZONE

Answer: C

Explanation:

Once you have the exported file from your other provider, you can use the gcloud dns record-sets import command to import it into your managed zone. To import record-sets, you use the dns record-sets import command. The –zone-file-format flag tells importto expect a BIND zone formatted file. If you omit this flag, import expects a YAML-formatted records file.

Reference: https://medium.com/@prashantapaudel/gcp-certification-series-2-4-planning-and-configuring­network-resources-8045ac2cc2ac

Exit mobile version