C. Connectionless is the correct answer. SOCK_DGRAM type is a type of socket that is used for connectionless communication. This means that it does not require confirmation from the other end of the connection. A SOCK_DGRAM socket is generally faster than other types of sockets, but since it is connectionless, it may suffer from packet loss or data corruption which can lead to errors.
In Python socket programming, the SOCK_DGRAM type specifies a connectionless socket, which means that the communication between two endpoints does not establish a long-lived connection before exchanging data. Instead, each message is sent individually and may take a different route to reach its destination, which makes it suitable for protocols that do not require reliability, such as DNS or UDP-based applications.
Provides datagrams, which are connectionless messages of a fixed maximum length. This type of socket is generally used for short messages, such as a name server or time server, because the order and reliability of message delivery is not guaranteed.
In the UNIX domain, the SOCK_DGRAM socket type is similar to a message queue. In the Internet domain, the SOCK_DGRAM socket type is implemented on the User Datagram Protocol/Internet Protocol (UDP/IP) protocol.
Connectionless due to the Datagram portion mentioned so that would mean its using UDP.
upvoted 4 times
...
This section is not available anymore. Please use the main Exam Page.PT0-002 Exam Questions
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.
nickwen007
9 months, 4 weeks agocy_analyst
10 months ago2Fish
11 months agoTreebeard88
1 year ago