CompTIA Linux+ 2014 Powered By LPI: LX0-104 Security, Data, and Accessibility Flashcards

1
Q

You want to set a memory limit for user bbyrne of 200000 MB. Complete the command to do this.

linuxoro0:~ # _____ 200000 bbyrne

A

ulimit -m

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which command do you use to display a new field with data in SQL?

A) MySQL

B) select

C) insert into

D) show columns

A

B) select

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

You want to group data returned from a select statement by state and count the numbers of customers in each state.

Complete the command to do this.

mysql> select state, _____ from customers group by state;

A

count(customers.customername)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

You need to sort data returned from a select statement by customer name.

Complete the command to do this.

mysql> _____ from customers order by customername;

A

select customername

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which command do you use to display open files within a given subdirectory path?

A) lsof | more

B) lsof -D

C) lsof -u

D) fuser -v -n

A

B) lsof -D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

You want to configure keyboard accessibility.

Click the System Settings icon that you use to access these settings.

A

Universal Access

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

You’ve been asked to create a report displaying all records and all fields from the employees table.

mysql> _____ employees;

A

select * from

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

There are various commands to identify users who have logged in or who are currently logged in to the system.

Match each command with what it does.

1) Verify which users last logged in to the machine
2) Identify which users have currently logged in to the system and from where
3) Display the IP address information
4) Display who is logged in to the system and identify what they are working on

A) who

B) last

C) last -i

D) w

A

1) B
2) A
3) C
4) D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

There are various commands used to select data by joining two or more tables.

Match each command to a description of what it does.

1) Display the structure of the tables
2) Launch the MySQL database prompt
3) View the required tables
4) Use the database

A) show tables command

B) mysql command

C) show columns statement

D) use command

A

1) C
2) B
3) A
4) D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

You are exporting the public key to a file on the root of the file system and specifying a delivery e-mail address using GnuPG.

linux-oroO:~ # _____ /dbyrne pubkey.gpg –export dbyrr.e@skillsoft.com

A

gpg –output

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are examples of features that can be configured using Orca Screen Reader?

A) Flash support

B) Speed the language is spoken at

C) Speed of web download

D) Language

E) Braille display

F) Screen magnifier

A

B) Speed the language is spoken at

D) Language

E) Braille display

F) Screen magnifier

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

You are exporting the public key to a file on the root of the file system and specifying a delivery e-mail address using GnuPG.

linux-oroO:~ # _____ /dbyrne pubkey.gpg –export dbyrr.e@skillsoft.com

A

gpg –output

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

You want to set the maximum password aging interval for user bbyrne to 60. Complete the command to do this.

linuxoro0:~ # _____ bbyrne

A

chage –maxdays 60

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

You want to generate an rsa-matching public and private key pair for the currently logged in user.

Complete the command to start this process.

root@debian:~# _____ -t rsa

A

ssh-keygen

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

You need to run graphical apps from a remote SSH server and have them display locally on this host.

root@debian:~# ______ root@192.168.1.106

A

ssh -X

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Which port does nmap scan by default?

A) ICMP

B) TCP

C) UDP

A

B) TCP

17
Q

You want to set the maximum password aging interval for user bbyrne to 60. Complete the command to do this.

linuxoro0:~ # _____ bbyrne

A

chage –maxdays 60