
Automating Image Creation with HashiCorp Packer for DevOps - Examples of Different Provisioners
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of the file provisioner in Packer?
To upload files to a new image
To execute scripts on a new image
To create a new virtual machine
To install software packages
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When uploading multiple files using the file provisioner, what must you specify?
The file permissions
The file size
The source directory and destination
The file type
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does the shell provisioner execute commands on a new image?
In a random order
In alphabetical order
In reverse order
In a top-down order
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the benefit of using inline commands with the shell provisioner?
They enable top-down execution of commands
They allow for parallel execution
They require no configuration
They automatically optimize the commands
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which provisioner would you use to run an Ansible playbook with Packer?
PowerShell provisioner
Ansible provisioner
File provisioner
Shell provisioner
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is required to execute a PowerShell script on a Windows image using Packer?
The provisioner must be set to Shell
The provisioner must be set to PowerShell
The script must be in a .bat file
The script must be in a .sh file
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the role of Ansible environment variables in integrating Ansible with Packer?
They provide additional configuration options
They specify the playbook file location
They define the execution order
They determine the user permissions
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?