Arista ace-p-ale1-04 practice test

Arista Linux Essentials Exam


Question 1

Many UNIX filesystems keep track of file data using what kind of node?

  • A. Index node
  • B. Metadata node
  • C. Block node
  • D. Super node
Answer:

A

Discussions
0 / 600

Question 2

Which character matches the end of a line in a regular expression?

  • A. !
  • B. ^
  • C. $
  • D. ?
Answer:

C

Discussions
0 / 600

Question 3

The init system in Linux has been replaced by what?

  • A. SysDB
  • B. systemd
  • C. ProcMgr
  • D. Lauchner
Answer:

B

Discussions
0 / 600

Question 4

In a bash script, what does the $0 builtin variable contain?

  • A. The entire command line
  • B. The name of the script
  • C. The last command line argument
  • D. The number of command line arguments
Answer:

B

Discussions
0 / 600

Question 5

Where will the whereis command look to locate files?

  • A. The system binary directories
  • B. Your $PATH
  • C. Root’s $PATH
  • D. Recursively starting at/
Answer:

B

Discussions
0 / 600

Question 6

Which of the following are valid examples of script interpreters?

  • A. /usr/bin/bash
  • B. /usr/bin/perl
  • C. /usr/bin/python
  • D. /usr/bin/Cli
  • E. All of them
Answer:

D

Discussions
0 / 600

Question 7

Which commands can be used to copy a file to or from remote host?

  • A. scp only
  • B. rsync only
  • C. scp and rsync
  • D. both cp and scp
  • E. cp, scp and rsync
Answer:

C

Discussions
0 / 600

Question 8

In bash scripting, which of the following is NOT valid way of evaluating an arithmetic expression?

  • A. $(( ))
  • B. ${}
  • C. $[]
  • D. let
Answer:

C

Discussions
0 / 600

Question 9

Who invented Linux?

  • A. Dennis Ritchie
  • B. Andy Bechtolsheim
  • C. AT&T Bell Labs
  • D. Linus Torvalds
Answer:

D

Discussions
0 / 600

Question 10

On an Arista switch, you can use zcat and zmore to do what?

  • A. View compressed text files from bash
  • B. View compressed text files from Cli
  • C. View any file from bash
  • D. View any file from Cli
  • E. Those commands don’t exist on Arista switches
Answer:

B

Discussions
0 / 600
To page 2