1Which service model in cloud computing involves the vendor providing the infrastructure (servers, storage, networking) while the user manages the operating system and applications?
A.FaaS (Function as a Service)
B.PaaS (Platform as a Service)
C.IaaS (Infrastructure as a Service)
D.SaaS (Software as a Service)
Correct Answer: IaaS (Infrastructure as a Service)
Explanation:
In IaaS, the cloud provider manages the physical infrastructure (virtualization, servers, network, storage), while the customer manages the OS, middleware, and applications.
Incorrect! Try again.
2In the context of virtualization, what is the software layer that sits between the hardware and the virtual machines called?
A.Hypervisor
B.Firmware
C.Kernel
D.Container Engine
Correct Answer: Hypervisor
Explanation:
A Hypervisor (or Virtual Machine Monitor) is the software that creates and runs virtual machines by abstracting the underlying physical hardware.
Incorrect! Try again.
3Which of the following is an example of a Type 1 (Bare Metal) Hypervisor?
A.VMware Workstation
B.VMware ESXi
C.Oracle VirtualBox
D.Microsoft Virtual PC
Correct Answer: VMware ESXi
Explanation:
VMware ESXi is a Type 1 hypervisor because it installs directly on the physical hardware without a host operating system. VirtualBox and Workstation are Type 2 (Hosted) hypervisors.
Incorrect! Try again.
4What is the primary difference between Scalability and Elasticity in cloud architecture?
A.Scalability is for storage; Elasticity is for RAM.
Scalability refers to the ability to increase workload capacity (scaling up or out) to meet demand, often planned. Elasticity is the ability to automatically scale resources up or down rapidly in response to dynamic changes in traffic.
Incorrect! Try again.
5Which cloud deployment model relies on resources exclusively used by a single organization?
A.Private Cloud
B.Public Cloud
C.Community Cloud
D.Hybrid Cloud
Correct Answer: Private Cloud
Explanation:
A Private Cloud consists of cloud computing resources used exclusively by one business or organization, offering greater control and privacy.
Incorrect! Try again.
6Which of the following is NOT a major public cloud provider?
A.Apache Hadoop
B.Amazon Web Services (AWS)
C.Microsoft Azure
D.Google Cloud Platform (GCP)
Correct Answer: Apache Hadoop
Explanation:
Apache Hadoop is an open-source framework for distributed storage and processing of big data, not a public cloud service provider like AWS, Azure, or GCP.
Incorrect! Try again.
7Why is 'Infrastructure as Code' (IaC) critical for DevOps on the cloud?
A.It eliminates the need for any hardware.
B.It prevents the use of Linux commands.
C.It allows developers to write code physically on servers.
D.It automates the provisioning and management of infrastructure using configuration files.
Correct Answer: It automates the provisioning and management of infrastructure using configuration files.
Explanation:
IaC allows DevOps teams to manage and provision data centers through machine-readable definition files, rather than physical hardware configuration or interactive configuration tools, ensuring consistency and speed.
Incorrect! Try again.
8In AWS architecture, what is an Availability Zone (AZ)?
A.A specific rack within a server.
B.The login portal for the AWS console.
C.A separate geographic area (country).
D.One or more discrete data centers with redundant power, networking, and connectivity within a Region.
Correct Answer: One or more discrete data centers with redundant power, networking, and connectivity within a Region.
Explanation:
An Availability Zone is an isolated location within an AWS Region. Multiple AZs allow customers to run applications that are highly available and fault-tolerant.
Incorrect! Try again.
9Which AWS service provides resizable compute capacity in the cloud (Virtual Servers)?
A.Amazon S3
B.Amazon RDS
C.AWS Lambda
D.Amazon EC2
Correct Answer: Amazon EC2
Explanation:
Amazon EC2 (Elastic Compute Cloud) provides secure, resizable compute capacity in the cloud, effectively serving as virtual machines.
Incorrect! Try again.
10Which AWS service is primarily used for scalable object storage?
A.Amazon EBS
B.Amazon EC2
C.Amazon Glacier
D.Amazon S3
Correct Answer: Amazon S3
Explanation:
Amazon S3 (Simple Storage Service) is an object storage service offering industry-leading scalability, data availability, security, and performance.
Incorrect! Try again.
11Under the AWS Shared Responsibility Model, which of the following is the customer's responsibility?
A.Patching the Guest OS and Application software
B.Physical security of data centers
C.Patching the underlying host infrastructure
D.Network infrastructure maintenance
Correct Answer: Patching the Guest OS and Application software
Explanation:
AWS manages the security of the cloud (physical hardware, host OS). The customer is responsible for security in the cloud, which includes patching the Guest OS and managing application software.
Incorrect! Try again.
12What is the primary goal of Continuous Integration (CI)?
A.To deploy software to production immediately.
B.To manually merge code changes once a year.
C.To monitor the server health after deployment.
D.To frequently merge code changes into a central repository where automated builds and tests run.
Correct Answer: To frequently merge code changes into a central repository where automated builds and tests run.
Explanation:
Continuous Integration focuses on merging code updates frequently (often daily) to detect errors quickly through automated building and testing.
Incorrect! Try again.
13What is the key difference between Continuous Delivery and Continuous Deployment?
A.Continuous Deployment automates the release to production; Continuous Delivery requires manual approval to deploy.
B.Continuous Delivery automates the release to production; Continuous Deployment requires manual approval.
C.Continuous Delivery is for testing; Continuous Deployment is for coding.
D.There is no difference.
Correct Answer: Continuous Deployment automates the release to production; Continuous Delivery requires manual approval to deploy.
Explanation:
In Continuous Delivery, the code is always ready to deploy, but the final push to production is manual. In Continuous Deployment, every change that passes the automated tests is deployed to production automatically.
Incorrect! Try again.
14Which phase of the DevOps lifecycle involves tracking application performance and user experience in real-time?
A.Continuous Planning
B.Continuous Deployment
C.Continuous Monitoring
D.Continuous Integration
Correct Answer: Continuous Monitoring
Explanation:
Continuous Monitoring helps teams ensure the application and infrastructure are performing as expected, often using tools like Nagios, Prometheus, or CloudWatch.
Incorrect! Try again.
15In a CI/CD pipeline, what is a Build Artifact?
A.The email notification sent to the developer.
B.The compiled binary or package (e.g., JAR, WAR, EXE) ready for deployment.
C.The error log generated by a failed test.
D.The source code file.
Correct Answer: The compiled binary or package (e.g., JAR, WAR, EXE) ready for deployment.
Explanation:
An Artifact is the output of the build process—such as compiled code, container images, or archives—that is deployed to the target environment.
Incorrect! Try again.
16Which Linux command is used to list files and directories in the current directory?
A.pwd
B.ls
C.mkdir
D.cd
Correct Answer: ls
Explanation:
The ls command stands for 'list' and is used to display the contents of a directory.
Incorrect! Try again.
17What does the Linux command pwd stand for?
A.Password
B.Previous Working Directory
C.Process Working Daemon
D.Print Working Directory
Correct Answer: Print Working Directory
Explanation:
pwd prints the full path of the current (working) directory to the standard output.
Incorrect! Try again.
18Which command is used to change the current directory in Linux?
A.cd
B.cp
C.rm
D.mv
Correct Answer: cd
Explanation:
cd (Change Directory) is used to navigate between directories in the filesystem.
Incorrect! Try again.
19How do you create a new directory named 'project' in Linux?
A.newdir project
B.crdir project
C.mkdir project
D.mkfile project
Correct Answer: mkdir project
Explanation:
mkdir (Make Directory) is the standard command to create a new folder.
Incorrect! Try again.
20Which command allows a user to execute a command with superuser (root) privileges?
A.root
B.admin
C.sudo
D.exec
Correct Answer: sudo
Explanation:
sudo (SuperUser DO) allows a permitted user to execute a command as the superuser or another user.
Incorrect! Try again.
21Which command is used to remove a file in Linux?
A.remove
B.del
C.rm
D.erase
Correct Answer: rm
Explanation:
rm (Remove) is used to delete files. To delete directories recursively, flags like -r are used.
Incorrect! Try again.
22What does the command chmod 755 file.txt do?
A.Sets read, write, and execute permissions for everyone.
B.Deletes the file.
C.Sets read only permissions for everyone.
D.Sets read/write/execute for owner, and read/execute for group and others.
Correct Answer: Sets read/write/execute for owner, and read/execute for group and others.
Explanation:
In octal notation: User , Group , Others .
Incorrect! Try again.
23Which command is used to display the contents of a file on the terminal?
A.echo
B.touch
C.ls
D.cat
Correct Answer: cat
Explanation:
cat (Concatenate) is frequently used to read and output the content of a file to the screen.
Incorrect! Try again.
24Which command is used to move or rename files?
A.cp
B.mv
C.mov
D.rn
Correct Answer: mv
Explanation:
mv (Move) is used to move files to a different directory or rename them if the destination is a filename in the same directory.
Incorrect! Try again.
25Which command is used to search for a specific text pattern within a file?
A.locate
B.search
C.grep
D.find
Correct Answer: grep
Explanation:
grep (Global Regular Expression Print) searches for lines matching a regular expression pattern and prints them.
Incorrect! Try again.
26In Linux, what does the | (pipe) operator do?
A.It stops the execution of a command.
B.It runs commands in the background.
C.It takes the output of the first command and uses it as the input for the second command.
D.It redirects output to a file.
Correct Answer: It takes the output of the first command and uses it as the input for the second command.
Explanation:
A pipe | connects the standard output (stdout) of the command on the left to the standard input (stdin) of the command on the right.
Incorrect! Try again.
27Which command displays the currently running processes and system resource usage in real-time?
A.top
B.stat
C.ps
D.list
Correct Answer: top
Explanation:
top provides a dynamic, real-time view of the running system, including CPU and memory usage of processes. ps gives a static snapshot.
Incorrect! Try again.
28What is the purpose of the man command in Linux?
A.To mandate permissions.
B.To display the user manual for other commands.
C.To manually start a process.
D.To manage files.
Correct Answer: To display the user manual for other commands.
Explanation:
man stands for manual. Typing man [command] shows the help documentation for that command.
Incorrect! Try again.
29Which command creates an empty file if it does not exist, or updates its timestamp if it does?
A.create
B.touch
C.new
D.make
Correct Answer: touch
Explanation:
touch is used to change file timestamps, but it is commonly used to create a new, empty file quickly.
Incorrect! Try again.
30What is the symbolic representation of the Root directory in Linux?
A.@
B.\
C.~
D./
Correct Answer: /
Explanation:
The forward slash / represents the root directory, which is the top-level directory in the Linux filesystem hierarchy.
Incorrect! Try again.
31Which cloud characteristic allows multiple customers to share the same physical infrastructure while keeping data isolated?
A.Vertical scaling
B.Single-tenancy
C.Multi-tenancy
D.Local hosting
Correct Answer: Multi-tenancy
Explanation:
Multi-tenancy is the architecture where a single instance of software runs on a server and serves multiple tenants (customers), sharing resources logically but separated virtually.
Incorrect! Try again.
32Why is CapEx (Capital Expenditure) reduced when adopting cloud computing?
A.Because software licenses are free.
B.Because you no longer need to buy physical servers and data centers upfront.
C.Because cloud providers charge high upfront fees.
D.It is not reduced; it increases.
Correct Answer: Because you no longer need to buy physical servers and data centers upfront.
Explanation:
Cloud computing shifts costs from CapEx (buying hardware) to OpEx (Operational Expenditure), where you pay for services as you use them.
Incorrect! Try again.
33Which of the following is a benefit of DevOps on the Cloud?
A.Increased dependency on manual hardware configuration.
B.Global reach and reduced latency.
C.Slower deployment cycles.
D.Isolated teams working in silos.
Correct Answer: Global reach and reduced latency.
Explanation:
Cloud providers offer global regions, allowing DevOps teams to deploy applications closer to users, reducing latency and improving performance.
Incorrect! Try again.
34In the context of Linux permissions, what is the numeric value of Read (r) permission?
A.1
B.4
C.7
D.2
Correct Answer: 4
Explanation:
In Linux octal permissions: Read = , Write = , Execute = .
Incorrect! Try again.
35Which AWS service is used to manage access to AWS services and resources securely (Users, Groups, Roles)?
A.Amazon Inspector
B.AWS Shield
C.Amazon VPC
D.AWS IAM (Identity and Access Management)
Correct Answer: AWS IAM (Identity and Access Management)
Explanation:
IAM allows you to manage users and their level of access to the AWS console and resources.
Incorrect! Try again.
36What does the command rm -rf / do (WARNING: Do not run this)?
A.Recursively forces the deletion of everything in the root directory.
B.Reads files from the root directory.
C.Restores files in the root directory.
D.Refreshes the root directory.
Correct Answer: Recursively forces the deletion of everything in the root directory.
Explanation:
-r is recursive, -f is force. This command attempts to delete the entire filesystem.
Incorrect! Try again.
37Which command is used to show the first 10 lines of a file?
A.top
B.first
C.head
D.tail
Correct Answer: head
Explanation:
head outputs the first part of files (default is 10 lines). tail outputs the last part.
Incorrect! Try again.
38Which concept refers to the ability to restore data and applications in the event of a disaster?
A.Latency
B.Throughput
C.Disaster Recovery
D.Load Balancing
Correct Answer: Disaster Recovery
Explanation:
Disaster Recovery involves policies and procedures to enable the recovery or continuation of vital technology infrastructure after a natural or human-induced disaster.
Incorrect! Try again.
39In a DevOps context, what is the role of a Version Control System (e.g., Git)?
A.To track changes in the source code and enable collaboration.
B.To manage cloud billing.
C.To monitor CPU usage.
D.To compile the code.
Correct Answer: To track changes in the source code and enable collaboration.
Explanation:
Version Control Systems track the history of changes, allow branching/merging, and act as the single source of truth for CI/CD pipelines.
Incorrect! Try again.
40Which command is used to check the IP address of a Linux machine?
A.lsip
B.ip addr
C.network
D.getip
Correct Answer: ip addr
Explanation:
ip addr (or the older ifconfig) is used to display network interface parameters including IP addresses.
Incorrect! Try again.
41What is the purpose of a Load Balancer in cloud architecture?
A.To increase the storage capacity of a single server.
B.To encrypt data at rest.
C.To backup data to a remote location.
D.To distribute incoming network traffic across multiple servers.
Correct Answer: To distribute incoming network traffic across multiple servers.
Explanation:
Load Balancers improve the availability and fault tolerance of applications by spreading traffic across healthy instances.
Incorrect! Try again.
42If you need to change the owner of a file in Linux, which command do you use?
A.chmod
B.chown
C.chow
D.chgrp
Correct Answer: chown
Explanation:
chown stands for Change Owner. It is used to change the file owner and group.
Incorrect! Try again.
43Which text editor is commonly found by default in most Linux distributions?
A.Notepad
B.vi / vim
C.Sublime Text
D.MS Word
Correct Answer: vi / vim
Explanation:
vi (and its improved version vim) is the standard text editor installed on almost all Linux systems.
Incorrect! Try again.
44What does the df -h command display?
A.Directory folders hidden.
B.Deleted files history.
C.Detailed file attributes.
D.Disk Free usage in a human-readable format.
Correct Answer: Disk Free usage in a human-readable format.
Explanation:
df reports file system disk space usage. The -h flag makes sizes human-readable (e.g., GB, MB).
Incorrect! Try again.
45Which phase of CI/CD ensures that the software is always in a releasable state?
A.Continuous Coding
B.Continuous Delivery
C.Continuous Monitoring
D.Continuous Integration
Correct Answer: Continuous Delivery
Explanation:
Continuous Delivery ensures that code changes are automatically prepared for a release to production, meaning the software is always in a releasable state.
Incorrect! Try again.
46Which Linux symbol represents the user's home directory?
A..
B./
C.$
D.~
Correct Answer: ~
Explanation:
The tilde ~ is a shortcut for the current user's home directory (e.g., /home/username).
Incorrect! Try again.
47In virtualization, what is a Guest OS?
A.The operating system running inside a virtual machine.
B.A temporary operating system used for installation.
C.The operating system installed on the physical computer.
D.The hypervisor software.
Correct Answer: The operating system running inside a virtual machine.
Explanation:
The Host OS runs on the hardware, while the Guest OS is the operating system running inside the virtualized environment (VM).
Incorrect! Try again.
48What is the primary benefit of the Pet vs. Cattle analogy in DevOps cloud infrastructure?
A.It is about farming simulations in the cloud.
B.We should treat servers like Cattle: replaceable and automated, fixing issues by replacing the instance.
C.We should treat servers like Pets: name them and nurse them back to health.
D.It means we should not use servers at all.
Correct Answer: We should treat servers like Cattle: replaceable and automated, fixing issues by replacing the instance.
Explanation:
In DevOps/Cloud, servers should be immutable and disposable ('Cattle'). If one fails, it is replaced automatically, rather than fixed manually ('Pets').
Incorrect! Try again.
49Which of the following is a popular open-source tool for Continuous Integration?
A.Photoshop
B.Jenkins
C.Putty
D.Wordpress
Correct Answer: Jenkins
Explanation:
Jenkins is widely used for building, testing, and deploying software in CI/CD pipelines.
Incorrect! Try again.
50If a user wants to install a package on an Ubuntu/Debian Linux system, which command tool is used?
A.apt
B.yum
C.brew
D.rpm
Correct Answer: apt
Explanation:
apt (Advanced Package Tool) is the package manager for Debian-based systems like Ubuntu. yum is for Red Hat/CentOS.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →