Salesforce-Platform-Development-Lifecycle-and-Deployment-Architect Practice Test

Salesforce Spring 25 Release
226 Questions

Universal Containers (UC) has created a custom REST web service. This web service receives Orders and Order Line Items data from an external endpoint and runs business logic and validations on it before inserting it into the database. UC is expecting to receive more than 100K orders a day and each order can have up to10-lineitems. Each inbound request will contain only one order and its corresponding line items. What two testing types should an architect recommend to ensure users don't face platform slowdowns during peak business hours? Choose 2 answers

A. Stress Testing

B. Unit Testing

C. Load Testing

D. Performance Testing

A.   Stress Testing
D.   Performance Testing

Explanation:
Two testing types that an architect should recommend to ensure users don’t face platform slowdowns during peak business hours are: stress testing and performance testing. Stress testing is the process of testing the system under extreme load conditions, such as a large number of concurrent requests, to determine its breaking point and identify any potential bottlenecks or failures. Performance testing is the process of testing the system under normal or expected load conditions, such as the average number of requests per day, to measure its response time, throughput, and resource utilization. These testing types can help ensure that the web service can handle the expected volume and frequency of requests, and that it meets the performance and reliability requirements. Unit testing is not a testing type that an architect should recommend for this scenario, as it is the process of testing individual units of code, such as methods or classes, to verify their functionality and logic. Load testing is also not a testing type that an architect should recommend for this scenario, as it is the process of testing the system under a specific load condition, such as a fixed number of requests, to evaluate its behavior and performance. See Testing RESTful Web Services for more details.

Salesforce-Platform-Development-Lifecycle-and-Deployment-Architect Practice-Test - Home Previous
Page 15 out of 226 Pages