Free Salesforce CRT-600 Exam Questions

Become Salesforce Certified with updated CRT-600 exam questions and correct answers

Page:    1 / 44      
Total 217 Questions | Updated On: Jul 28, 2025
Add To Cart
Question 1

A test has a dependency on database. query. During the test, the dependency is replaced with an object called database with the method,
Calculator query, that returns an array. The developer does not need to verify how many times the method has been called.
Which two test approaches describe the requirement?
Choose 2 answers


Answer: A,D
Question 2

Refer to the code below:
Const resolveAfterMilliseconds = (ms) => Promise.resolve (
setTimeout (( => console.log(ms), ms ));
Const aPromise = await resolveAfterMilliseconds(500);
Const bPromise = await resolveAfterMilliseconds(500);
Await aPromise, wait bPromise;
What is the result of running line 05?


Answer: B
Question 3

Refer to the code below:
Let car1 = new Promise((_ , reject) =>
setTimeout(reject, 2000, ''car 1 crashed in'' =>
Let car2 =new Promise(resolve => setTimeout(resolve, 1500, ''car 2 completed'')
Let car3 =new Promise(resolve => setTimeout(resolve, 3000, ''car 3 completed'')
Promise.race(( car1, car2, car3))
.then (value => (
Let result = '$(value) the race.';)}
.catch(arr => {
console.log(''Race is cancelled.'', err);
});
What is the value of result when Promise.race executes?


Answer: B
Question 4

A developer is debugging a web server that uses Node.js The server hits a runtimeerror
every third request to an important endpoint on the web server.
The developer added a break point to the start script, that is at index.js at he root of the
server's source code. The developer wants to make use of chrome DevTools to debug.
Which command can be run to access DevTools and make sure the breakdown is hit ?


Answer: D
Question 5

developer creates a new web server that uses Node.js. It imports a server library that
uses events and callbacks for handling server functionality.
The server library is imported with require and is made available to the code by a
variable named server. The developer wants to log any issues that the server has while booting
up.
Given the code and the information the developer has, which code logs an error at boost
with an event?


Answer: C
Page:    1 / 44      
Total 217 Questions | Updated On: Jul 28, 2025
Add To Cart

© Copyrights DumpsCertify 2025. All Rights Reserved

We use cookies to ensure your best experience. So we hope you are happy to receive all cookies on the DumpsCertify.