Welcome to your ISTQB CTAL TTA Sample Exam Questions v4.2

Question #1 (1 Point)

Which of the following are examples of risks that should be considered by the Technical Test Analyst?Deselect Answer

Question #2 (1 Point)

When participating in a risk analysis, the Technical Test Analyst is expected to work closely with which of the following sets of people?Deselect Answer

Question #3 (2 Points)

Consider the simplified logic of a tea-making machine:


What is the minimum number of test cases required to achieve 100% statement coverage of the logic for the tea-making machine?
Deselect Answer

Question #4 (2 Points)

The simplified logic of a program is as follows:


Assume that decisions B and C are independent of each other. What is the minimum number of test cases required to achieve 100% decision coverage?
Deselect Answer

Question #5 (2 Points)

You are testing code whose control flow graph is presented below. Node 1 is the entry point and node 9 is the exit point.


Assuming that all decisions in this code are independent, what is the minimum number of test cases required to achieve 100% decision coverage?
Deselect Answer

Question #6 (2 Points)

You are testing a photo-enforcement system for traffic control at an intersection. The requirements
state a photo shall be taken if the signal light is red (RED), or the car is speeding (SPEED), and if
the front wheels of the car are over the line marking the beginning of the intersection (WHEELS).

The logic in the code looks like the following:


Assuming there is no short-circuiting, which set of test input values is required to achieve full
modified condition/decision coverage?
Deselect Answer

Question #7 (2 Points)

You are testing a photo-enforcement system for traffic control at an intersection. The requirements state a photo shall be taken if the signal light is red (RED), or the car is speeding (SPEED), and if the front wheels of the car are over the line marking the beginning of the intersection (WHEELS).

The logic in the code looks like the following:


Assuming no short-circuiting, which set of test input values is required to achieve 50% multiple condition coverage?
Deselect Answer

Question #8 (1 Point)

Which of the following are examples of defects targeted by API testing?Deselect Answer

Question #9 (3 Points)

You are the Technical Test Analyst working on the testing of software that will control the movement of the roof on a new national sports stadium that seats 100,000 spectators. A failure analysis has shown that if the software system fails it may cause the roof to break up and fall on the spectators. The government has requested that the level of testing for this software exceeds that required by the IEC 61508 standard.

Which level of test coverage would you expect to be achieved in the testing of the control software for the stadium roof?Deselect Answer

Question #10 (3 Points)

You work for a software house that provides software solutions for medical systems. Currently you are testing a software component that operates the defibrillator machine controlling the dose of electric current delivered to the heart. During the code review, the reviewers noticed that one decision in the module under test consists of 20 independent atomic conditions. You are obliged to perform white-box testing for this module and you are expected to finish it in one month.

Which white-box test technique should you choose for this scenario?Deselect Answer

Question #11 (2 Points)

Below is the pseudo-code for a TRICKY program:


Which of the following statements about the TRICKY program MOST correctly describes any control flow anomalies in it?
Deselect Answer

Question #12 (2 Points)

The programmers have designed three versions of a function that finds the largest number among three integers: findMax1, findMax2 and findMax3. One of them must be chosen for the next release. The codes look as follows:


You were asked to select the one with the lowest cyclomatic complexity. Which ONE should you choose?
Deselect Answer

Question #13 (2 Points)

Below is the pseudo-code for a program that calculates and prints sales commissions:


The code contains data flow anomalies on lines 6 and 12 (highlighted text). Which examples of data flow anomalies can be found on these lines?
Deselect Answer

Question #14 (2 Points)

You have been asked to analyze the following program that calculates a sales commission:


Which pair of lines represents a data flow anomaly?
Deselect Answer

Question #15 (2 Points)

You have been provided with the following system-wide average measures for the four systems, W, X, Y and Z, using static code analysis.


Budget is available to improve the maintainability of the code in each of the four systems by applying the results of static analysis to the individual components.

Which of the following is the BEST way to improve maintainability of the code if you can address only two metrics per system?
Deselect Answer

Question #16 (2 Points)

Below is the pseudo-code for a TRICKY program:


Which TWO fixes to improve code maintainability would MOST likely be proposed after performing static analysis?
Deselect Answer

Question #17 (2 Points)

You are the Technical Test Analyst working on a project developing a new Ambulance Dispatch System (ADS). This ADS assists operators in taking calls about incidents, identifying available ambulances, and mobilizing ambulances to handle the incidents. You know that the ADS was designed using an object-oriented approach and implemented using a language with automated garbage collection. During system and acceptance testing the system has been perceived to be generally performing correctly, but also rather slowly, and it has also occasionally ‘crashed’; the subsequent (brief) investigations were inconclusive.

