최신 Other Oracle Certification 1Z0-402 무료샘플문제:
1. The user smith has issued the command:
cut -f1,3 -d: /etc/passwd | tr a-z A-Z > file1.txt
What could be the purpose of using this command?
A) to map the username, UID, GID on the system in uppercase to file1.txt
B) to map the username along with passwords on the system in uppercase to file1.txt
C) to map the username, UID, passwords on the system in lowercase to file1.txt
D) to map the username along with UIDs on the system in uppercase to file1.txt
2. Which command would help you identify and count how many lines have the letter "w" and the letters (together) in the words.txt file?
A) grep w words.txt | grep is | wc -c
B) grep w words.txt | grep is | wc -I
C) grep '\.w' '\is' words.txt | wc -I
D) grep 'w' 'is' words.txt | wc -I
3. You have the copy of all the rpms in the /RPMS directory on your local Linux machine. After logging in as root and changing to the /RPMS directory, you try to install the mysql package using the rpm command. You end up with an error message as shown below:
Error: Failed dependencies: Perl(DBI) is needed by mysql.
How would you overcome this error and install mysql successfully by resolving the dependencies?
A) by installing the software using rpm with the --force option
B) by installing the software using rpm with the --nodeps option
C) by installing the software using rpm with the -F option
D) by installing the software using rpm with the --aid option
4. You executed the following command on a Linux machine:
sed s/hello/fun/g file1.txt | tr A-z -Z> file2.txt
What three things would this command do? (Choose three.)
A) Replace all occurrences of the entry hello with the entry fun.
B) Translate all uppercase characters to lowercase.
C) Modifies file1.txt and creates file2.txt.
D) Replace all occurrences of the entry fun with the entry hello.
E) Save all changes to file2.txt.
F) Translate all lowercase characters to uppercase.
5. The user smith on station1 is trying to use sftp to transfer some files to and from stationX, and
receives an error message as shown below:
[smith@station1 ~]$ sftp stationx Connecting to stationX...
root@stationX's password:
request for subsystem 'sftp' failed on channel 0
couldn't read packet: Connection reset by peer
[smith@station1 ~]$
How would you resolve the issue?
A) Restart the sshd service on stationX with /usr/bin/sftp enabled as the subsystem parameter in /etc/ssh/sshd_config.
B) Restart the sshd service on stationX with the IgnoreRhosts parameter set to no in /etc/ssh/sshd_config.
C) Restart the xinetd service on stationX with the gssftp service enabled.
D) Restart the sshd service on stationX with /usr/libexec/openssh/sftp-server enabled as a subsystem parameter in the /etc/ssh/sshd_config file.
질문과 대답:
질문 # 1 정답: D | 질문 # 2 정답: B | 질문 # 3 정답: D | 질문 # 4 정답: A,E,F | 질문 # 5 정답: D |