Pre-Winter Sale - Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70dumps

CTAL-TAE_V2 Questions and Answers

Question # 6

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 # 7

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.

You have just conducted a pilot of the TAS on the implementation of Requirement 1 and several things went wrong:

• One test failed because some reference data that it needed was missing. This and several other failures were difficult to diagnose.

• Another test failed unexpectedly because an old version of the script was used.

Which three measures could mitigate these risks during deployment?

a) Full test logging down to and including trace level

b) Identification and correct configuration of all firewalls

c) Automated creation and loading of all data to meet test preconditions

d) Provision of proper device configuration plans

e) Careful packaging with thorough configuration management

A.

a, c and e

B.

a, b and d

C.

b, d and e

D.

b, c and d

Full Access
Question # 8

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 # 9

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 # 10

Which of the following recommendations can help improve the maintainability of test automation code?

A.

Use error codes in test automation code instead of exceptions (if exceptions are supported by the programming language) for error handling

B.

Avoid producing test automation code containing methods with too many levels of nesting, as deeply nested code is more difficult to understand

C.

Avoid adopting design patterns that introduce high levels of abstraction in test automation code, such as the flow model pattern

D.

Avoid using static analyzers on test automation code and other development tools, as they are designed to improve the maintainability of SUT code

Full Access
Question # 11

Which of the following layers within the TAA contains technology-specific implementations that enable automated tests to have the execution of their logical actions result in actual interaction with the appropriate interfaces of the SUT?

A.

Test generation layer

B.

Test definition layer

C.

Test execution layer

D.

Test adaptation layer

Full Access
Question # 12

Your TAS is being used for automated functional suitability testing of a stock management system. Several tests have crashed. Despite the fact that the SUT creates detailed logs of all its activity, it has been difficult to determine the reason(s) for these crashes from the TAS and SUT test logs.

What actions are MOST likely to help with debugging?

a) Ensure that the TAS logs a count of how many times each test case is run.

b) Ensure that the SUT logs all available configuration data when it starts up.

c) Ensure that the SUT logs all available crash dumps and stack traces in the event of failure.

d) Ensure that the SUT logs all values of randomly generated test input data.

e) Ensure exact time synchronization of all test logs before any tests are run.

A.

b and e

B.

a and d

C.

c and d

D.

b and c

Full Access
Question # 13

Consider a TAS aimed at implementing and running automated test scripts at the UI level on web apps. The TAS must support cross-browser compatibility for a variety of supported browsers, by ensuring that the same test script will run on such browsers in the same way without making any changes to it. This is achieved by introducing appropriate abstractions into the TAA for connection and interaction with different browsers. Because of this, the TAS will be able to make direct calls to the supported browsers using each different browser’s native support for automation. Which of the following SOLID principles was adopted?

A.

Dependency inversion principle

B.

Open-closed principle

C.

Liskov substitution principle

D.

Interface segregation principle

Full Access
Question # 14

A CI/CD pipeline consists of two phases: build and deployment. The build phase, among other activities, runs automated test cases at the following test levels: Component Testing (CT) and Component Integration Testing (CIT). If the build phase is successful, the deployment phase is started. The deployment phase first provisions the test environment infrastructure needed to deploy the SUT, then deploys the SUT to this environment, and finally triggers another separate pipeline that runs automated test cases at the following test levels: System Testing (ST) and Acceptance Testing (AT). Which of the following statements is TRUE?

A.

Both automated test cases for CT-CIT and ST-AT can act as quality gates

B.

Automated test cases for CT-CIT can act as quality gates, while automated test cases for ST-AT cannot act as quality gates

C.

Automated test cases for CT-CIT cannot act as quality gates, while automated test cases for ST-AT can act as quality gates

D.

Neither automated test cases for CT-CIT nor automated test cases for ST-AT can act as quality gates

Full Access
Question # 15

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 # 16

(Which of the following statements refers to a typical advantage of test automation?)

A.

Automated tests can determine whether actual results match expected results, even for non-machine-interpretable results

B.

On average, automated tests written at the API level are likely to run faster than automated tests written at the UI level

