New Year Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70special

ECCouncil 212-77 Linux Security Exam Practice Test

Page: 1 / 5
Total 51 questions

Linux Security Questions and Answers

Testing Engine

  • Product Type: Testing Engine
$37.5  $124.99

PDF Study Guide

  • Product Type: PDF Study Guide
$33  $109.99
Question 1

What command would you type to change the ownership of somefile.txt from Ralph to tony?

Options:

A.

chmod somefile.txt tony

B.

chown somefile.txt tony

C.

chown ralph.tony somefile.txt

D.

chown tony somefile.txt

Question 2

Under the bash shell which is the most appropriate place to set environment variables that apply to all users?

Options:

A.

/etc/skel

B.

rc.sysinit

C.

/etc/profile

D.

/etc/bashrc

E.

rc.local

Question 3

When you downloaded a kernel patch from the Internet, the name you clicked on was kernel-patch-2.4.4-66.i386.tar.gz. The file that was downloaded is kernel-patch-2.4.4-66.i386.tgz. Which of the following commands will unarchive this patch from the /tmp directory?

Options:

A.

tar cvf /tmp/kernel-patch-2.4.4-66.i386.tgz

B.

tar xzf /tmp/kernel-patch-2.4.4-66.i386.tgz

C.

tar czf /tmp/kernel-patch-2.4.4-66.i386.tgz

D.

tar xvf /tmp/kernel-patch-2.4.4-66.i386.tgz

Question 4

As the developers in your company work on the newest security software, Antiterror, different versions of the beta are being released weekly. The current version, antiterror-7, is located in the /opt/bin/antiterror-7 directory. Later versions will be released in parallel directories; for example, the next version will be located in the /opt/bin/antiterror-8 directory. Everyone who is testing this software is running the /opt/test/antiterror command. Which of the following actions would ensure that the testers get the latest version of the software next week?

Options:

A.

ln /opt/test/antiterror /opt/bin/antiterror-7/antiterror-7

B.

ln antiterror /opt/bin/antiterror-8/antiterror-8

C.

ln /opt/test/antiterror.lnk /opt/bin/antiterror-8/antiterror-8

D.

ln /opt/test/antiterror /opt/bin/antiterror-8/antiterror-8

Question 5

You add the following line to the /etc/passwd file mary12250Mary Jones/home/mary/bin/bash a

and use the passwd command to change her password. You also create her home directory. However, when Mary tries to log in, the login fails. What is the problem?

Options:

A.

You did not assign a valid password to Mary's account.

B.

You did not set the appropriate permissions to her home directory.

C.

You did not create her home directory.

D.

You cannot create a new user account by manually editing the /etc/passwd file.

Question 6

Assume that you have just logged on as a regular user. Which of the following commands allows you to edit the file with user passwords associated with the Shadow Password Suite?

Options:

A.

vi /etc/shadow

B.

sudo -c "vi /etc/shadow"

C.

su -c "vi /etc/shadow"

D.

visu vi /etc/passwd

Question 7

Which of the following umask values will result in files with rw-r----- permissions?

Options:

A.

640

B.

022

C.

210

D.

027

Page: 1 / 5
Total 51 questions