It should be C only as suggested.
--zone-file-format
Indicates that the input records-file is in BIND zone format. If omitted, indicates that the records-file is in YAML format.
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.
ANS is C. --zone-file-format flag indicates that the input records-file is in BIND zone format. If omitted, indicates that the records-file is in YAML format. ref. https://cloud.google.com/sdk/gcloud/reference/dns/record-sets/import
Why would you conclude D, when the link you have provided proves the answer is C, check the examples section, second command which is gcloud dns record-sets import ZONE_FILE --zone-file-format --zone=MANAGED_ZONE
upvoted 1 times
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
rakeshvardan
Highly Voted 4 years, 3 months agosaurabh1805
4 years, 3 months agoBen756
Most Recent 1 month, 4 weeks agoxhilmi
1 month, 4 weeks agodragos_dragos62000
10 months, 2 weeks agopk349
1 year, 10 months agosomnathmaddi
2 years agoGCP72
2 years, 3 months agobinglu
2 years, 4 months agokumarp6
2 years, 10 months agoseddy
3 years, 6 months agoEJJ
3 years, 7 months agoAzureDP900
1 year, 12 months agonorwayping
4 years agosaurabh1805
4 years, 3 months agosaurabh1805
4 years, 3 months agopaweu
3 years, 7 months agopelekafitinakwenu
3 years, 3 months ago