Tag: architecture

Questions Related to architecture

  1. Insufficient memory

  2. Hardware issue

  3. Leak

  4. Improper configuration


Correct Option: C
  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.

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

A load testing tool consumes 2MB per virtual user. In a benchmark with 1000 virtual users how many machines would you require. Assume 50MB for OS and other utilities (per machine).

  1. 10 machines of 256 MB

  2. 5 machines of 256 MB

  3. 10 machines of 128 MB

  4. 15 machines of 128 MB


Correct Option: A

AI Explanation

To determine the number of machines required, we need to consider the memory consumed by the virtual users and the additional memory required for the operating system and other utilities.

Given: Memory consumed per virtual user = 2MB Number of virtual users = 1000 Additional memory per machine = 50MB

Total memory required for virtual users = Memory consumed per user * Number of users = 2MB * 1000 = 2000MB

Total memory required for the operating system and utilities per machine = 50MB

Total memory required per machine = Total memory required for virtual users + Total memory required for operating system and utilities = 2000MB + 50MB = 2050MB

Now, let's check the options:

A) 10 machines of 256MB Total memory available = 10 * 256MB = 2560MB Total memory required = 10 * 2050MB = 20500MB Since the total memory required is greater than the total memory available, this option is not sufficient.

B) 5 machines of 256MB Total memory available = 5 * 256MB = 1280MB Total memory required = 5 * 2050MB = 10250MB Since the total memory required is greater than the total memory available, this option is not sufficient.

C) 10 machines of 128MB Total memory available = 10 * 128MB = 1280MB Total memory required = 10 * 2050MB = 20500MB Since the total memory required is greater than the total memory available, this option is not sufficient.

D) 15 machines of 128MB Total memory available = 15 * 128MB = 1920MB Total memory required = 15 * 2050MB = 30750MB Since the total memory required is greater than the total memory available, this option is not sufficient.

Therefore, the correct answer is option A) 10 machines of 256MB.

  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