최신Oracle Linux 6 Advanced System Administration - 1z0-105무료샘플문제
문제1
A system has several multipathed devices. Some of them are in use with mounted file systems.
The remaining multipathed devices are unused.
The multipath command with the -F option is issued as shown:
[root@host03 /]# multipath -F
Which statement is true?
A system has several multipathed devices. Some of them are in use with mounted file systems.
The remaining multipathed devices are unused.
The multipath command with the -F option is issued as shown:
[root@host03 /]# multipath -F
Which statement is true?
정답: A
문제2
Examine the sequence:
# sealert -l dda34207-61fd-4de2-831d-039c79270864
SELinux is preventing /usr/sbin/httpd from read access on the
file /var/www/manual/new_features_2_2.html.
***** Plugin restorecon (85.9 confidence) suggests *****
If you want to fix the label.
/var/www/manual/new_features_2_2.html default label should be httpd_sys_content_t.
Then you can run restorecon.
Do
# /sbin/restorecon -v /var/www/manual/new_features_2_2.html
***** Plugin catchall_boolen (7.33 confidence) suggests *****
If you want to allow httpd to read user content
Then you must tell SELinux about this by enabling the 'httpd_read_user_content' boolean. You
can read 'user_selinux' man page for more details.
Do
setsebool -P httpd_read_user_content 1
What action must you take for fix this problem?
Examine the sequence:
# sealert -l dda34207-61fd-4de2-831d-039c79270864
SELinux is preventing /usr/sbin/httpd from read access on the
file /var/www/manual/new_features_2_2.html.
***** Plugin restorecon (85.9 confidence) suggests *****
If you want to fix the label.
/var/www/manual/new_features_2_2.html default label should be httpd_sys_content_t.
Then you can run restorecon.
Do
# /sbin/restorecon -v /var/www/manual/new_features_2_2.html
***** Plugin catchall_boolen (7.33 confidence) suggests *****
If you want to allow httpd to read user content
Then you must tell SELinux about this by enabling the 'httpd_read_user_content' boolean. You
can read 'user_selinux' man page for more details.
Do
setsebool -P httpd_read_user_content 1
What action must you take for fix this problem?
정답: C
문제3
Examine this command and its output: # yum history list Loaded plugins: security ID Login user Data and time Action(s) Altered 3 <oracle> 2014-07-29 13:34 Install 3 2 <oracle> 2014-07-29 13:33 Install 7 1
<oracle>
2014-07-29 13:33
Install
history list
Which command must you use to undo the last two yum transactions?
Examine this command and its output: # yum history list Loaded plugins: security ID Login user Data and time Action(s) Altered 3 <oracle> 2014-07-29 13:34 Install 3 2 <oracle> 2014-07-29 13:33 Install 7 1
<oracle>
2014-07-29 13:33
Install
history list
Which command must you use to undo the last two yum transactions?
정답: D
문제4
Which two commands can be used to find the cgroup to which a given process with PID belongs?
Which two commands can be used to find the cgroup to which a given process with PID belongs?
정답: A,B
설명: (ExamPassdump 회원만 볼 수 있음)
문제5
Which two parameters are valid networking modes for a Linux container (LXC)?
Which two parameters are valid networking modes for a Linux container (LXC)?
정답: A,B
문제6
Examine the current SELinux status:
# sestatus
SELinux status:
enabled
SELinuxfs mount:
/selinux
Current mode:
enforcing
Mode from config file:
permissive
Policy version:
Police from config file:
targeted
You have to meet these requirements:
1.Network services must run in a confined domain.
2.The guest user must be confined.
3.The guest user must not be allowed from using the su command.
4.Access to files and directories must be granted based only of the SELinux contexts.
5.The SELinux configuration must be persistent across system restarts.
6.Users must be able to publish private HTML content.
You issued these commands:
# setenforce enforcing
# semanage login -d -s guest_u guest
# setsebool -P httpd_enabled_homedirs on
Which requirements do you meet?
Examine the current SELinux status:
# sestatus
SELinux status:
enabled
SELinuxfs mount:
/selinux
Current mode:
enforcing
Mode from config file:
permissive
Policy version:
Police from config file:
targeted
You have to meet these requirements:
1.Network services must run in a confined domain.
2.The guest user must be confined.
3.The guest user must not be allowed from using the su command.
4.Access to files and directories must be granted based only of the SELinux contexts.
5.The SELinux configuration must be persistent across system restarts.
6.Users must be able to publish private HTML content.
You issued these commands:
# setenforce enforcing
# semanage login -d -s guest_u guest
# setsebool -P httpd_enabled_homedirs on
Which requirements do you meet?
정답: B
문제7
Examine the dtrace command.
dtrace -n 'proc:::exec {trace(execname);trace(pid);trace(stringof(arg0));}'
Which two statements are true?
Examine the dtrace command.
dtrace -n 'proc:::exec {trace(execname);trace(pid);trace(stringof(arg0));}'
Which two statements are true?
정답: A,C
설명: (ExamPassdump 회원만 볼 수 있음)
문제8
Which two statements are true about recursive nameservers that are supported by Oracle Linux?
Which two statements are true about recursive nameservers that are supported by Oracle Linux?
정답: A,D
문제9
A container has a runaway process that is consuming all of its allotted CPU time. You want to temporarily stop this container from using any more CPU so that you can inspect it and try to correct the problem.
Which command would you run?
A container has a runaway process that is consuming all of its allotted CPU time. You want to temporarily stop this container from using any more CPU so that you can inspect it and try to correct the problem.
Which command would you run?
정답: B
설명: (ExamPassdump 회원만 볼 수 있음)
문제10
Consider a cgroup configuration in the /etc/cgconfig.conf file:
mount {
cpuset = /cgroup/A;
cpu = /cgroup/A;
cpuacct = /cgroup/cpuacct;
}
group A1 {
perm {
admin {
uid = root;
gid = wheel;
}
task {
uid = root;
gid = users;
}
}
cpuset {
cpuset.mems="0";
cpuset.cpus="0";
}
cpu {
cpu.shares="5";
}
}
group A2 {
perm {
admin {
uid = root;
admin {
uid = root
gid = root;
}
task {
uid = root;
gid = users;
}
}
cpuset {
cpuset.mems="0";
cpuset.cpus="1";
}
cpu {
cpu.shares="5";
}
}
Which two statements are true?
Consider a cgroup configuration in the /etc/cgconfig.conf file:
mount {
cpuset = /cgroup/A;
cpu = /cgroup/A;
cpuacct = /cgroup/cpuacct;
}
group A1 {
perm {
admin {
uid = root;
gid = wheel;
}
task {
uid = root;
gid = users;
}
}
cpuset {
cpuset.mems="0";
cpuset.cpus="0";
}
cpu {
cpu.shares="5";
}
}
group A2 {
perm {
admin {
uid = root;
admin {
uid = root
gid = root;
}
task {
uid = root;
gid = users;
}
}
cpuset {
cpuset.mems="0";
cpuset.cpus="1";
}
cpu {
cpu.shares="5";
}
}
Which two statements are true?
정답: E,F