configuration management and the cloud week 2

Practice Quiz: Deploying Puppet Locally

1. Puppet evaluates all functions, conditionals, and variables for each individual system, and generates a list of rules for that specific system. What are these individual lists of rules called?

  • Manifests
  • Dictionaries
  • Catalogs
  • Modules

2. After we install new modules that were made and shared by others, which folder in the module's directory will contain the new functions and facts?

  • files
  • manifests
  • lib
  • templates

3. What file extension do manifest files use?

  • .cfg
  • .exe
  • .pp
  • .man

4. What is contained in the metadata.json file of a Puppet module?

  • Manifest files
  • Additional data about the module
  • Configuration information
  • Pre-processed data

5. What does Puppet syntax dictate we do when referring to another resource attribute?

  • Enter the package title before curly braces
  • Follow the attribute with a semicolon
  • Capitalize the attribute
  • Type the attribute in lowercase

6. When defining nodes, how do we identify a specific node that we want to set rules for?

  • By using the machine’s MAC address
  • By specifying the node’s Fully Qualified Domain Names (FQDNs)
  • User-defined names
  • Using XML tags

7. When a Puppet agent evaluates the state of each component in the manifest, it uses gathered facts about the system to decide which rules to apply. What tool can these facts be "plugged into" in order to simplify management of the content of our Puppet configuration files?

  • Node definitions
  • Certificates
  • Templates
  • Modules

8. What is the first thing that happens after a node connects to the Puppet master for the first time?

  • The node identifies an open port.
  • The Puppet-master requests third-party authentication.
  • The node requests a certificate.
  • The user can immediately add modules.

9. What does FQDN stand for, and what is it?

  • Feedback Query Download Noise, which is extraneous data in feedback queries
  • Far Quantum Data Node, which is a server node utilizing quantum entanglement
  • Fairly Quantized Directory Network, which is a network consisting of equitable counted folders
  • Fully Qualified Domain Name, which is the full address for a node

10. What type of cryptographic security framework does Puppet use to authenticate individual nodes?

  • Single Sign On (SSO)
  • Public Key Infrastructure (PKI)
  • Fully Qualified Domain Name (FQDN)
  • Token authentication

11. What is a production environment in Puppet?

  • The software used for software development such as IDEs.
  • The parts of the infrastructure where a service is executed, and served to its users.
  • A cloud service for commercial production.
  • A Virtual Machine reserved for beta software.

12. What is the --noop parameter used for?

  • Passing a variable called noop to Puppet
  • Adding conditional rules to manifests
  • Defining what operations not to perform in a manifest
  • Simulating manifest evaluation without taking any actions

13. What do rspec tests do?

  • Checks that nodes can connect to the puppet master correctly
  • Check the specification of the current node
  • Check the manifests for specific content
  • Checks that the node is running the correct operating system

14. How are canary environments used in testing?

  • To store unused code
  • As a test environment to detect problems before they reach the production environment
  • As a repository for alternative coding methods for a particular problem
  • As a test environment for final software versions

15. What are efficient ways to check the syntax of the manifest? (Check all that apply)

  • Run full No Operations simulations
  • Run rspec tests
  • Test manually
  • puppet parser validate

Leave a Reply