Free Oracle 1z0-105 Exam Questions (page: 11)

Identify the two commands that can be used to set SELinux file labels back to their default values.

  1. chcon
  2. fixfiles
  3. semanage fcontext
  4. restorecon
  5. matchpathcon
  6. opdate_selinux

Answer(s): A,D



Examine the dtrace command.

dtrace q n syscall:::

Which two statements are true?

  1. The command produces minimal output, but this includes the CPU on which the probe fires, the probe ID, and the probe name.
  2. The dtrace command matches with all probes in the syscall provider.
  3. The -q option is invalid when not used with an explicit action, as in this case.
  4. The probe name specification is incorrect and does not match with any probes. This produces an "invalid probe specifier syscall:::" error message.
  5. The command produces no output.

Answer(s): D,E



Which statement describes the default network set up by an Oracle template script?

  1. The container is isolated from the network.
  2. A veth device is added to libvirt's virbr0 bridge.
  3. A macvlan device enables DHCP from the host's network.
  4. A private interface is routed to Open vSwitch.

Answer(s): B

Explanation:

By default, the lxc-oracle template script sets up networking by setting up a veth bridge. In this mode, a container obtains its IP address from the dnsmasq server that libvirtd runs on the private virtual bridge network (virbr0) between the container and the host. The host allows a container to connect to the rest of the network by using NAT rules in iptables, but these rules do not allow incoming connections to the container. Both the host and other containers on the veth bridge have network access to the container via the bridge.



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?

  1. Two cgroup hierarchies and three subsystems are defined; cgroup A1 and A2 are located in the same sgroup hierarchy.
  2. Two cgroup hierarchies and three subsystems are defined; cgroup A1 and A2 are located in different cgroup hierarchiers.
  3. Three cgroup hierarchies and three subsystems are defined; cgroup A1 and A2 are located in the same sgroup hierarchy.
  4. Three cgroup hierarchies and three subsystems are defined; cgroup A1 and A2 are located in different cgroup hierarchiers.
  5. Any user who is a member of the users group is allowed to move his or her own tasks from the root cgroup to cgroup A1 or cgroup A2.
  6. Any user who is a member of the users group is allowed to execute tasks in cgroups A1 and A2 and change the cpu.shares parameter in cgroups A1 and A2.

Answer(s): B,D



Viewing page 11 of 44



Post your Comments and Discuss Oracle 1z0-105 exam prep with other Community members:

1z0-105 Exam Discussions & Posts