Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Professional Cloud Network Engineer All Questions

View all questions & answers for the Professional Cloud Network Engineer exam

Exam Professional Cloud Network Engineer topic 1 question 4 discussion

Actual exam question from Google's Professional Cloud Network Engineer
Question #: 4
Topic #: 1
[All Professional Cloud Network Engineer Questions]

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 --zone MANAGED_ZONE
  • C. gcloud dns record-sets import ZONE_FILE --zone-file-format --zone MANAGED_ZONE
  • D. gcloud dns record-sets import ZONE_FILE --delete-all-existing --zone MANAGED ZONE
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
rakeshvardan
Highly Voted 4 years, 3 months ago
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.
upvoted 14 times
saurabh1805
4 years, 3 months ago
yes you are right, correct answer should be C
upvoted 2 times
...
...
Ben756
Most Recent 1 month, 4 weeks ago
Selected Answer: C
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.
upvoted 2 times
...
xhilmi
1 month, 4 weeks ago
Selected Answer: C
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.
upvoted 1 times
...
dragos_dragos62000
10 months, 2 weeks ago
Selected Answer: C
Answer C
upvoted 1 times
...
pk349
1 year, 10 months ago
C: To import record-sets from a zone file, run: gcloud dns record-sets import ZONE_FILE --zone-file-format *** --zone=MANAGED_ZONE
upvoted 1 times
...
somnathmaddi
2 years ago
Selected Answer: C
C is correct
upvoted 1 times
...
GCP72
2 years, 3 months ago
Selected Answer: C
C is correct answer for me
upvoted 1 times
...
binglu
2 years, 4 months ago
Answer is C
upvoted 1 times
...
kumarp6
2 years, 10 months ago
Answer is C
upvoted 2 times
...
seddy
3 years, 6 months ago
C -file format flag is necessary for BIND. If that flag is NOT used then the format would be YAML
upvoted 1 times
...
EJJ
3 years, 7 months ago
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
upvoted 2 times
AzureDP900
1 year, 12 months ago
Yes, you are right C. gcloud dns record-sets import ZONE_FILE --zone-file-format --zone MANAGED_ZONE
upvoted 1 times
...
...
norwayping
4 years ago
C is the right one
upvoted 1 times
...
saurabh1805
4 years, 3 months ago
D is correct option here, refer below link https://cloud.google.com/sdk/gcloud/reference/dns/record-sets/import
upvoted 1 times
saurabh1805
4 years, 3 months ago
C is correct answer
upvoted 6 times
...
paweu
3 years, 7 months ago
If you check this guy's link you will see C is right, click on --zone-file-format and you'll see bind format info.
upvoted 2 times
...
pelekafitinakwenu
3 years, 3 months ago
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
...
...
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.

SaveCancel
Loading ...