iSQI CTAL-ATT Practice Test - Questions Answers
List of questions
Related questions
Question 1
You need to implement a Java class that validates a password entry field. The validation critena states that the password must:
1. be a minimum of 8 characters
2 contain at least one special character.
You are focusing on validation criterion 1 and have written a test class that checks that a 7 character password entry will fail validation.
You have written code designed to make this test class pass, however, on first execution of the test class it has failed
What should you do next9
Repair the failing code and re-execute it for the test class
Develop a test class with a 9 character password containing one special character and re-execute the code
Add code to cover special character validation criterion 2
Refactor the failing code to improve its design and structure
Explanation:
In the context of Agile Technical Testing, when a test class fails, the immediate next step is to repair the failing code. This aligns with the Agile principle of fast feedback and continuous improvement. The failing test indicates that the current implementation does not meet the specified criteria, hence the need to correct the code. Once the code is repaired, it should be re-executed to verify that the test now passes, ensuring that the validation criterion is met.
Question 2
Your team is developing an e-shop application (the SUT) that will use a third-party service to process payments via an API. This third-party payment gateway is itself still under development Which statement contains a pair of benefits that can BOTH be expected from service virtualization in this circumstance'
Earlier discovery of defects in the SUT; the ability to share code between the SUT and the payment gateway.
Parallel compilation, continuous integration, and test automation; more effective configuration management.
Realistic testing of the SUT before the actual payment gateway is available, simplification of the test environment
Earlier testing of the API, reduction in the amount of test data needed
Explanation:
Service virtualization is a technique that allows teams to simulate the behavior of dependent systems or components that are not readily accessible during the testing phase. In the context of developing an e-shop application with a payment gateway still under development, service virtualization offers the following benefits:
Realistic Testing: It enables the testing of the e-shop application (SUT) in a manner that closely resembles the final production environment by simulating the payment gateway's behavior.This allows for the identification of defects and issues early in the development process12.
Simplification of the Test Environment: By using virtual services, the complexity of the test environment is reduced.There's no need to set up and maintain actual integrations with the third-party payment gateway until it is fully developed, which simplifies the testing process and infrastructure requirements12.
Reference= The benefits of service virtualization are well-documented in the ISTQB Advanced Level Agile Technical Tester syllabus and other software testing resources, which highlight its role in enabling early and realistic testing, as well as simplifying the test environment3412.
Question 3
The F in the mnemonic FIRST stands for Fast Which option correctly states the meanings of the other four letters (IRST)?
isolated, Reliable. Self-Verifying, Timely.
Independent, Reliable, Self-Validating, Timely
independent. Repeatable, Self-Verifying, Thorough.
Isolated. Repeatable. Self-Validating, Thorough.
Explanation:
The mnemonic FIRST is used to describe good unit tests in Agile software development. Each letter stands for a quality that the tests should possess:
F- Fast: Tests should run quickly.
I- Isolated: Tests should not depend on each other.
R- Repeatable: Tests should yield the same results every time.
S- Self-Validating: Tests should have a boolean output (pass or fail).
T- Thorough: Tests should cover every part of the code.
Option D correctly states the meanings of the letters IRST in the context of the FIRST mnemonic.
Question 4
The following epic has been written:
As a vehicle driver
I want to find an available space In a car park
So that I can pay in advance to reserve that space
This epic will be used to develop user stories for a new National Car Parking application Both public and private car park owners will be able to utilise the system, allowing drivers of all kinds to guarantee an available car parking space on arrival at their chosen car park, according to the kind of vehicle that they may drive
There will be multiple stakeholders including different car park owners, different user groups including disabled drivers and different vehicle types such as car. van and motorbike.
From this epic, multiple user stories will be written. The following acceptance criteria have been written for the epic, and will be applicable to all user stories (each user story will also have its own acceptance cntena):
1. End-to-end response time for any individual request submitted by a user must not exceed 5 seconds
2. All correspondence with stakeholders must be via email and text message
3. The application must be accessible on most mobile technology
4. A user cannot submit a form unless all mandatory fields are entered
5. Payment method can be made using the most popular electronic options
Applying the INVEST technique to this epic, including its acceptance criteria, which of the following statements is correct?
The Testable and Valuable criteria of INVEST have not been satisfied
The invest criteria have all been satisfied by this epic
The Independent and Small criteria of INVEST have not been satisfied
The Testable and Small criteria of INVEST have not been satisfied
Explanation:
The epic described is broad and encompasses a system that involves multiple stakeholders and vehicle types, indicating that it is not a small piece of work that can be completed in a short iteration.This violates the 'Small' criterion of INVEST, which states that stories should be the smallest piece of work that delivers useful functionality to fit within an iteration12. Additionally, the epic's acceptance criteria apply to all user stories derived from it, suggesting that the stories are not independent of each other, as changes to one could affect the others.This goes against the 'Independent' criterion, which emphasizes that stories should be self-contained to avoid delays caused by dependencies12.
Question 5
You are defining the test approach for an Agile project release which is to develop an improved user interface for a golf club's booking system plus some additional features that will provide more flexible bookings across the three courses The improvements have been primarily driven by customer complaints that the booking system is difficult to follow and restrictive The release will be divided into six two-week sprints
The stakeholders have performed a risk assessment for the release and have determined that whilst the system is not mission critical, customer business could be lost and thus a risk level of High has been agreed. As there is may be a high degree of change to the screen design and functionality across the sprints, a regression-averse strategy is recommended.
Which option in the table below represents the BEST test approach for this release, where the following symbols apply?
+ (highly recommended)
(recommended)
o (neutral/optlonal)
* (not recommended)
- (not to be used)
Option Test Automation Exploratory Testing (manual) Black-box testing
1 + 0
2 - + +
3 + 0 -
4
3
1
4
2
Explanation:
Given the high risk level and the need for a regression-averse strategy due to potential changes in screen design and functionality, the best test approach would involve a strong emphasis on test automation to ensure that new changes do not break existing functionality. Exploratory testing is neutral as it can be useful but is not the primary focus. Manual black-box testing is recommended to verify that the system meets the requirements from an end-user perspective.
Therefore, the option that aligns with these needs is:
Test Automation: + (highly recommended)
Exploratory Testing: o (neutral/optional)
(manual) Black-box testing: (recommended)
This corresponds toOption 1, which suggests a heavy reliance on automated testing to manage regression risks efficiently, while still incorporating manual black-box testing to cover user experience aspects.
Reference= The ISTQB Advanced Level Agile Technical Tester documents and training resources emphasize the importance of test automation in Agile projects, especially when dealing with high-risk levels and the need for regression testing1.Additionally, the resources available at Software Testing Help provide insights into Agile testing strategies and best practices that support such an approach2.
Question 6
You are an experienced tester on an Agile team that is producing a new application. The product backlog has been refined sufficiently to begin development for the first release. This stories in this backlog contain a mixture of functional and non-functional requirements, as well as some technical stories that will provide elements of the application's infrastructure The developers have decided to use TDD as a deveiopment approach but automation of the acceptance tests is not yet planned.
You have been asked to recommend whether or not the team should take an atdd approach as well as TDD. what would be the BEST recommendation in these circumstances?
YES. use attd, but for the functional requirements only because it cannot be applied to non-functional or technical requirements.
YES. use ATTD for all requirements including non-functional and technical stories.
NO. do not use ATDD, because it will not work when the acceptance tests are not automated
NO. do not use atdd. because it is not compatible with the developers' TDD approach.
Explanation:
Acceptance Test-Driven Development (ATDD) is a collaborative practice that involves the team members with different perspectives, such as customer, development, and testing, to define acceptance tests that serve as requirements1.ATDD can be applied to all types of requirements, including functional, non-functional, and technical stories, to ensure a shared understanding and agreement on the expected behavior of the software12.It is a valuable approach in Agile environments where continuous collaboration is essential, and it complements TDD by focusing on the behavior and requirements from the user's perspective3.While ATDD does not require automated acceptance tests, automating them can enhance the process by allowing for more frequent and consistent execution1.
Question 7
Which statement about test automation is TRUE?
The term 'test automation' refers to the automation of test execution
Test automation can encompass include the configuration of test environments
Creating and maintaining test automation frameworks is better done within the iteration teams
it is more effective to have a single automation strategy for large projects
Explanation:
Test automation is not limited to the automation of test execution. It also includes the configuration of test environments, which is essential for ensuring that tests run in a stable and controlled setting.This broader view of test automation supports continuous integration and delivery practices, which are fundamental in Agile projects.Reference= The ISTQB Advanced Level Agile Technical Tester syllabus outlines the importance of test automation within Agile projects, including the creation and implementation of various Agile test approaches and supporting continuous integration and delivery123.
Question 8
You are working on a project to develop an application that allows users to collaborate via bespoke, online whiteboards. The first release, delivering core functionality, highlighted misunderstandings of the user stories between testers, developers and the product owner during sprint development Since that release, the developers have agreed to implement a TDD approach for future software development.
Creation of the product backlog for the second release is underway and you have recommended to the project stakeholders that an atdd approach be adopted for the backlog's user stories. What would be a GOOD REASON for making this recommendation?
The team wants to start using BDD and therefore atdd must also be used
The test strategy states that automation shall be used to minimize effort for execution of acceptance tests
TDD can only work effectively when an ATDD approach is used for the user stories
use of attd examples will help address the misunderstandings encountered in release 1
Explanation:
Acceptance Test-Driven Development (ATDD) is a collaborative approach that involves customers, developers, and testers to define acceptance criteria before development begins. This practice helps ensure that all stakeholders have a shared understanding of the requirements and can prevent misunderstandings like those experienced in the first release.By using examples in ATDD, the team can clarify what the software should do, which aligns with the user stories and supports the Test-Driven Development (TDD) process12.
Reference= The ISTQB Advanced Level Agile Technical Tester documents and resources from Software Testing Help discuss the benefits of ATDD in aligning team members and stakeholders on the expected outcomes of user stories, which is particularly useful when there have been previous misunderstandings34.
Question 9
You are testing a new feature in the current iteration. The feature is supposed to take the input of a name and return the number of characters in the name. This information is used by another feature that will determine the size needed on a form. The acceptance criteria state the following
1) a name of up to 30 characters should be accepted
2) standard error processing should be in place to limit user errors
The developers are using TDD and you have asked to see their tests. This is what they gave you
When you run your manual tests you are finding that when you use the following inputs you get the associated results:
From these results what can you conclude about the TDD process?
The developers are not running the tests prior to releasing the code
The tests cannot be passing
The tests are insufficient and need to include more options
The story needs to be enhanced to include the capabilities that are causing errors
Explanation:
The TDD process, as described, seems to lack comprehensive testing that covers all the acceptance criteria. Specifically, the tests provided by the developers do not address the full range of input validation, such as ensuring that names with up to 30 characters are accepted and that standard error processing is in place to limit user errors. This indicates that the tests are insufficient and need to include more options to fully validate the feature against its acceptance criteria.The ISTQB Advanced Level Agile Technical Tester syllabus emphasizes the importance of creating testable acceptance criteria within an Agile team and implementing various Agile test approaches using appropriate techniques12.It also highlights the need for supporting and contributing to test automation activities in an Agile project12, which includes ensuring that all acceptance criteria are met and that tests are sufficiently robust to catch potential errors.
ISTQB Advanced Level Agile Technical Tester Syllabus1
ISTQB Advanced Level Agile Technical Tester Learning Objectives2
Question 10
You have been given the following story
As a shopper
I want to scan my membership card
So that I get all the discounts I'm entitled to receive
Which of the following is the correct use of BDD to design test scenarios?
Given that the shopper scans their card When they checkout Then they should receive alt the quantity discounts for everything they have purchased
As a store clerk I want to scan a customer's card So that their total includes their discounts
Given that I have scanned my card I expect to receive my discounts And an itemized list of what I bought
Given that a card is scanned Then discounts should be applied When the customer checks out
Explanation:
The correct use of Behavior-Driven Development (BDD) to design test scenarios involves specifying the behavior in a given-when-then format. This format helps to clarify the conditions under which a particular outcome should occur. Option A follows this structure correctly:
Giventhat the shopper scans their card (the precondition),
Whenthey checkout (the action),
Thenthey should receive all the quantity discounts for everything they have purchased (the expected outcome).
This scenario clearly outlines the behavior of the system in response to the user's actions, which is central to BDD.
Reference= The ISTQB Advanced Level Agile Technical Tester syllabus emphasizes the importance of creating testable acceptance criteria for a given user story using requirements engineering and test techniques, which include the application of BDD in the context of a given user story12.
Question