Cloud Automation and Orchestration # MCQs Practice set

Q.1 What is the primary purpose of cloud automation?

To manually configure servers
To automate repetitive cloud tasks
To reduce the number of cloud services
To replace cloud providers
Explanation - Cloud automation helps reduce manual effort by automating repetitive tasks like provisioning, scaling, and configuration in cloud environments.
Correct answer is: To automate repetitive cloud tasks

Q.2 Which of the following best describes cloud orchestration?

Automating a single task
Coordinating multiple automated processes
Manually managing resources
Deleting cloud infrastructure
Explanation - Cloud orchestration ensures that automated tasks work together in a sequence to achieve a larger workflow.
Correct answer is: Coordinating multiple automated processes

Q.3 Which tool is widely used for Infrastructure as Code (IaC)?

Terraform
Excel
Photoshop
Notepad
Explanation - Terraform is an open-source Infrastructure as Code tool used for automating cloud infrastructure provisioning.
Correct answer is: Terraform

Q.4 Which protocol is commonly used in cloud automation for configuration management?

HTTP
SSH
SMTP
FTP
Explanation - Secure Shell (SSH) is often used for secure communication and configuration management in automated systems.
Correct answer is: SSH

Q.5 Which cloud service model requires the most automation for scalability?

IaaS
PaaS
SaaS
All equally
Explanation - Infrastructure as a Service (IaaS) typically requires more automation since users directly manage virtual machines, storage, and networks.
Correct answer is: IaaS

Q.6 In cloud orchestration, a workflow refers to:

A single manual task
An ordered set of automated tasks
A backup process
Data encryption method
Explanation - Workflows define the order in which automated tasks are executed to achieve a specific objective.
Correct answer is: An ordered set of automated tasks

Q.7 Which company developed the tool Ansible?

Google
Red Hat
Microsoft
Amazon
Explanation - Ansible, a configuration management and automation tool, was developed by Red Hat.
Correct answer is: Red Hat

Q.8 What does 'idempotency' mean in cloud automation?

Running a task multiple times without changing the result
Tasks must run only once
Tasks that depend on other tasks
Rollback of failed tasks
Explanation - Idempotency ensures that running the same automation script multiple times does not produce different outcomes.
Correct answer is: Running a task multiple times without changing the result

Q.9 Which of these is NOT a cloud automation tool?

Chef
Puppet
Kubernetes
Photoshop
Explanation - Photoshop is an image editing software, not a cloud automation tool like Chef, Puppet, or Kubernetes.
Correct answer is: Photoshop

Q.10 Kubernetes is primarily used for:

Database management
Container orchestration
Web design
Image editing
Explanation - Kubernetes automates deployment, scaling, and management of containerized applications.
Correct answer is: Container orchestration

Q.11 Which scripting language is most common in automation?

Python
C
Java
Swift
Explanation - Python is widely used in automation due to its simplicity, readability, and strong ecosystem of libraries.
Correct answer is: Python

Q.12 Which automation tool uses 'playbooks' for defining automation tasks?

Terraform
Ansible
Chef
Kubernetes
Explanation - Ansible uses YAML-based playbooks to define automation workflows.
Correct answer is: Ansible

Q.13 Which type of scaling can be automated in cloud environments?

Vertical scaling
Horizontal scaling
Both
None
Explanation - Automation supports both vertical scaling (adding resources to a single instance) and horizontal scaling (adding more instances).
Correct answer is: Both

Q.14 Which open-source tool is most popular for container orchestration?

Docker Swarm
Kubernetes
OpenStack
Ansible
Explanation - Kubernetes is the most widely used open-source container orchestration platform.
Correct answer is: Kubernetes

Q.15 What is the main advantage of automation in DevOps pipelines?

Increases manual work
Slows down releases
Reduces errors and speeds delivery
Prevents scalability
Explanation - Automation in DevOps reduces human errors and accelerates software delivery cycles.
Correct answer is: Reduces errors and speeds delivery

Q.16 Which tool is known for 'recipes' and 'cookbooks' in automation?

Puppet
Chef
Terraform
Kubernetes
Explanation - Chef uses recipes and cookbooks to define configuration automation.
Correct answer is: Chef

Q.17 What is the role of a CI/CD pipeline in automation?

To manage emails
To continuously build, test, and deploy software
To manually deploy updates
To configure networking devices
Explanation - CI/CD pipelines automate software delivery by continuously building, testing, and deploying applications.
Correct answer is: To continuously build, test, and deploy software

Q.18 Which cloud provider offers 'CloudFormation' as an automation service?

Google Cloud
Microsoft Azure
Amazon Web Services
IBM Cloud
Explanation - AWS CloudFormation automates provisioning and management of AWS resources using templates.
Correct answer is: Amazon Web Services

Q.19 What does Infrastructure as Code (IaC) enable?

Manual setup of servers
Treating infrastructure as software code
Removing automation
Encrypting files
Explanation - IaC allows infrastructure to be provisioned and managed using code, improving repeatability and automation.
Correct answer is: Treating infrastructure as software code

Q.20 Which configuration management tool uses a 'manifest' file?

Puppet
Chef
Ansible
Terraform
Explanation - Puppet uses manifests written in a declarative language to define system configurations.
Correct answer is: Puppet

Q.21 Which of the following is an advantage of orchestration over simple automation?

Handles one task at a time
Coordinates multiple automated tasks
Requires manual scripts
Eliminates scaling
Explanation - Orchestration ensures multiple automated processes work together seamlessly to achieve a larger goal.
Correct answer is: Coordinates multiple automated tasks

Q.22 Which orchestration tool is often used with Docker containers?

Terraform
Kubernetes
Chef
Puppet
Explanation - Kubernetes orchestrates Docker and other containerized applications for scalability and reliability.
Correct answer is: Kubernetes

Q.23 What is the main benefit of using automation in cloud cost management?

Increase spending
Optimize and reduce costs
Manual reporting
Ignore billing
Explanation - Automation helps monitor and optimize resource usage, preventing unnecessary spending in cloud environments.
Correct answer is: Optimize and reduce costs

Q.24 Which of these is NOT an Infrastructure as Code tool?

Terraform
CloudFormation
Chef
PowerPoint
Explanation - PowerPoint is a presentation tool, not an Infrastructure as Code tool like Terraform, CloudFormation, or Chef.
Correct answer is: PowerPoint

Q.25 Which service in Google Cloud provides orchestration of data workflows?

Cloud Composer
BigQuery
Cloud Storage
App Engine
Explanation - Google Cloud Composer is an orchestration service built on Apache Airflow to manage data workflows.
Correct answer is: Cloud Composer