LPI Linux Essentials 010-160 Practice Exam Questions and Answers – Part 11/12

Practice for the LPI Linux Essentials exam with 13 exam-style practice questions, instant answer reveals, and concise explanations of every correct answer. Topics include: Which of the following is an interpreted, high-level, general-purpose programming language?. Follow @CertPunch and visit certpunch.com for more certification practice exams and study content.

Prefer hands-on? Take this round as an interactive practice test — answer every question, get instant feedback, and see your score: Start the LPI Linux Essentials practice test →

What you will practice

  • Which of the following is an interpreted, high-level, general-purpose programming language?
  • Which of the following is a mobile operating system based on a modified version of the Linux kernel designed…
  • Which of the following programs on a Linux system could you use as a replacement for Microsoft Outlook?
  • When the free command is run, what does the Mem: line reveal about the system?
  • What is the symbolic representation of the octal numeric permission 644?
  • Which of the following commands will display a list of all files in the current directory, including those th…

Answers and explanations

Tap a question to expand the answer and the exam reasoning. Try to commit to your own pick first.

Q1. Which of the following is an interpreted, high-level, general-purpose programming language?

Answer: C. Python

Python is an interpreted, high-level, general-purpose programming language. The other options are either entirely fictional or represent made-up programming languages that do not fit this description.

Q2. Which of the following is a mobile operating system based on a modified version of the Linux kernel designed primarily for touchscreen mobile devices?

Answer: B. Android

Android is a mobile operating system based on a modified version of the Linux kernel. It is designed primarily for touchscreen mobile devices such as smartphones and tablets.

Q3. Which of the following programs on a Linux system could you use as a replacement for Microsoft Outlook?

Answer: C. Thunderbird

Mozilla Thunderbird is a free and open-source email client used in Linux. The other options are fabricated and do not represent actual email applications on the Linux platform.

Q4. When the free command is run, what does the Mem: line reveal about the system?

Answer: B. RAM statistics

The Mem line in the free command output displays the total, used, and free random access memory. Use free -h on the exam if you need to read the memory statistics in a more human friendly format like megabytes or gigabytes.

Q5. What is the symbolic representation of the octal numeric permission 644?

Answer: C. rw-r–r–

The octal permission 644 translates to read and write for the owner, and read only for the group and others. Remember the numeric scale for the exam where read is four, write is two, and execute is one.

Q6. Which of the following commands will display a list of all files in the current directory, including those that may be hidden?

Answer: A. ls -a

The ls command with the dash a option displays all files, including hidden files that start with a dot. Options like dash hidden are invalid, while dash h just changes the output to a human readable format.

Q7. Which of the following commands can be used to resolve a DNS name to an IP address?

Answer: C. nslookup

The nslookup command queries the Domain Name System to resolve domain names to their corresponding IP addresses. While tools like dig and host are also commonly tested for lookups, nslookup remains a classic utility for basic network troubleshooting tasks.

Q8. Which of the following statements would be used for sending both standard output and standard error to the same location?

Answer: D. 2>&1

The redirection syntax two greater than and one redirects file descriptor two, standard error, to the same location as file descriptor one, standard output. This specific ordering is crucial for combining both streams when capturing command output or error logs.

Q9. Which of the following is the file descriptor number used to represent the Standard Error (STDERR)?

Answer: C. 2

The standard error stream is represented by file descriptor number two. Standard input is zero and standard output is one, so memorize these default numbers as they are fundamental for shell redirection and pipeline operations.

Q10. What option can be used with tail or head to specify the number of lines to display to the screen?

Answer: A. -n

The dash n option specifies the exact number of lines to display when using the head or tail commands. By default, these utilities only show ten lines, so understanding this option is essential for parsing large text files or logs.

Q11. Which of the following options is used with tar to specify the filename of the tar archive?

Answer: C. -f

The dash f option tells the tar command to use a specific archive file, often required when creating or extracting backups. Without it, tar defaults to using a tape device, which is rarely used on modern local file systems.

Q12. Which of the following commands could be used to connect to a remote server and execute some commands securely?

Answer: B. ssh

The ssh command establishes a secure, encrypted connection to a remote server, allowing interactive command execution over the network. Telnet performs a similar function but sends data in plain text, failing modern security requirements.

Q13. Why are web browser cookies considered dangerous?

Answer: C. Cookies support identification and tracking of users

Cookies are considered dangerous to privacy because they support the identification and tracking of users across websites. While they do not typically exhaust disk space, their primary risk lies in silently compiling browsing habits and sensitive user data.

More LPI Linux Essentials drills and other practice exams are on @CertPunch. New rounds drop every few days at certpunch.com.

Scroll to Top