Halloween Sale Special - 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: my75ex

Home > iSQI > ISQI certification > CTAL-TAE_V2

CTAL-TAE_V2 ISTQB Certified Tester Advanced Level - Test Automation Engineering CTAL-TAE (Syllabus v2.0) Question and Answers

Question # 4

When a continuous integration/continuous deployment (CI/CD) pipeline is split between build and deployment phases, which statements are TRUE?

a) Component and component integration tests are part of the deployment phase.

b) System and higher-level tests may be part of the build phase.

c) Component and component integration tests are part of the build phase.

d) System and acceptance tests may be executed in a separate pipeline.

e) System integration tests cannot be run in this kind of pipeline.

A.

a and b

B.

c and d

C.

a and d

D.

b and e

Full Access
Question # 5

To improve the maintainability of test automation code, it is recommended to adopt design principles and design patterns that allow the code to be structured into:

A.

Highly coupled and loosely cohesive modules

B.

Highly coupled and highly cohesive modules

C.

Loosely coupled and highly cohesive modules

D.

Loosely coupled and loosely cohesive modules

Full Access
Question # 6

A release candidate of a SUT, after being fully integrated with all other necessary systems, has successfully passed all required functional tests (90% were automated tests and 10% were manual tests). Now, it is necessary to perform reliability tests aimed at evaluating whether, under certain conditions, that release will be able to guarantee an MTBF (Mean Time Between Failures) in the production environment higher than a certain threshold (expressed in CPU time). Which of the following test environments is BEST suited to perform these reliability tests?

A.

Local development environment

B.

Build environment

C.

Integration environment

D.

Preproduction environment

Full Access
Question # 7

In a first possible implementation, the automated test scripts within a suite locate and interact with elements of a web UI indirectly through the browsers using browser-specific drivers and APIs, provided by an automated test tool used as part of the TAS. In an alternative implementation, these test scripts locate and interact with elements of the same web UI directly at the HTML level by accessing the DOM (Document Object Model) and internal JavaScript code. The first possible implementation:

A.

Has a lower level of intrusion than the alternative implementation, and therefore its test scripts are less likely to produce false positives

B.

Has a higher level of intrusion than the alternative implementation, and therefore its test scripts are less likely to produce false positives

C.

Has a lower level of intrusion than the alternative implementation, and therefore its test scripts are more likely to produce false positives

D.

Has the same level of intrusion as the alternative implementation, and therefore the risk of test scripts producing false positives is the same in both cases

Full Access
Question # 8

Which ONE of the four layers of the test automation architecture provides an optional capability?

A.

Test execution layer

B.

Test adaptation layer

C.

Test definition layer

D.

Test generation layer

Full Access
Question # 9

Which items should be included in a report that is produced after execution of a test suite?

A.

Test results and a list of operational stakeholders

B.

Test environment details and root causes of defects found

C.

SUT information and TAS configuration details

D.

Test results and test environment details

Full Access
Question # 10

You are employed as a TAE on a project to build a purchasing system. The main requirements for the system are:

1) Allow users to enter details of items that they wish to have purchased and, from these details, create a purchase request.

2) Take each purchase request through a workflow that will allow the requestor’s line manager to approve the request, reject it, or return it for clarification/modification.

3) Forward approved requests to the Purchasing Department.

4) Allow purchasers to find the best available supplier and place the request on that supplier as a purchase order.

Requirement 1 has now been delivered and has been satisfactorily tested manually. In parallel, you have developed a TAS so that functional suitability testing can be automated.

The functional suitability testing of Requirement 1 has now been automated as fully as possible. A change to add audit logging of user activity is planned but has not yet been made. After a small change to the UI code, the last regression run contained a significant number of unexplained test failures. At the point each test stopped, the actual and expected results showed no discrepancies. In each case, the run was able to continue with the next test in the suite. Preliminary investigation showed that the points at which these tests stopped had nothing obvious in common.

Which option below contains the BEST next steps to investigate this?

A.

Analyze all available log information with the aim of finding an unreported verification discrepancy in the scripts

B.

Analyze all available log information with the aim of finding a defect in the way that the TAS runs tests

C.

Analyze all available log information with the aim of finding a test environment outage

D.

Add user activity logging to the SUT, then repeat the test run so that correlation IDs are available

Full Access
Question # 11

(In User Acceptance Testing (UAT) for a new SUT, in addition to the manual tests performed by the end-users, automated tests are performed that focus on the execution of repetitive and routine test scenarios. In which of the following environments are all these tests typically performed?)

A.

Build environment

B.

Integration environment

C.

Preproduction environment

D.

Production environment

Full Access
Question # 12

Automated tests at the UI level for a web app adopt an asynchronous waiting mechanism that allows them to synchronize test steps with the app, so that they are executed correctly and at the right time, only when the app is ready and has processed the previous step: this is done when there are no timeouts or pending asynchronous requests. In this way, the tests automatically synchronize with the app's web pages. The same initialization tasks to set test preconditions are implemented as test steps for all tests. Regarding the pre-processing (Setup) features defined at the test suite level, the TAS provides both a Suite Setup (which runs exactly once when the suite starts) and a Test Setup (which runs at the start of each test case in the suite). Which of the following recommendations would you provide for improving the TAS (assuming it is possible to perform all of them)?

A.

Adopt a manual synchronization with the app’s web pages using hard-coded waits instead of the current automatic synchronization

B.

Implement the initialization tasks aimed at setting the preconditions of the tests within the Test Setup feature at the test suite level

C.

Adopt a manual synchronization with the app’s web pages using dynamic waits via polling instead of the current automatic synchronization

D.

Implement the initialization tasks aimed at setting the preconditions of the tests within the Suite Setup feature at the test suite level

