Tag: architecture

Questions Related to architecture

  1. Insufficient memory

  2. Hardware issue

  3. Leak

  4. Improper configuration


Correct Option: C

If an application is running slowly, which of the following is true?

  1. You can always improve performance by using more CPUs

  2. You can always improve performance by using more RAM

  3. You can always improve performance by using more disks

  4. None of the above


Correct Option: D

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
Explanation:

To answer this question, the user needs to have knowledge about system performance and its behavior.

Option A is incorrect because it is impossible to guarantee that a system will never face a performance problem again, even if it has been tested and tuned. There are various factors that can affect system performance, such as changes in workload, hardware failures, and network issues.

Option B is partially correct. If the system grows, it can lead to performance problems. As the workload increases, the system may not be able to handle the increased demand, resulting in poor performance. However, it is important to note that the growth of the system is not the only factor that can affect performance.

Option C is the most appropriate answer. A system can have a performance problem if it grows or if there are changes in the workload, hardware, or software. Even if a system has been tested and tuned, it may not be able to handle the increased demand or changes in the environment, resulting in performance problems.

Option D is incorrect because application changes are not the only factor that can lead to performance problems. While changes in the application can impact performance, other factors such as workload and hardware failures can also cause performance issues.

Therefore, the correct answer is:

The Answer is: C. It can have a performance problem if the system grows.

You are approached to review an application code having performance issues. It is estimated that the code review will take 1 person year to go through all the code line by line. What is your recommendation in this scenario

  1. Take up the work and complete the review in estimated time

  2. Ask the customer to find exactly which part of the code has performance issue

  3. Take customers help to identify the portion(s) of the code that potentially have performance issues

  4. Recommned to use an automated tool to review the code to complete in quick amount of time


Correct Option: C
  1. OS & HW

  2. Database

  3. Program

  4. Design


Correct Option: C

An end user of an online car dealer is facing poor response. The car dealer checks with the system administrator and is told that there is no problem in the web or DBMS servers. Which of the following is likely to be true?

  1. The system administrator is telling a lie

  2. There is a delay either at network or client PC or both

  3. The problem will get solved upon reboot

  4. Network capacity will need to be upgraded


Correct Option: B
Explanation:

To solve this question, the user needs to understand the possible reasons for poor response from an online car dealer.

Option A: This option is unlikely to be true. Assuming the system administrator is competent, they would have checked the web or DBMS servers before giving an answer. It is also unprofessional to lie about a technical issue.

Option B: This option is likely to be true. Poor response from an online car dealer could be due to a network delay or an issue with the client PC. It is possible that the client PC is not powerful enough to handle the website's requirements, or that there is a delay in the network connection.

Option C: This option is unlikely to be true. Rebooting the system may fix some issues, but it is unlikely to solve a delay issue caused by a network or client PC.

Option D: This option is possible, but it is not the most likely scenario. Upgrading network capacity may be necessary if the website is receiving a large amount of traffic, but it is not the first solution to consider when facing poor response.

Therefore, the most likely answer is:

The Answer is: B. There is a delay either at network or client PC or both.

Central Sarkari Bank processes 100,000 withdrawals per day and 50,000 deposits per day. The bank allows transaction processing for 5 hours in a day. What is the throughput of the system?

  1. 20,000 transactions per hour

  2. 30,000 transactions per hour

  3. 10,000 transactions per hour

  4. 150,000 transactions per hour


Correct Option: B

Which of the following is not a measure for Throughput ?

  1. Number of bytes transferred per hour

  2. Number of reports generated per day

  3. Number of errors per hour

  4. Number of requests handled by the application per day

  5. Number of hits per second


Correct Option: C

AI Explanation

To answer this question, we need to understand what throughput is and what measures can be used to quantify it.

Throughput refers to the rate at which a system or process can process or handle a certain amount of work over a given period of time. It is often measured in terms of the number of tasks, requests, or data processed per unit of time.

Let's go through each option to determine which one is not a measure for throughput:

A. Number of bytes transferred per hour - This option can be a measure for throughput. It quantifies the amount of data transferred over a certain period of time.

B. Number of reports generated per day - This option can also be a measure for throughput. It quantifies the number of reports generated within a specific timeframe.

C. Number of errors per hour - This option is not a measure for throughput. It quantifies the number of errors or failures that occur within a specific timeframe, but it does not directly measure the rate at which work is being processed.

D. Number of requests handled by the application per day - This option can be a measure for throughput. It quantifies the number of requests that the application can handle within a specific timeframe.

E. Number of hits per second - This option can also be a measure for throughput. It quantifies the rate at which a system or application is being accessed or hit by users.

Based on the above analysis, the correct answer is option C. The number of errors per hour is not a measure for throughput as it does not directly measure the rate at which work is being processed.