Ansible Interview Questions Guru99

In these Manual testing interview questions, you will learn the top questions asked in organizations to clear the manual testing job interview. In these interview questions, you will learn software testing concepts like test cases development, error guessing techniques, Black-Box techniques and more.

6) What is the code you need to write for accessing a variable name?

Variable names can be built by adding using the following method:

The method of using hostvars is important because it’s a dictionary of the entire namespace of variables. ‘inventory_hostname’ variable specifies the current host you are looking over in the host loop.

9) How Can you submit a change to the Documentation in Ansible?

Documentation for Ansible is kept in the project git repository. It contains complete instructions for contributing can be found in the docs.

What do verification and validation mean in software testing?

In software testing, verification is a process to confirm that product development is taking place as per the specifications and using the standard development procedures. The process comprises the following activities:

1 The probability that a server-class application hosted on the cloud is up and running for six long months without crashing is 99.99 percentage. To analyze this type of a scenario, what test you will perform?

When a bug occurs, we can follow the below steps.

  • We can run more tests to make sure that the problem has a clear description.
  • We can also run a few more tests to ensure that the same problem doesn’t exist with different inputs.
  • Once we are certain of the full scope of the bug, we can add details and report it.
  • 8) Explain how you can copy file recursively onto a target host?

    The “copy” module has a recursive parameter. However, if you want this to perform more efficient for a large number of files, then “synchronize” module is the best option for you.

    What is ask_pass in ansible?

    The ask_pass is controlled in Ansible Playbook.

    This controls whether ansible-playbook prompts a password by default. Usually, the default behavior is no:

    If you are using SSH keys for authentication purposes then you really don’t have to change this setting at all.

    This control is very similar to ask_pass

    The ask_sudo_pass controls the Ansible Playbook to prompt a Sudo password. Usually, the default behavior is no:

    One has to make sure and change this setting where the sudo passwords are enabled most of the time.

    Using this control we can determine whether Ansible Playbook should prompt a password for the vault password by default. As usual, the default behavior is no

    Callbacks are explained as a piece of code in ansible environments where to get is used to call a specific event and permit the notifications.

    This is more sort of a developer-related feature and allows low-level extensions around ansible so that they can be loaded from different locations without any problem.

    12) What’s the method to check the inventory vars defined for the host?

    For that use this command:

    What is meant by test coverage?

    Test coverage is a quality metric to represent the amount (in percentage) of testing completed for a product. It is relevant for both functional and non-functional testing activities. This metric is used to add missing test cases.

    3 Tell me the key elements to consider while writing a bug report.

    An ideal bug report should consist of the following key points:

  • A unique ID
  • Defect description: A short description of the bug
  • Steps to reproduce: They include the detailed test steps to emulate the issue. They also provide the test data and the time when the error has occurred
  • Environment: Add any system settings that could help in reproducing the issue
  • Module/section of the application in which the error has occurred
  • Severity
  • Screenshots
  • Responsible QA: This person is a point of contact in case you want to follow-up regarding this issue
  • Answers to Ansible Interview Questions | DevOps FAQ | DevOps Interview Q&A | #Ansible

    Related Posts

    Leave a Reply

    Your email address will not be published. Required fields are marked *