C.

Artificial intelligence can be used to help identify redundant tests within large, long-running automated regression test suites

D.

Automated tests can allow defects to be detected earlier than manual tests because their execution times can be shorter

Full Access
Question # 17

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 # 18

You have been recruited as a TAE by a large travel agency and are now responsible for a mature TAS that is dedicated to functional testing of the company’s booking system, which covers flights, hotels, and packaged holidays. This application contains a complex UI and a lot of functionality. It is undergoing constant maintenance and enhancement by an Agile team that adds tests to the regression test suite at the end of every iteration.

The TAS supports structured scripting and this has been implemented to a high standard, with a well-managed script library and minimal code duplication. The TAA will not support any more advanced scripting techniques. The test automation that has been achieved so far was well received at first but is now the target of increasing criticism. It is perceived as being old-fashioned, poorly documented and, in particular:

1. The test script maintenance overhead is becoming excessive because the test analysts frequently want data values to be changed.

2. Test analysts are complaining that a new test which is similar to an existing one, except for data values, requires a new high-level script, and that they must ask a technical test analyst to do this for them.

3. The nightly full regression run is taking a long time and there is a risk that, as more tests are added, it will soon take too long to run in the available window.

4. Some tests break frequently because of slow response from the SUT.

5. Some transactions are difficult to verify because they rely on variables that cannot be seen through the UI of the SUT.

6. The UI of the TAF is difficult to learn.

The SUT architect is planning a major new release and they have offered to include features that will enhance its testability. You already have plans to deal with items 1, 2 and 3 on the list, so now you are considering how you might mitigate items 4, 5 and 6.

Which TWO improvements will BEST address items 4, 5 and 6?

a) Add an event mechanism to the SUT which the TAF can subscribe to

b) Adopt a set of standard setup and teardown methods

c) Add an API to the SUT that will make the internal variables observable

d) Update and improve the documentation of the TAA

e) Implement hard-coded waits in scripts that have been affected by slow SUT response

A.

a and b

B.

a and c

C.

d and e

D.

b and e

Full Access
Question # 19

(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 # 20

What would be a goal of test automation in a Preproduction environment?

A.

To build the software and check correctness of the build

B.

To verify component integration

C.

To verify component functionality

D.

To assess non-functional characteristics

Full Access
Question # 21

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 # 22

Which statement correctly describes what a Test Automation Architecture should do?

A.

Specify the connections between the TAS and the test management and data management tools

B.

Specify the changes that will be needed to test processes and procedures

C.

Specify the changes that will be needed to the SUT to give full testability

D.

Specify the process that will be needed to select test automation tools

Full Access
Question # 23

You are a TAE responsible for a TAS that is used on several products, all of which have complex UIs. A substantial proportion of the automated tests break on a regular basis, usually for reasons associated with the UI. The investigation and maintenance this requires is significantly reducing the productivity of the teams and the return on investment.

You are looking for ways to improve the test cases in this TAS. Which of the following approaches would be MOST appropriate?

a) Artificial intelligence

b) Test histograms

c) Reliability growth modelling

d) Schema validation

e) Operational profiles

A.

d and e

B.

a and b

C.

c and d

D.

b and c

Full Access
Question # 24

A SUT (SUT1) is a client-server system based on a thin client. The client is primarily a display and input interface, while the server provides almost all the resources and functionality of the system. Another SUT (SUT2) is a client-server system based on a fat client that relies little on the server and provides most of the resources and functionality of the system. A given TAS is used to implement automated tests on both SUT1 and SUT2. The main objective of the TAS is to cover as many system functionalities as possible through automated tests executed as fast as possible. Which of the following statements about the automation solution is BEST in this scenario?

A.

The TAS should support mainly client-side automation for both SUT1 and SUT2

B.

The TAS should support mainly client-side automation for SUT1 and server-side automation for SUT2

C.

The TAS should support mainly server-side automation for both SUT1 and SUT2

D.

The TAS should support mainly server-side automation for SUT1 and client-side automation for SUT2

Full Access