Ensurepass
2017 July Oracle Official New Released 1Z0-105 Q&As
100% Free Download! 100% Pass Guaranteed!
http://www.ensurepass.com/1Z0-105.html

Oracle Linux 6 Advanced System Administration

QUESTION 21

Examine this extract from/etc/httpd/conf/httpd.conffor virtual hosts:

 

<VirtualHost *:80>

 

ServerAdmin webmaster@sute1.example.com

 

DocumentRoot /www/docs/site1.example.com

 

ServerName site1.example.com

 

</VirtualHost>

 

<VirtualHost *:80>

 

ServerAdmin webmaster@sute2.example.com

 

DocumentRoot /www/docs/site2.example.com

 

ServerName site2.example.com

 

</VirtualHost>

 

Which three statements are true about the configuration extract?

 

A.

To connect to the website,site1.example.commust resolve to a different IP address thansite2.example.com.

B.

site1.example.comandsite2.example.comcan share the sameIP address.

C.

The web server attempts a DHCP discover to assign one IP addressper virtual host.

D.

It is possible but not mandatory to have unique IP addresses for each virtual host.

E.

Thesite1.example.comvirtual host shares and error logs withsite2.example.com.

 

Correct Answer: ACE

 

 

QUESTION 22

Examine the D script:

 

syscall::write:entry

 

{

 

@[execname] = avg(arg2);

 

}

 

Note that the third argument to thewrite(2)system call is the size of the write being made.

 

Which statement is true aboutthis D script?

 

A.

It displays the average write size that each unique process makes.

B.

It displays the average write size that each running program makes.

C.

It does not run because the aggregate is not named.

D.

It runs but produces no output.

 

Correct Answer: C

 

 

QUESTION 23

Consider the features of virtualization modes. Which three statements are correct?

 

A.

With full virtualization (FV), all aspects of a guest OS are virtualized. The guest OS running on a virtual machine (VM) can run unmodified.

B.

With paravirtualization (PV), the paravirtualized guests run a modified version of the guest OS, which communicates with the hypervisor by using hypercalls.

C.

PV takes advantage of the virtualization hardware extensions offered by the physical server. These hardware extensions are required to run paravirtualized VMs.

D.

Xen is a type-2 hypervisor that allows guests to run either as fully paravirtualized (PV guests) or as hardware virtualized (HVM guests), with or without paravirtualized drivers.

E.

The Oracle Linux Unbreakable Enterprise Kernel (UEK) is a PVOPS kernel that contains all paravirtualized drivers and can determine whether the underlying system supports FV or PV operations.

 

Correct Answer: CDE

 

 

QUESTION 24

You install thelxcpackage. Which command should you now run to ensure your kernel contains the necessary support to run containers?

 

A.

lxc-checkconfig

B.

cat /proc/sys/kernel/container_version

C.

lxc-kernelcheck

D.

virsh -c lxc:/// checkall

 

Correct Answer: A

Explanation:

http://man7.org/linux/man-pages/man1/lxc-checkconfig.1.html

 

 

QUESTION 25

Which three statements are true about an OpenLDAP server?

 

A.

/etc/openldap.confis the main configuration file for the LDAP server.

B.

LDAP entries are stored in a flat namespace.

C.

It can be used to store users and groups.

D.

In can be used to store hostnames and their IP addresses.

E.

It can replicate entries synchronously to another OpenLDAP server.

 

Correct Answer: ABC

 

 

QUESTION 26

Consider the steps to enable the Pluggable Authentication Module (PAM) to use cgroup rules for a 64-bit system:

 

1. Install thelibcgroup-pamsoftware package.

 

2. Ensure that thePAM modulehas been installed and exists:/lib64/security/pam_cgroup.so.

 

3. Edit the/
ets/pam.d/suconfiguration file and add a line:session optional pam_cgroup.so.

 

4. Edit the/ets/pam.d/suconfiguration file and add a line:auth sufficient pam_cgroup.so.

 

5. Configure/etc/cgconfig.conf.

 

