nerdexam
IBM

C2180-371 · Question #81

A developer is creating a JAX-WS Web service. The Web service will be used to send cheque image file from the provider to the requestor. Given the following extract: @MTOM(enabled=true…

The correct answer is D. The minimum size in bytes for each attachment before MTOM is used. Smaller attachments. See the full explanation below for the reasoning.

Question

A developer is creating a JAX-WS Web service. The Web service will be used to send cheque image file from the provider to the requestor. Given the following extract:

@MTOM(enabled=true, threshold=50) @Web Service(name="Image Service", public class Image Provider { What does the threshold parameter indicate?

Options

  • AThe minimum number of attachments that can be sent in the message
  • BThe maximum number of attachments that can be sent in the message
  • CThe maximum size in bytes for each attachment to be sent using MTOM.
  • DThe minimum size in bytes for each attachment before MTOM is used. Smaller attachments
  • EThe maximum size in bytes for each attachment before MTOM streams to disk. Smaller

How the community answered

(29 responses)
  • A
    7% (2)
  • B
    3% (1)
  • C
    3% (1)
  • D
    72% (21)
  • E
    14% (4)

Community Discussion

No community discussion yet for this question.

Full C2180-371 Practice