LPI Level 1 102-500 Dumps Questions Updated V10.02

Recently we updated 102-500 dumps questions for your LPIC-1: Linux Administrator certification. We know that getting LPIC-1: Linux Administrator certification requires you answer both 101-500 and 102-500 exams. Today, we updated 102-500 dumps questions also to ensure that you can complete the LPIC-1 certification. The current version of 102-500 dumps is V10.02 with 194 practice questions and answers. Here, we will share Lpi 102-500 free dumps to help you check why 102-500 dumps V10.02 is great.

You can check 102-500 free dumps online

1. Which command makes the shell variable named VARIABLE visible to subshells?

2. Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)

3. Which command allows you to make a shell variable visible to subshells?

4. What is the purpose of the file /etc/profile?

5. Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Choose THREE correct answers.)

6. Which of the following words is used to restrict the records that are returned from a SELECT query based on a supplied criteria for the values in the records?

7. Which of the following configuration files should be modified to set default shell variables for all users?

8. Which of the following commands lists all defined variables and functions within Bash?

9. When the command echo $$ outputs 12942, what is the meaning of 12942?

10. How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?

11. Which of the following words is used to restrict the records that are returned from a SELECT SQL query based on a supplied criteria for the values in the records?

12. Which of the following commands puts the output of the command date into the shell variable mydate?

13. You are looking into a new script you received from your senior administrator. In the very first line you notice a #! followed by a file path.

This indicates that:

14. What keyword is missing from this code sample of a shell script?

____ i in *.txt; do

echo $i

done

15. Which of the following SQL statements will select the fields name and address from the contacts table?

16. CORRECT TEXT - (Topic 1)

What command displays all aliases defined in the current shell? (Specify the command without any path information)

17. What output will the following command sequence produce?

echo '1 2 3 4 5 6' | while read a b c; do

echo result: $c $b $a;

done

18. Which of the following SQL queries counts the number of occurrences for each value of the field order_type in the table orders?

19. CORRECT TEXT - (Topic 1)

What word is missing from the following SQL statement?

__________ count(*) from tablename;

(Please specify the missing word using lower-case letters only.)

20. What benefit does an alias in bash provide?

21. CORRECT TEXT - (Topic 1)

Which directory in /etc is used to keep a sample copy of files and directories for when a new user has a home directory created? (Please provide the full path)

22. When the command echo $ outputs 1, which of the following statements is true?

23. What output will the following command produce?

seq 1 5 20

24. What output will the command seq 10 produce?

25. CORRECT TEXT - (Topic 1)

What word is missing from the following SQL statement?

insert into tablename ________(909, 'text');

(Please specify the missing word using lower-case letters only.)

26. What is the difference between the commands test -e path and test -f path?

27. After issuing:

function myfunction { echo $1 $2 ; }

in Bash, which output does:

myfunction A B C

Produce?

28. Which of the following is the best way to list all defined shell variables?

29. CORRECT TEXT

By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.)

30. How is a display manager started?

31. CORRECT TEXT

What is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path.)

32. Which file used by XDM specifies the default wallpaper?

33. On a system running the KDE Display Manager, when is the /etc/kde4/kdm/Xreset script automatically executed?

34. Which of the following lines is an example of a correct setting for the DISPLAY environment variable?

35. X is running okay but you're concerned that you may not have the right color depth set.

What single command will show you the running color depth while in X?

36. What is the purpose of the Sticky Keys feature in X?

37. CORRECT TEXT

Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)

38. Your senior administrator asked you to change the default background of his machine, which uses XDM.

Which file would you edit to achieve this?

39. Why is the xhost program considered dangerous to use?

40. CORRECT TEXT

What is the name of the simple graphical login manager that comes with a vanilla X11 installation? (Specify ONLY the command without any path or parameters.)

41. The X11 configuration file xorg.conf is grouped into sections.

How is the content of the section SectionName associated with that section?

42. CORRECT TEXT

An administrator wants to determine the geometry of a particular window in X, so she issues the __________ -metric command and then clicks on the window.

43. Which of the following commands shows the current color depth of the X Server?

44. What is the purpose of a screen reader?

45. For accessibility assistance, which of the following programs is an on-screen keyboard?

46. Which of the following are tasks handled by a display manager like XDM or KDM? (Choose TWO correct answers.)

47. Which of the following files assigns a user to its primary group?

48. On a system using shadowed passwords, the most correct permissions for /etc/passwd are ___ and the most correct permissions for /etc/shadow are _________.

49. What is the main difference between the batch and at commands?

50. Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?

51. CORRECT TEXT - (Topic 3)

Which environment variable should be set in order to change the time zone for the commands run from within the environment variable's scope? (Specify the variable name only.)

52. CORRECT TEXT - (Topic 3)

The system's timezone may be set by linking /etc/localtime to an appropriate file in which directory? (Provide the full path to the directory, without any country information)

53. To prevent a specific user from scheduling tasks with at, what should the administrator do?

54. CORRECT TEXT - (Topic 3)

Which command is used to add an empty group to the system? (Specify ONLY the command without any path or parameters.)

55. A French user has installed the French language pack, but currencies are still being displayed with a leading '$' sign in his spreadsheets.

What must be done to fix this?

56. Which file contains the date of the last change of a user's password?

57. CORRECT TEXT - (Topic 3)

The ________ command is used to add a group to the system.

58. CORRECT TEXT - (Topic 3)

Which file specifies the user accounts that can NOT submit jobs via at or batch? (Provide the full path and filename)

59. What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)

60. Which command will set the local machine's timezone to UTC?

61. Which commands can you use to change a user's account aging information? (Choose THREE correct answers.)

62. Which commands can be used to change a user's account aging information? (Choose THREE correct answers.)

63. Which command can be used to delete a group from a Linux system?

64. What is the purpose of the iconv command?

65. Which TWO statements about crontab are true?

66. How is the file format of /etc/crontab different from a normal crontab file? (Select TWO correct answers)

67. Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?

68. What is the conventional purpose of Linux UIDs that are lower than 100?

69. Which of the following commands should be added to /etc/bash_profile in order to change the language of messages for an internationalized program to Portuguese (pt)?

70. Which of the following commands can be used to convert text files in one character encoding to another character encoding?


 

Updated LPIC-3 Mixed Environments 300-100 Dumps
LPI Linux Administrator - 101 (LPIC-1 101) 101-500 Updated Exam Questions

Add a Comment

Your email address will not be published. Required fields are marked *