arista ace p ale1 04 practice test

Arista Linux Essentials

Last exam update: Nov 18 ,2025
Page 1 out of 7. Viewing questions 1-15 out of 100

Question 1

Which utility can be used to merge sequentially corresponding lines of input streams into a single
output stream?

  • A. sort
  • B. cut
  • C. paste
  • D. diff
  • E. grep
Mark Question:
Answer:

C

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 2

What tool is awk based on?

  • A. ed
  • B. grep
  • C. sed
  • D. emacs
Mark Question:
Answer:

A

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 3

Which loop type is the recommended way to iterate over a set of filenames?

  • A. a case loop
  • B. a for loop
  • C. a while loop
  • D. an until loop
Mark Question:
Answer:

B

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 4

Which of these characters is not valid for filenames?
A. *
B. !
C. /
D. &
E. <space>

Mark Question:
Answer:

C
//www.linfo.org/file_name.html

Discussions
0 / 1000

Question 5

Which utility can be used to remove sections or columns of each line of input?

  • A. sort
  • B. cut
  • C. paste
  • D. diff
  • E. grep
Mark Question:
Answer:

B

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 6

What character is used as shorthand for your homedir?
A. $
B. #
C. .
D. ~

Mark Question:
Answer:

D
Each Linux account is associated with a home directory. When you login to your Linux account, by
default, your current working directory will be your home directory. UNIX provides a short-hand
symbol for your home directory, the tilde character, ~. So, to see a list of files in your home directory,
you can execute
ls ~

Discussions
0 / 1000

Question 7

On Arista switches, what object format is used for automation and scripting?

  • A. JSON
  • B. Java
  • C. Plain text files
  • D. Stream editing
Mark Question:
Answer:

A

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 8

The sed utility’s name is short for what?
A. stdout editor
B. stream editor
C. simple editor
D. string editor

Mark Question:
Answer:

B
Reference
//www.computerhope.com/unix/used.htm

Discussions
0 / 1000

Question 9

What are two primary variants of UNIX?

  • A. AT&T and Bell Labs
  • B. Sun and DEC
  • C. BSD and System V
  • D. Debian and Fedora
Mark Question:
Answer:

C

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 10

Ubuntu is a popular distribution from which core tree?

  • A. Fedora
  • B. Linux
  • C. Debian
  • D. Slackware
Mark Question:
Answer:

B

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 11

Where did the GECOS field in /etc/passwd come from?

  • A. Bell Labs DHCP lease tracking
  • B. Payroll name and address info
  • C. Bell Labs Print Service
  • D. Parking space assignments at AT&T
Mark Question:
Answer:

C

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 12

Where will the find command look to locate files?

  • A. The system binary directories
  • B. Your $PATH
  • C. Recursively starting in the directory you specify in the command options
  • D. Recursively starting at/
Mark Question:
Answer:

C

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 13

To kill all of the jobs you have access to kill, use which command?

  • A. kill -1 1
  • B. kill 1
  • C. kill -9 1
  • D. kill -9 -1
Mark Question:
Answer:

B

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 14

What must you do to get a complete report from the lsof command?

  • A. Run it at boot time
  • B. Make it part of systemd
  • C. Run it as root
  • D. Run it as a regular user
Mark Question:
Answer:

C

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 15

What is the awk tool designed to be?

  • A. a calculator
  • B. a pattern matching programming language
  • C. a non-interactive editing tool
  • D. an operating system
Mark Question:
Answer:

B

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000
To page 2