Which two can be determined from this output?

Examine this sequence of commands and output:
[root@FARAWAY ~] # cat /etc/oracle-release
Oracle Linux Server release 6.1
[root@FARAWAY ~]# rpm –qa oraclelinux*
Oraclelinux-release-noted-6Server-5.x86_64
Oraclelinux-release-6Server-1.0.2.x86_64
[root@FARAWAY ~] # rpm –qa rehat-release*
[root@FARAWAY ~] #
[root@FARAWAY ~] # rpm –qf /etc/oracle-release
Oraclelinux-release-6Server-1.0.2.x86_64
[root@FARAWAY ~] rpm –qf /etc/redhat-release
Oraclelinux-release-6Server-1.0.2.x86_64
Which two can be determined from this output?

Examine this sequence of commands and output:
[root@FARAWAY ~] # cat /etc/oracle-release
Oracle Linux Server release 6.1
[root@FARAWAY ~]# rpm –qa oraclelinux*
Oraclelinux-release-noted-6Server-5.x86_64
Oraclelinux-release-6Server-1.0.2.x86_64
[root@FARAWAY ~] # rpm –qa rehat-release*
[root@FARAWAY ~] #
[root@FARAWAY ~] # rpm –qf /etc/oracle-release
Oraclelinux-release-6Server-1.0.2.x86_64
[root@FARAWAY ~] rpm –qf /etc/redhat-release
Oraclelinux-release-6Server-1.0.2.x86_64
Which two can be determined from this output?

A.
The system has Oracle Linux 6 installed and the Red Hat compatible kernel is running.

B.
The system has Oracle Linux 6 installed and the Oracle Unbreakable Enterprise kernel Is
running.

C.
It is not possible to determine which kernel is running.

D.
This system has been booted at least once, with the Red Hat-compatible kernel and once with
the Unbreakable Enterprise kernel.

E.
The oracle-release package contains both Oracle and Red Hat release metadata.

Explanation:



Leave a Reply 8

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


Oyindamola

Oyindamola

A is out (rpm -qa redhat-release* | shows nothing, means system booted with UEK.)
B is correct (Oracle UEK is currently running).

I would go with B,E

Answer CE

Answer CE

Answer C & E (plz chk below logs no change in logs after booting with diff K)

******** Log after Booting with Red Hat Kernel

[root@oraclelinux6 ~]# cat /etc/oracle-release
Oracle Linux Server release 6.5

[root@oraclelinux6 ~]# rpm -qa oraclelinux*
oraclelinux-release-notes-6Server-11.x86_64
oraclelinux-release-6Server-5.0.2.x86_64

[root@oraclelinux6 ~]# rpm -qa rehat-release*

[root@oraclelinux6 ~]# rpm -qf /etc/oracle-release
oraclelinux-release-6Server-5.0.2.x86_64
[root@oraclelinux6 ~]# rpm -qf /etc/redhat-release
oraclelinux-release-6Server-5.0.2.x86_64

******** Log after Booting with Oracle Linux

[root@oraclelinux6 ~]# cat /etc/oracle-release
Oracle Linux Server release 6.5

[root@oraclelinux6 ~]# rpm -qa oraclelinux*
oraclelinux-release-notes-6Server-11.x86_64
oraclelinux-release-6Server-5.0.2.x86_64

[root@oraclelinux6 ~]# rpm -qa rehat-release*

[root@oraclelinux6 ~]# rpm -qf /etc/oracle-release
oraclelinux-release-6Server-5.0.2.x86_64
[root@oraclelinux6 ~]# rpm -qf /etc/redhat-release
oraclelinux-release-6Server-5.0.2.x86_64

Jef Adams

Jef Adams

Not B —> tested with my laptop
booted in uek : rpm -qa oraclelinux* —> showed *uek6
boot oracle linux : rpm -qa oraclelinux* —> showed *el6

Correct answer should be A,E

Hector

Hector

C, E

[oracle@srvscm02 ~]$ cat /etc/oracle-release
Oracle Linux Server release 6.8
[oracle@srvscm02 ~]$ rpm -qa oraclelinux*
oraclelinux-release-6Server-8.0.3.x86_64
oraclelinux-release-notes-6Server-20.el6.x86_64
[oracle@srvscm02 ~]$ rpm -qa rehat-release*
[oracle@srvscm02 ~]$ rpm -qf /etc/oracle-release
oraclelinux-release-6Server-8.0.3.x86_64
[oracle@srvscm02 ~]$ rpm -qf /etc/redhat-release
oraclelinux-release-6Server-8.0.3.x86_64