nerdexam
Juniper

JN0-102 · Question #415

You recently uploaded a new software package to your Junos device and you want to ensure that the file uploaded successfully by verifying the file size. In this scenario, which command should you use?

The correct answer is D. file list detail. To verify a file upload by checking its size on a Junos device, the file list detail command is used as it provides comprehensive file information including size.

Operational Monitoring and Maintenance

Question

You recently uploaded a new software package to your Junos device and you want to ensure that the file uploaded successfully by verifying the file size. In this scenario, which command should you use?

Options

  • Afile show encoding
  • Bfile compare
  • Cfile checksum sha1
  • Dfile list detail

How the community answered

(50 responses)
  • A
    4% (2)
  • B
    12% (6)
  • C
    4% (2)
  • D
    80% (40)

Why each option

To verify a file upload by checking its size on a Junos device, the `file list detail` command is used as it provides comprehensive file information including size.

Afile show encoding

`file show encoding` displays the encoding of a text file, which is not relevant for verifying file size or upload success of a software package.

Bfile compare

`file compare` compares the content of two files, which is not the primary method for checking if a single file uploaded successfully by size.

Cfile checksum sha1

`file checksum sha1` calculates the SHA1 checksum of a file, used for integrity verification, but not directly for confirming file size or general upload success.

Dfile list detailCorrect

The `file list detail` command displays detailed information about files and directories, including file sizes, permissions, ownership, and modification times. This command is specifically useful for verifying the presence and size of an uploaded software package, which helps confirm successful transfer.

Concept tested: Junos file system management

Source: https://www.juniper.net/documentation/us/en/software/junos/junos-cli/topics/ref/command/file-list.html

Topics

#file management#software upgrade#CLI commands#file list

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice