You are on page 1of 7

1.

What is the command used to create key-pairs (public/private keys) in


Unix/Linux/Mac?
a. create-key-pair id_rsa.pub id_rsa.pri
b. ssh-keygen
c. only third-party certification authorities can generate key-pairs
d. None

2. Identify the command used in Unix/Linux/Mac to copy a file within the


same system
a. scp /home/rps/Downloads/myfile.txt rps@rpslab:/home/rps/myfile.txt
b. cp /home/rps/Downloads/myfile.txt /home/rps/myfile.txt
c. ssh /home/rps/Downloads/myfile.txt /home/rps/myfile.txt
d. sftp /home/rps/Downloads/myfile.txt rps@rpslab:/home/rps/myfile.txt

3. Identify all the command used in Unix/Linux/Mac terminals to connect


to a remote unix box
a. sftp rps@rpslabs
b. scp rps@rpslabs
c. ssh rps@rpslabs
d. ssh -i rps.pem rps@rpslabs

4. What is the package manager used in Ubuntu?. Select all the correct
answers.
a. apt
b. apt-get
c. yum
d. rpm
5. Package manager used in CentOS/RHEL? Select all the
correctanswers.
e. apt
f. apt-get
g. yum
h. rpm

6. Select the command used in Ubuntu to start a service by name nginx


a. service nginx start
b. service start nginx
c. systemctl nginx start
d. all the above
e. none

7. Select the command used in CentOS/RHEL to start a service by name


nginx
a. service nginx start
b. service start nginx
c. systemctl start nginx
d. all the above
e. none

8. Select the command used to copy a ssh public key from your linux box to a
remote box
a. ssh-copy -i /home/rps/id_rsa rps@rpslabs
b. ssh-copy-id -i /home/rps/id_rsa rps@rpslabs
c. ssh-copy-id -i /home/rps/id_rsa.pub rps@rpslabs
d. none

9. Select the command used to add rps user to the docker user group
a. sudo useradd docker rps
b. sudo usermod docker rps
c. sudo usermod rps docker
d. none
10. How to ensure mvn, javac, etc tools can be accessed from any path in the
Linux terminal. Choose the general industry standard recommended
approach. Choose all the correct answers.
a. We can execute the javac, mvn or similar commands from their
respective bin folders
b. Add the javac, mvn or similar command paths to system
environments paths in bashrc script
c. export PATH variables in the terminal
d. none

11. Which is the recommended way to install nginx in Ubuntu?


a. apt-get update && apt-get install -y nginx
a. apt-get install -y nginx
b. yum install epel-release && yum install -y nginx
c. rps update && rpm install -y nginx

12. What is Docker?


a. is a Hypervisor
b. similar to vSphere
c. application virtualization technology
d. All the above

13. What is Git?


a. Distributed Version Control System
b. application virtualization technology
c. All the above
d. None

14. What is Jenkins? Choose all the correct answers.


a. container runtime
b. build tool like maven/msbuild
c. CI Build Server
d. A and B
e. None

15. Maven is a
a. Continuous Integration build server
b. Build tool
c. Automated build server
d. All the above
e. None

16. Container technology replaces Virtualization?


a. Yes
b. No

17. Junit is a
a. automated build tool
b. End to end functional testing framework
c. Unit testing framework
d. Performance testing framework

18. XL Deploy (XLD) is


a. is an end-to-end pipeline orchestrator for DevOps and continuous delivery
b. automation solution that allows non-experts to perform application
deployments c. both
d. none

19. Jacoco is a
a. testing framework
b. static analysis tool
c. metrics tool
d. code coverage plugin

20. Sonarqube is a
a. metrics tool
b. static analysis tool
c. code coverage tool
d. All the above

21. XL Release (XLR) is


a. is an end-to-end pipeline orchestrator for DevOps and continuous delivery
b. automation solution that allows non-experts to perform application deployments
c. both
d. none

1) Which of the following plugin in Jenkins?

 A. HTML publisher
 B.Maven 2 project
 C.Amazon EC2
 D.All of the above
2) Can we run Junits as a part of Jenkins job?

 A. True
 B.False
3) Which of the following SCM tool Jenkins supports?

 A. Subversion
 B.Git
 C.CVS
 D.All of the above
4) Identify the type of pipelines in Jenkins?

 A. Declarative pipeline
 B.Scripted pipeline
 C.CI CD pipeline (Continuous Integration Continuous Delivery)
 D.All of the above
5) Which of the following merit of Jenkins?

 A. For each code commit changes an automatic build report notification generates.
 B.Build failures are cached at integration stage.
 C.To notify developers about build report success or failure, it is integrated with LDAP
mail server.
 D.All of the above
6) What do you mean by Jenkins?

 A. Jenkins is an open source Continuous and Integration tool


 B.Jenkins is an open source Continuous Integration and Continuous Delivery Tool.
 C.Jenkins is an open source Continuous and only Continuous Delivery Tool.
 D.None of these
7) What do you basic requirement to start using Jenkins?

 A. a viable source code repository


 B.a build script that’s registered on that repository
 C.Both 1 and 2
 D.None of these
8) Which of the following comprises in Continuous Integration?

 A. Database Integration
 B.Development and Compilation
 C.Unit Testing
 D.All of the above
9) Identify the CI tools?

 A. Jenkins
 B.Travis CI
 C.TeamCity
 D.All of the above
10) Is it possible to install a custom plugin on my own?

 A. Yes
 B.No
13) Can we delete the workspace?

 A. Yes
 B.No
14) What is the full form of CI?

 A. Constant Integration
 B.Continuous Integration
 C.Comprises Integration
 D.None of these
15) What is the full form of CD?

 A. Continuous Delivery
 B.Constant Delivery
 C.Construct Delivery
 D.None of these

You might also like