Full Access
Question # 13

You are evaluating the best approach to implement automated tests at the UI level for a web app. Specifically, your goal is to allow test analysts to write automated tests in tabular format, within files that encapsulate logical test steps related to how a user interacts with the web UI, along with the corresponding test data. These steps must be expressed using natural language words that represent the actions performed by the user on the web UI. These files will then be interpreted and executed by a test execution tool. Which of the following approaches to test automation is BEST suited to achieve your goal?

A.

Test-driven development

B.

Keyword-driven testing

C.

Data-driven testing

D.

Linear scripting

Full Access
Question # 14

Consider choosing an approach for the automated implementation of manual regression test suites written at the UI level for some already developed web apps. The TAS is based on a programming language that allows the creation of test libraries and provides a capture/playback feature that allows recognition and interaction with all widgets in the web UIs being tested. The automated tests will be implemented by team members with strong programming skills. The chosen approach should aim to reduce both the effort required to maintain automated tests and the effort required to add new automated tests. Which of the following approaches would you choose?

A.

Test-Driven Development (TDD)

B.

Capture/playback

C.

Linear scripting

D.

Structured scripting

Full Access
Question # 15

You work as a TAE for a software vendor that produces bespoke software. Your current project is developing a process control system where data from sensors on the factory floor and human input through a web-based front end undergoes processing on backend platforms. This results in control instructions that are sent to the production line via a message broker.

Your test environment contains all of these components, including the sensors which run in a test harness. These sensors are third-party components that are still under development, so they are often upgraded. The message broker is also a new third-party component which is still receiving regular patches. This requires frequent re-installation of the TAS, which takes significant manual effort, and there have been several occasions where it was not built correctly due to missing components and had to be rebuilt.

Which action is MOST likely to solve this issue with the TAS?

A.

Connectivity checks after installation to verify interoperability between the TAS and the sensors

B.

Automated installation from a central repository where component upgrades can be managed

C.

Stricter documentation and configuration management of the TAS components

D.

Functional testing of relevant TAS components before installation to verify their interoperability with any upgrade to the sensors

Full Access
Question # 16

An automated test case that should always pass sometimes passes and sometimes fails intermittently (non-deterministic behavior) when executed in the same test environment, even if no code (i.e., SUT code or the test automation code) has been changed. Which of the following statements about the root cause of this non-deterministic behavior is TRUE?

A.

The specified root cause is a race condition that can be identified by also analyzing the log files of the test case, the SUT, and the TAF

B.

Determining the specified root cause may require, in addition to the TAE, the support of others such as developers and system engineers

C.

The specified root cause must be in the instability of the test environment, since no code has been changed

D.

Determining the specified root cause is certainly easier than if the automated test always fails (deterministic behavior)

Full Access
Question # 17

How is automation typically applied in a Waterfall lifecycle model?

A.

Business representatives help to decide on the roadmap for test automation

B.

Automation is applied at each test level to validate requirements

C.

Automation is applied in parallel to or after the implementation phase

D.

It is not possible to automate tests in this lifecycle model

Full Access
Question # 18

You are working as a TAE for a small start-up insurance broker and your next project will be a new system for generating motor insurance quotes. The project will follow an Agile methodology. The stakeholders are keen to get it into production, but are realistic about the need to allow enough time for thorough testing and support automation of tests where appropriate.

Which approach for automating the tests would be MOST suitable for this project?

A.

Structured scripting

B.

Keyword-driven testing

C.

Data-driven testing

D.

Linear scripting

Full Access
Question # 19

You are working for a clothing retailer that has big stores in many cities. Your TAS, for the first time, has just been used for reliability and stress testing of the overnight batch processing that collects sales transactions from the stores and adds them to a data warehouse; functional suitability tests have been reused for these runs.

All tests have finished normally but their results have not been satisfactory, and it has been difficult to understand the nature of the defect or defects that have been causing the failures.

What data, if added to the test logs, would MOST likely help with debugging in this situation?

a) Dynamic data about the status of the test platforms

b) Screenshots taken during test execution

c) Crash dumps and stack traces

d) Values of randomly generated test input data

e) Counts of the quantity of test cases executed during each run

A.

c and d

B.

a and e

C.

a and d

D.

b and c

Full Access
Question # 20

Which of the following information in API documentation is LEAST relevant for implementing automated tests on that API?

A.

Release notes/change logs on past changes to the API

B.

Details about the parameters accepted by each API endpoint

C.

Authentication mechanisms required to access the API

D.

Details about the format of the API responses

Full Access
Question # 21

What outcome can happen as a result of a high level of test tool intrusion?

A.

Corruption of data in some test data sets

B.

Failures that will not be seen in production

C.

Lack of repeatability of some test results

D.

A greater need for configuration management controls

Full Access
Question # 22

Which option correctly pairs test automation design principles and patterns with their characteristics?

1. Hides implementation details to expose only what the testers need to create in their test cases.

2. Creates a class file so that updates to locators need to be made in only one place.

3. Includes the idea that components should be freely substitutable with no adverse impact.

4. Introduces an additional facade which stores user actions that interact with page objects.

A.

Facade pattern

B.

SOLID

C.

Flow model

D.

Page object model

Full Access
Question # 23

When would you be MOST likely to store a test environment configuration with other testware?

A.

When there is only one test environment to be used

B.

When one test environment is used in multiple TAFs

C.

When there is only one configuration management system

D.

When one test environment is used in multiple projects

Full Access
Question # 24

(Which of the following aspects of “design for testability” is MOST directly associated with the need to define precisely which interfaces are available in the SUT for test automation at different test levels?)

A.

Autonomy

B.

Architecture transparency

C.

Controllability

D.

Observability

Full Access