nerdexam
Oracle

1Z0-805 · Question #68

Which statement is true about the DSYNC constant defined in standardopenoptions enums?

The correct answer is A. DSYNC keeps only the file content and not the metadata synchronized with the underlying storage device. DSYNC keeps the file content synchronized with the underlying storage device. Note:SYNC keeps the file (both content and metadata) synchronized with the underlying storage Note 2: These are from the java.nio.file.StandardOpenOption enum class.

Java I/O Fundamentals

Question

Which statement is true about the DSYNC constant defined in standardopenoptions enums?

Options

  • ADSYNC keeps only the file content and not the metadata synchronized with the underlying storage device.
  • BDSYNC keeps thefile (both content and metadata) synchronized with the underlying storage device.
  • CDSYNC keeps only the file metadata and not the file content synchronized with the underlying storage device.
  • DDSYNC keeps the file (both content and metadata) de-synchronized with copies in the und< storage device.

How the community answered

(25 responses)
  • A
    72% (18)
  • B
    16% (4)
  • C
    4% (1)
  • D
    8% (2)

Explanation

DSYNC keeps the file content synchronized with the underlying storage device. Note:SYNC keeps the file (both content and metadata) synchronized with the underlying storage Note 2: These are from the java.nio.file.StandardOpenOption enum class.

Topics

#StandardOpenOptions#DSYNC#file synchronization#NIO

Community Discussion

No community discussion yet for this question.

Full 1Z0-805 Practice