Free Salesforce CRT-600 Exam Actual Questions

The questions for CRT-600 were last updated On Jan 13, 2025

Question No. 1

A developer has a formatName function that takes two arguments, firstName and lastName and returns a string. They want to schedule the

function to run once after five seconds.

What is the correct syntax to schedule this function?

Show Answer Hide Answer
Correct Answer: D

Question No. 2

A developer creates a class that represents a blog post based on the requirement that a

Post should have a body author and view count.

The Code shown Below:

Class Post {

// Insert code here

This.body =body

This.author = author;

this.viewCount = viewCount;

}

}

Which statement should be inserted in the placeholder on line 02 to allow for a variable to be set

to a new instanceof a Post with the three attributes correctly populated?

Show Answer Hide Answer
Correct Answer: C

Question No. 3

Given the code below:

const delay = sync delay => {

Return new Promise((resolve, reject) => {

setTimeout (resolve, delay);});};

const callDelay =async () =>{

const yup =await delay(1000);

console.log(1);

What is logged to the console?

Show Answer Hide Answer
Correct Answer: D

Question No. 4

Refer to the following code:

Let sampleText = 'The quick brown fox jumps';

A developer needs to determine if a certain substring is part of a string.

Which three expressions return true for the given substring ?

Choose 3 answers

Show Answer Hide Answer
Correct Answer: B, D, E

Question No. 5

After user acceptance testing, the developer is asked to change the webpage background based on user's location. This change was implemented and deployed for testing.

The tester reports that the background is not changing, however it works as required when viewing on the developer's computer.

Which two actions will help determine accurate results?

Choose 2 answers

Show Answer Hide Answer
Correct Answer: A, D