CHAPTER-13: INSTALLING AND UPDATING SOFTWARE PACKAGES

 

 

CHAPTER 13

INSTALLING   AND   UPDATING SOFTWARE PACKAGES

 

1.       Which task is not performed by Red Hat Subscription Management tools

a.       Register

b.      Subscribe

c.       Account Creation of RedHat

d.      Enable Repositories

e.       Review

f.        Track

 

2.       To register a system with the subscription management service graphically, which command you can use?

a.       subscription-manager-gui-mode

b.      subscription-manager-gui

c.       subs-manager-gui

 

3.       View available subscriptions of a Red Hat account:

a.       subscription-manager   register   --username=yourusername password=yourpassword

b.       subscription-manager   list   --available I  less

c.       subscription-manager      attach     --auto

d.       subscription-manager   unregister

 

4.       Register a system to a Red Hat account:

e.       subscription-manager   register   --username=yourusername password=yourpassword

f.        subscription-manager   list   --available I  less

g.       subscription-manager      attach     --auto

h.       subscription-manager   unregister

 

5.       Auto-attach a subscription to a Red Hat account:

i.         subscription-manager   register   --username=yourusername password=yourpassword

j.         subscription-manager   list   --available I  less

k.       subscription-manager      attach     --auto

l.         subscription-manager   unregister

 

 

6.       unregister from a Red Hat account:

m.     subscription-manager   register   --username=yourusername password=yourpassword

n.       subscription-manager   list   --available I  less

o.       subscription-manager      attach     --auto

p.       subscription-manager   unregister

 

7.       Once registered, the entitlement certificates are stored in --------  and its subdirectories

a.       /etc/pki

b.       /var/pki

c.       /root/pki

 

8.       The certificates can be inspected with the ‘rct’ utility directly

a.       True                               b.  False

 

9.       Which is not true?

a.       Provide software packages ==== Enable repositories

b.       Attach a system to a Red Hat account ==== Register

c.       Determine the number of available subscription ==== Review and track

d.       Enable a system to use selected Red Hat products ===== Subscribe

e.       Enable a system to use selected Red Hat products ===== Register

 

10.   httpd-tools-2.4.6-7.el7.x86_64.rpm . Which is not true?

a.       httpd-tools = Name of Package

b.       2.4.6 = Version of Package

c.       -7.el7 = Release of Package

d.       X86_64 = Architecture of Package

e.       2.4.6 = Release of Package

f.        -7.el7 = Version of Package

 

11.   Each RPM package is a special archive made up of three components. These are:

a.       Files

b.       Information

c.       Scripts

d.       All

 

12.   The rpm command may be used to install, update, remove, and query RPM packages. However, it does not resolve dependencies automatically and all packages must be  listed.

a.       True                               b. False

 

13.   The main configuration file for yum is   --------

              a. /etc/yum.conf         b. /etc/yumd.conf        c. /etc/yumconfig

 

 

14.   Which command  is used to list repositories

a.       Yum repolist

b.      Yum repo

c.       Yum repository

 

15.   To  see installed package.

a.       yum  list  installed

b.      yum install list

 

16.   GPG  signature  is  Used to verify the source and integrity of a  package.

a.       True                                       b. False

 

17.   displays installed and available packages.

a.       yum  list

b.      yum  list all

c.       yum all

 

18.   To search for packages that have "web server" in their name, summary, and description fields

a.       yum  search  all  ‘web server’

b.      yum  search ‘web server’

c.       yum    all  ‘web server’

 

19.   To get information on the Apache HTTP Server:

a.       yum  info   httpd

b.      yum info http

c.       yum https info

d.      yum info https

 

20.   To find packages that provide the   /var/www/html directory, use

a.       yum  provides  /var/www/html

b.      yum  provide  /var/www/html

c.       yum  /var/www/html  provides



 

21. A collection of RPM packages and package groups is called --

                a. Repository

                b. Packages

                c. Yum

 

22. To obtains and installs a newer  version of a specific software package

                a. yum  update

                b. yum update package-name

                c. update yum package-name

 

23.  To view the currently running kernel, use the ------- command

                a. uname  -r

                b. uname  -R

                c. kernelname -r

                d. kernel -R

 

24. To   show the kernel release and additional information

                a. uname -r

                b. uname -a

                c. uname -i

 

25. T0  remove web server package

                a. yum remove httpd

                b. yum remove http

                c. yum remove https

                d. yum delete httpd 

 

26.  A summary of install and remove transactions can be viewed with ‘yum history’ command

                a. True                                                                  b. False

 

27. To update all packages –

                a. yum update all

                b. yum update

                c. yum all update

 

28. Find out more information about the Compatibility Libraries component group, including a list of included packages.

                a. yum info  "Compatibility Libraries"

                b. yum  groupinfo  "Compatibility Libraries"

                c. yum  group  "Compatibility Libraries"

 

29. To install the Compatibility Libraries component group.

                a. yum group   "Compatibility Libraries "

                b. yum  install "Compatibility Libraries "

                c. yum groupinstall "Compatibility Libraries "

 

30. To enable and disable repositories, which command is used?

a. yum-conf-manager

b. yum-config-manager

c. yum-con-manager

31. Can get information about the contents of package files and Installed packages can be queried directly with ‘rpm’ command

                a. True                                                  b. False

 

32.  Before installation to query  packages with ‘rpm  -q’ command, which option will be used?

                a. –d                      b. –c            c. –p             d. –i            e. -q

 

33. list just the configuration files  with ‘rpm  -q’ command, which option will be used?

                a. –d                      b. –c            c. –p             d. –i            e. –q

 

34.  list just the documentation files  with ‘rpm  -q’ command, which option will be used?

                a. –d                      b. –c            c. –p             d. –i            e. –q

 

35. Display information about a package with ‘rpm  -q’ command, which option will be used?

                a. –d                      b. –c            c. –p             d. –i            e. –q

 

36. how can we install a package file by rpm?

                a. rpm  -ivh  packagefile.rpm

                b. rpm  -h  packagefile.rpm

                c. rpm  -vh  packagefile.rpm 

 

 

 

 

 


Comments

  1. Red Prism Group ins one of the best Django coaching in Noida. Learn Django from industry expert with practical training, live projects and got your certificate.

    ReplyDelete

Post a Comment

Popular posts from this blog

Some Questions for MTCNA Exam

ডিপ্লোমা লেভেল এর ইন্ডাস্ট্রিয়াল এটাচমেন্ট এ আসার পূর্বে একটু ভেবে আসার অনুরোধ রইলো

Basic Router & Switch IOS commands