Which of the following statements would BEST justify the use of dynamic analysis in this situation?Deselect Answer

Question #18 (3 Points)

Assume you are working as a Technical Test Analyst on a project where a new banking system is being developed. This system will store customer financial data, including personal information, account numbers, balances, and transaction histories, but no real customer data will become available until after the system is deployed operationally.

Based on this information, which of the following topics are you MOST likely to include in the system test plan?Deselect Answer

Question #19 (3 Points)

Assume you are working as a Technical Test Analyst on the system integration testing of the baggage handling system for a major airport. Most of the system components are developed by a main contractor, but the system components for baggage redirection and for handling outsized items are being developed off-shore by separate organizations. The airport operator is the customer for the project and has indicated that the system must run fast even under peak morning and evening loads. A fully representative test environment has been made available for the system integration tests and a specialist tools team has been set up to support the functional and non-functional testing. Some of the functional tests for systems integration have already been implemented but progress is slow.

Based on this information, which of the following topics are you MOST likely to identify as risks in the system integration test plan?Deselect Answer

Question #20 (2 Points)

Consider the following product risk: Abnormal application termination due to network connection failure.

Which of the following is the MOST appropriate test type to address this risk?Deselect Answer

Question #21 (2 Points)

Consider the following product risk: “The new database is not suitable for replacing the current one”.

Which of the following is the MOST appropriate test type to address this risk?Deselect Answer

Question #22 (1 Point)

Which of the following statements is CORRECT?Deselect Answer

Question #23 (1 Point)

Which of the following statements is CORRECT?Deselect Answer

Question #24 (2 Points)

Assume that you are working for a start-up company with big ambitions but with limited initial funding. They are creating a system that will provide customized loyalty and rewards programs for small- and medium-sized businesses selling to customers on the web. These companies enroll themselves on the system’s web store. This allows the companies to create customized buttons, to be placed on their websites, that let customers enroll in the companies’ loyalty and rewards program. Each subsequent purchase earns points, and both companies and their customers can manage the program; for example, companies can determine the number of points required for customers to receive a free product or service, and customers can monitor their points.

Your employer’s marketing staff is heavily promoting the system, offering aggressive discounts on the first year’s fees to sign up new companies. The marketing materials state that the service will be highly reliable and extremely fast for companies and their customers.

At this time, the requirements are complete, and development of the software has just begun. The current schedule will allow companies and their customers to start enrolling in three months.

Your employer intends to use cloud computing resources to host this service, and to have no hardware resources other than ordinary office computers for its developers, testers, and other engineers and managers. Industry-standard web-based application software components will be used to build the system.

Assume that you are executing security tests against the system.

Which of the following types of defect would you expect to find during this testing?Deselect Answer

Question #25 (2 Points)

The system integration testing for a new version of a stocks trading system is being planned. You are planning the performance efficiency tests as part of this testing. The new version has increased functionality, but the basic architecture remains the same.

The current system has so far received a positive response and the number of users has steadily increased. It enables users to trade individual stocks with a simple transaction consisting only of the user identity, stock number, quantity, and action (buy or sell).

The current system’s response time to user inputs is regularly monitored by conducting performance tests supported by a tool and using a fully representative test environment. At present the system runs reliably and response times to user trading transactions are just below the maximum specified.

The marketing department anticipates that with the new functionality being introduced in the next version, the number of users is expected to double over the next 12 months. You have included scalability tests into your performance testing strategy.

When planning the performance efficiency tests, which of the following types of defects would you target in the system integration test plan as being the MOST likely to occur?Deselect Answer

Question #26 (1 Point)

By entering the following phrase into the username field of the login form:
    abcd OR 1=1

a tester performed an SQL injection attack and consequently obtained a list of all valid usernames for the system.

Which of the following security aspects was MOST likely to have been addressed by this test?Deselect Answer

Question #27 (1 Point)

You work as the TTA on an agile project and you have been asked to calculate the mean time to failure (MTTF) for the system under test under a normal load.

Which of the following sources of information is MOST likely to provide you with the necessary information about the load that you should generate in your tests?Deselect Answer

Question #28 (1 Point)

Which of the following statements about code reviews in the context of planning performance efficiency testing is CORRECT?Deselect Answer

Question #29 (1 Point)

Which of the following statements provides the BEST rationale for including maintainability testing in a test approach?Deselect Answer

Question #30 (1 Point)

