Tag: testing

Questions Related to testing

A telecom industry application is to be deployed on a 24 CPU, 24 GB RAM server in Production. There was no test environment equivalent of this capacity. Out of due diligence, developers tested the application on development server with 1 CPU, 1 GB RAM with 24 times reduced data volumes. The application crashed in Production while crunching billing data for millions of customers. Which amongst the following was a bigger mistake?

  1. Project team should have gone for a failover architecture like 2 servers of 12 CPU, 12 GB RAM instead of single server

  2. Project team trusted server vendor who guaranteed excellent performance and scalability

  3. Project team overlooked the fact that results derived on a single CPU machine cannot be extrapolated to 24 CPU servers

  4. It's sheer bad luck that the application crashed; there's no mistake, at least they tried


Correct Option: C

In context of a web application which of the following is an example of Throughput from choices given below

  1. Number of Web transactions per minute

  2. Percentage of CPU Utilized by the Web server

  3. Amount of memory consumed by the web application

  4. Number of concurrent users in the web application


Correct Option: A

What is Transaction Mix?

  1. Varying execution frequency of different Transactions

  2. Mix of transactions in a system

  3. Different transaction of given system

  4. Total transaction of the system


Correct Option: A

VSTS supports following parameterization techniques in web test?

  1. From DB

  2. From XML

  3. From CSV file

  4. All of The Above


Correct Option: D

What types Load tests VSTS supports?

  1. Goal Based

  2. Step Load

  3. Goal Based & Step Load

  4. None


Correct Option: C

What inputs are required when planning Performance Tests?

  1. Workload Information

  2. Application Details

  3. Performance Monitoring Framework

  4. All of The Above


Correct Option: D

Client ABC informs TCS PL that the number of users of an online application is going to double in next six months and requests him the TCS strategy to handle the increased workload. TCS PL knows his application can scale because the project has used good Performance Engineering practices. He however needs benchmark numbers to decide if horizontal scaling or vertical scaling should be implemented. Which test should he carry out?

  1. Load Testing

  2. Stress Testing

  3. Volume Testing

  4. System Testing


Correct Option: A

AI Explanation

To answer this question, you need to understand the different types of performance testing. Let's go through each option to understand why it is correct or incorrect:

Option A) Load Testing - Load testing is the process of subjecting a system to a specific workload to measure its response time and resource utilization. It helps determine how the system performs under normal and anticipated peak load conditions. This test is relevant in the given scenario because it helps TCS PL gather benchmark numbers to decide if horizontal scaling or vertical scaling should be implemented.

Option B) Stress Testing - Stress testing is performed to determine the system's behavior under extreme conditions beyond its normal operating capacity. It helps identify the breaking point of the system and assess its ability to recover. While stress testing is important, it is not directly relevant to determining the scaling strategy in this scenario.

Option C) Volume Testing - Volume testing is conducted to evaluate the system's performance when handling a large volume of data. It helps assess the system's scalability and ability to handle increasing data loads. While volume testing is important, it is not directly relevant to determining the scaling strategy in this scenario.

Option D) System Testing - System testing is the process of evaluating the complete and integrated system to ensure that it meets specified requirements. While system testing is an important aspect of software development, it is not directly relevant to determining the scaling strategy in this scenario.

Based on the explanation above, the correct answer is A) Load Testing. This option is correct because load testing helps TCS PL gather benchmark numbers to decide if horizontal scaling or vertical scaling should be implemented in order to handle the increased workload.

Once a system has been tested and tuned for performance:

  1. It will never face a performance problem again

  2. It will have a performance problem if system grows

  3. It can have a performance problem if system grows

  4. It will have a performance problem only if application changes


Correct Option: C