Quiz: QA / QA Automation
QA / QA Automation questions from real interviews as a quiz, with an explanation for every option.
Try it: 5 questions
Loading…
Sample questions
Besides the operating system name, which aspects can vary in cross-platform testing? Select all that apply.
- User interface behavior is always identical across platforms.
- Device hardware characteristics and screen resolution.
- Versions of libraries, drivers, and runtime environments.
- Permissions, background restrictions, and network settings do not affect compatibility.
- Locale, time zone, and date and time formats.
Which description of HTTP is the most accurate?
- A naming system that translates a website address into an IP address.
- A markup format that defines the structure and presentation of web pages.
- A transport-layer protocol that guarantees data delivery between devices.
- An application-layer protocol for exchanging requests and responses between a client and a server.
How does a test case usually check whether a program behaves according to requirements?
- It checks that the program compiles without errors
- It compares the actual result with the expected result
- It checks that the developer completed every task requirement
- It compares the source code with that of a similar program
Which statement best describes certificate validation and encryption in an HTTPS connection?
- The certificate proves that the site is safe and trustworthy; once it is validated, data is encrypted with the server’s public key.
- The browser validates the domain and certificate chain; after the TLS handshake, both sides use negotiated symmetric keys for protected communication.
- The certificate encrypts all exchanged data; the browser only needs to check that a trusted certificate authority issued it.
- The browser checks only the server’s public key; the server then chooses a session key and sends it to the client in plaintext.
Which three checks are most characteristic of an application smoke test?
- No critical errors appear in the logs during basic actions.
- A load test is run up to the target peak levels.
- The application's key dependencies are working.
- An exhaustive set of edge cases is tested.
- The application's core features are available.
Delays are observed in the test environment. What is the most reliable way to find out whether they also occur in production?
- Assume production has no delays if the tests pass
- Compare monitoring metrics and observations from production and the test environment
- Rerun the tests in the test environment and apply the result to production
- Estimate delays from server configuration without measuring them
What does the TDD cycle describe?
- Implement all functionality first, then write tests and fix the issues they reveal.
- Design the entire system first, then write the code and check it manually at the end.
- Write a failing test, add the minimum code to pass it, then refactor the code.
- Write the complete test suite first, then implement all functionality without intermediate checks.
Which mapping of OOP principles to their meanings is correct?
- Encapsulation — objects behaving differently when the same method is called; inheritance — focusing on essential characteristics; polymorphism — bundling data and methods; abstraction — creating classes based on other classes.
- Encapsulation — creating classes based on other classes; inheritance — hiding implementation details; polymorphism — focusing on essential characteristics; abstraction — objects behaving differently when the same method is called.
- Encapsulation — focusing on essential characteristics; inheritance — objects behaving differently when the same method is called; polymorphism — creating classes based on other classes; abstraction — bundling data and methods.
- Encapsulation — bundling data and methods; inheritance — creating classes based on other classes; polymorphism — objects behaving differently when the same method is called; abstraction — focusing on essential characteristics.
Which statements about running automated tests in parallel are correct? Select all that apply.
- The more workers there are, the faster the run; load on the environment does not matter.
- Using one shared account for all workers usually prevents data conflicts.
- Test data and resources should be isolated, for example by using separate accounts and unique identifiers.
- Tests should set up their own required state and must not depend on execution order.
- Parallelism is configured in the test framework or CI, which distributes tests among workers.
What do unit tests usually check, and who most often writes them?
- An entire user journey; they are usually written by business analysts.
- Interactions between several services; they are usually written by testers.
- An isolated function or method; they are usually written by developers.
- How the application works in production; they are usually written by administrators.