Docker Networking MCQs with answers Page - 6

You will find multiple-choice questions (MCQs) related to #Docker Networking here. Go through these questions to prepare effectively for your upcoming exams and interviews.

To view the correct answer for any question, simply click the "Show Answer" button.

Have a question to share? Click on "Add Question" to contribute!

A

Admin • 828.03K Points
Coach

Q. How do containers on different Docker hosts communicate?

  • (A) bridge network
  • (B) host network
  • (C) overlay network
  • (D) none network

A

Admin • 828.03K Points
Coach

Q. Which Docker component handles DNS-based service discovery?

  • (A) SwarmKit
  • (B) Docker Engine
  • (C) Docker DNS
  • (D) libnetwork

A

Admin • 828.03K Points
Coach

Q. How to remove a Docker network?

  • (A) docker network rm
  • (B) docker net delete
  • (C) docker network remove
  • (D) docker remove network

A

Admin • 828.03K Points
Coach

Q. Which command connects a running container to a network?

  • (A) docker run --connect
  • (B) docker connect network
  • (C) docker network connect
  • (D) docker add network

A

Admin • 828.03K Points
Coach

Q. Which network driver is best for production multi-host deployments?

  • (A) host
  • (B) bridge
  • (C) overlay
  • (D) none

A

Admin • 828.03K Points
Coach

Q. What does `docker network prune` do?

  • (A) Deletes all unused networks
  • (B) Removes all containers
  • (C) Deletes all bridge networks
  • (D) Deletes running networks

A

Admin • 828.03K Points
Coach

Q. Which protocol does Docker networking primarily use?

  • (A) ICMP
  • (B) UDP
  • (C) TCP/IP
  • (D) HTTP
What's Tag

As you may know, questions are organized under broad categories. Each category can include various types of questions. For example, the "History" category might contain questions about the Revolt of 1857, Shivaji Maharaj, Ancient History, Buddhism, and more.

To further refine this organization, we've introduced tags, which act as sub-categories to group questions more specifically.

Verified users can add tags to any question. If you have any suggestions regarding this system, we'd love to hear from you. Contact Us

Learn More