6. Configure/etc/cgrules.conf.

 

7. Logoutall users that are affected by the cgroup settings in the/etc/cgrules.conf file.

 

8.Enable and start thecgredservice.

 

9. Reboot the system.

 

Which option represents the steps in the correct order to enable PAM to use cgroup rules for a logged-in user?

 

A.

2, 3, 5, 6, 7, 8

B.

1, 2, 3, 5, 6, 7

C.

1, 2, 3, 5, 6, 7, 8

D.

1, 2, 3, 4, 5, 6, 7

E.

1, 2, 3, 4, 5, 6, 9

 

Correct Answer: C

 

 

QUESTION 27

Which three statements are true about the contents of the/etc/ocfs2/cluster.confconfiguration file?

 

A.

The heartbeat stanza is required only if local heartbeat mode is enable.

B.

All stanzas must start at the first column and end with a colon.

C.

All parameters must start after a tab.

D.

A blank line must demarcate each stanza.

E.

A blank line must demarcate stanzas and parameters.

F.

All parameters must start after a tab and begin with a colon.

 

Correct Answer: CDF

 

 

QUESTION 28

You want to configure networking on a host and have these requirements:

 

1. A cache only nameserver is to be used.

 

2. DHCPis used to obtain an IP address.

 

3. DHCPmust not overwrite nameserver details contained in the/etc/resolv.conffile.

 

4. The nameserver must be activated automatically at system startup.

 

5. There are two network adaptors,eth0andeth1.

 

Thebindpackage has already been installed and the network service stopped.

 

Which four actions must be performed to implement this requirement?

 

A.

Add lines withPEERDNS=noandBOOTPROTO=dhcpto the /etc/sysconfig/network- scripts/ifcfg-eth0file.

B.

Add a line withPEERDNS=noto the/etc/resolv.conffile.

C.

Add a line withnameserver 127.0.0.1to the/etc/resolv.conffile.

D.

Thenetworkandbindservices must be started automatically by usingchkconfigfor those services at the appropriate run levels.

E.

Add lines withPEERDNS=noandBOOTPROTO=dhcpto the /etc/sysconfig/network- scripts/ifcfg-eth1file.

F.

Start thenetworkservice only automatically by usingchkconfigfor those services at the appropriate run levels.

G.

Start thebindservice only automatically by usingchkconfigfor those services at the appropriate run levels.

 

Correct Answer: BCDF

QUESTION 29

Examine the output of thelscgroupcommand:

 

cpuset, cpu, memory:/

 

cpuset, cpu, memory:/A2

 

cpuset, cpu, memory:/A2/A3

 

cpuset, cpu, memory:/B1

 

cpuset, cpu, memory:/A1

 

blkio:/

 

blkio:/B1

 

cpuacct:/

 

Which statement changes the shares parameter of thecpusubsystem for the group A3 to a value of 2?

 

A.

cgset -r cpu.shares=2 A3

B.

cgset -r cpu.shares=2 A3/A3

C.

cgset -r shares=2 cpu:/A2/A3

D.

cgset -r cpu.shares=2 cpuset, cpu, memory:/A2/A3

 

Correct Answer: C

 

 

QUESTION 30

Which two statements are true about container template scripts?

 

A.

They must be Bourne Shell scripts.

B.

Their name must start with1xc-.

C.

They must support the–archoption.

D.

They must not be interactive.

E.

They must install a Linux distribution.

 

Correct Answer: BE

Explanation:

https://docs.oracle.com/cd/E52668_01/E54669/html/ol7-about-containers.html

100% Free Download!
—Download Free Demo:1Z0-105 Demo PDF
100% Pass Guaranteed!
Download 2017 Ensurepass 1Z0-105 Full Exam PDF and VCE Q&As:97
—Get 10% off your purchase! Copy it:TJDN-947R-9CCD [2017.07.01-2017.07.31]

Ensurepass ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
PDF + VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

2017 Ensurepass IT Certification PDF and VCE