You work as a tester in a company that develops a desktop financial application for accountants. The users reported problems with the following scenario, and you have been tasked with testing the fix.

  • Download app from the producer website
  • Install it using the installation wizard
  • Check if the app is installed properly
  • Uninstall the app
  • Check if everything was uninstalled properly

What is the reason for performing this test?Deselect Answer

Question #31 (1 Point)

A Technical Test Analyst has been invited to the formal review of an architectural design specification. The review has been called at short notice for the following day and although there is nothing in the analyst’s diary for that time, there is no time to prepare.

Which of the following would be the most appropriate response to the invitation?Deselect Answer

Question #32 (3 Points)

You are participating in an architectural review of a new product design. This is an embedded product that has severe memory restrictions. Consider the following programming practices and problems that can result from using those practices.

Programming Practices:
  1. Connection pooling
  2. Data caching
  3. Lazy instantiation
  4. Transaction concurrency

Problems:
  A. Performance impact when the instantiation is needed
  B. Transaction loss due to processor unavailability
  C. Errors in multi-threading logic
  D. Stale data

Which of the above programming practices could be used to reduce unnecessary memory use in this scenario and what are the possible problems in using this practice?Deselect Answer

Question #33 (3 Points)

You are participating in an architectural design review of a new product design. This is a web-based currency trading product that provides real-time information on prices for currencies selected by the user.

The following list of practices are mentioned in the design as options for ensuring response times of less than 1 second and real-time data accuracy under maximum expected loads.

Which of the following practices would you highlight as the MOST promising for achieving the requirement?Deselect Answer

Question #34 (3 Points)

You are participating in a code review and have noticed a problem in the following section of pseudo-code (assume *** indicates a comment).

Which of the following problems is demonstrated in this section of code and why should it be corrected?
Deselect Answer

Question #35 (3 Points)

You are participating in a code review and have noticed a problem in the following section of pseudo-code (assume *** indicates a comment).


Which of the following problems is demonstrated in this section of code?
Deselect Answer

Question #36 (1 Point)

Which of the following are typical activities performed by a Technical Test Analyst when setting up a test automation project?Deselect Answer

Question #37 (1 Point)

Which of the following statements BEST captures the difference between data-driven and keyword-driven test automation?Deselect Answer

Question #38 (1 Point)

Which of the following describes a common technical issue that causes test automation projects to fail to achieve the planned return on investment?Deselect Answer

Question #39 (2 Points)

Assume that you are involved in testing a mature application. This application is an online dating service that allows users: to enter a profile of themselves; to meet orientation-appropriate people who would be a good match for them; to arrange social events with those people; and, to block people they do not want to contact them.

Defects and test cases are managed in an existing commercial test management tool, which is working well. Source code and other project work products are stored in an open-source configuration management system.

Your manager directs you to help her select a test execution automation tool to automate most of the regression testing.

Assume you are using a keyword-driven automation approach. Which of the options would be the MOST LIKELY keywords for this application?Deselect Answer

Question #40 (1 Point)

Which of the following statements about fault seeding tools is correct?Deselect Answer

Question #41 (1 Point)

Which of the following statements about performance testing tools is CORRECT?Deselect Answer

Question #42 (1 Point)

Which of the following CORRECTLY describe the objectives of tools supporting web-based testing?Deselect Answer

Question #43 (1 Point)

Which of the following BEST describes how tools can support the practice of model-based testing (MBT)?Deselect Answer

Question #44 (1 Point)

Which of the following statements about component testing tools and build automation tools is TRUE?Deselect Answer

Question #45 (1 Point)

Which of the following statements BEST captures the purpose of an emulator when used to support mobile application testing?Deselect Answer

Question #X1 (1 Point)

TTA-4.3.1 (K2) Explain the reasons for including security testing in a test approach

A new personal banking system is to be developed for use on mobile devices. Which ONE of the following options is valid reason to include security testing in the test approach?Deselect Answer

Question #X2 (1 Point)

TTA-4.4.1 (K2) Explain the reasons for including reliability testing in a test approach

Which of the following factors must be considered when planning reliability tests?Deselect Answer

Question #X3 (1 Point)

TTA-4.5.1 (K2) Explain the reasons for including performance testing in a test approach

A web-based holiday booking system expects to handle three times its average number of visitors during the peak month of the year.

Which of the following reasons would justify including performance testing in the test approach?Deselect Answer

Question #X4 (1 Point)

TTA-4.8.1 (K2) Explain the reasons for including co-existence testing in a test approach

Which of the following is an example of compatibility testing?Deselect Answer