Security Testing that focuses on identifying vulnerabilities, threats, and risks in a software application without actually exploiting them is called _______.
- Dynamic Testing
- Passive Testing
- Penetration Testing
- Static Testing
Passive Testing is a form of security testing where the tester observes the system but does not interact directly with it. Unlike penetration testing, which involves exploiting vulnerabilities, passive testing focuses on identifying potential vulnerabilities without attempting to exploit them.
In Beta Testing, the software is released to a limited number of _______ for evaluation.
- developers
- stakeholders
- testers
- users
Beta testing involves releasing the software product to a limited number of end-users for evaluation. This allows the development team to get real-world feedback from users and identify potential defects or areas of improvement before a public release.
You've been asked to provide a specific version of the software that was released six months ago for a performance review. Which Configuration Management practice assists in this task?
- Audit and Review
- Baseline Identification
- Release Management
- Status Accounting
Baseline Identification involves tagging or marking specific points in a development timeline. By identifying baselines, one can retrieve a specific version of software that was marked as significant, such as a release. In this case, the software version released six months ago would have been a baseline, allowing it to be easily retrieved for review.
How do keyword-driven and data-driven scripting techniques differ in terms of their implementation?
- Keyword-driven focuses on input data; data-driven focuses on actions.
- Keyword-driven is about UI mapping; data-driven is about scenarios.
- Keyword-driven requires coding skills; data-driven doesn't.
- Keyword-driven uses predefined keywords; data-driven uses external data sources.
Keyword-driven testing involves the use of predefined keywords associated with the actions to be performed, making the test scripts more readable and easier to maintain. On the other hand, data-driven testing primarily revolves around executing the same test script with multiple sets of input data, typically sourced from external files or databases.
When a design is tested in the environment where it will be used, ensuring it works in the real-world scenarios, it is known as _______ testing.
- Contextual
- Integration
- Regression
- Unit
"Contextual Testing" is a method where the design or product is tested within the actual environment and context in which it will be used. Unlike lab testing, it ensures the product works in real-world scenarios, capturing the nuances and variables of the actual usage environment.
In CI/CD, a _______ server automates the building, testing, and deployment processes.
- Deployment
- Integration
- Monitoring
- Version
In the CI/CD ecosystem, an Integration server plays a pivotal role. It automates various phases such as code compilation, testing, and sometimes deployment. This ensures that code changes integrate smoothly with the existing codebase and can be deployed seamlessly.
Which tool is commonly associated with Continuous Integration and Continuous Deployment (CI/CD)?
- Jenkins
- Microsoft Excel
- Notepad
- Subversion
Jenkins is a widely-used open-source tool designed to support Continuous Integration and Continuous Deployment (CI/CD). It helps in automating parts of the software delivery process, allowing for frequent integration and ensuring rapid and reliable software releases. Jenkins provides a vast plugin ecosystem and integrates seamlessly with many tools in the software development lifecycle, enhancing its capabilities.
What primarily differentiates exploratory testing from traditional scripted testing?
- Documentation
- Presence of Detailed Test Cases
- Sequential Execution
- Test Case Design at Runtime
While traditional scripted testing is characterized by predefined test cases and steps which are created before test execution, exploratory testing is distinguished by the design and execution of tests in real-time. Testers engage in Exploratory Testing by actively navigating the application and designing tests on the fly based on their observations and insights.
How do frameworks like Page Object Model (POM) influence the choice of an automation testing tool?
- Code Reusability
- Reduced Maintenance Cost
- Reporting Features
- Scalability of the Tool
The Page Object Model (POM) is a design pattern that promotes code reusability in automation scripts. In POM, web pages or segments of them are represented as objects within test scripts. When choosing an automation tool, the tool's ability to easily implement POM and reuse code can significantly streamline test development and maintenance.
A developer has written a new sorting algorithm. To verify its correctness, which type of testing should primarily be applied?
- Acceptance Testing
- Integration Testing
- Performance Testing
- Unit Testing
Unit Testing is the process of verifying individual units or components of a software. Since a sorting algorithm is a singular function or component, unit tests are essential to ensure that it works correctly in isolation. This ensures that the algorithm correctly sorts data under various scenarios before it's integrated with other components.