Q: 7
You are migrating to Cloud DNS and want to import your BIND zone file.
Which command should you use?
Options
Discussion
C . The key is you need
-zone-file-format when importing a BIND zone file, nothing in the question says to replace NS records or wipe out anything first. Only extra flags if the scenario calls for them. Someone shout if I'm missing a detail here.C . The -zone-file-format flag is what Cloud DNS expects for BIND imports, saw that in the official doc and labs. If you’re reviewing, stick to the official gcloud guide and maybe run a quick hands-on practice.
Option C
B tbh, had something like this in a mock and picked B for import tasks.
Its C for sure, only need -zone-file-format flag to import standard BIND files. No extra options required unless the question says otherwise.
You just need the -zone-file-format flag for a standard BIND import. C
C tbh
I don’t think it’s C, B makes more sense to me. The -replace-origin-ns flag adjusts the NS records which might be required when importing from a BIND file so those don’t conflict. Not 100 percent sure though, someone correct me if that’s off.
Feels like it's C here, since -zone-file-format is needed for importing from a BIND file. B looks tempting but that flag is only for replacing NS records, which isn't what the question asks.
B. I went with -replace-origin-ns because importing from a BIND file sometimes needs to adjust the NS records, right? The command looks close and covers handling the origin NS. Pretty sure that's needed here, but open to being corrected.
Be respectful. No spam.