Which two relationship queries use the proper syntax? Choose 2 answers
Which two relationship queries use the proper syntax? Choose 2 answersA . SELECT Name, (SELECT LastName FROM Contacts__r) FROM AccountB . SELECT Name, (SELECT LastName FROM Contacts) FROM AccountC . SELECT Id, Name, Account __r.Name FROM Contact WHERE Account r.Industry = 'Media'D . SELECT Id, Name, Account.Name FROM Contact WHERE...
Which two queries are optimized for large data volumes?
Consider the following queries. For these queries, assume that there are more than 200,000 Account records. These records include soft-deleted records; that is, deleted records that are still in the Recycle Bin. Note that there are two fields that are marked as External Id on the Account. These fields are...
Which step should be taken to resolve the issue?
A developer receives the exception 'SOQL query not selective enough' when performing a query on an object with a large amount of data . Which step should be taken to resolve the issue?A . Use an ID in the WHERE clause of the SOQL query.B . Perform the SOQL query...
Given the following code, what value will be output in the logs by line #8?
Given the following code, what value will be output in the logs by line #8? 1 Contact con = new Contact ( LastName =fSmith', Department = fAdminT) 2 insert con; 3 Contact insertedContact=[select Name from Contact where id=icon.Id]; 4 Savepoint sp_admin = Database.setSavepoint(); 5 con.Department = fHRf; 6 update con;...
What is the transaction limit on the number of Apex jobs added to the queue?
What is the transaction limit on the number of Apex jobs added to the queue?A . 100B . 150C . 50D . 200E . There is no limitView AnswerAnswer: C
What is the most effective approach to ensure values displayed respect the user’s locale settings?
In an organization that has multi-currency enabled, a developer is tasked with building a Lighting Component that displays the top ten Opportunities most recently access by the logged in user. The developer must ensure the Amount and LastModifiedDate field values are displayed according to the user's locale. What is the...
What is the transaction limit for SOQL queries?
What is the transaction limit for SOQL queries?A . 20 (synchronous), 200 (async)B . 150 (synchronous), 20 (async)C . 150 (synchronous), 200 (async)D . 100 (synchronous), 200 (async)E . 200 (synchronous), 100 (async)View AnswerAnswer: D
single transaction?
Within the System.Limit class, what would you call to get the total limit you can call in a single transaction?A . get[typeOfLimit] ―> (Ex. getDMLStatements())B . getLimit [typeOfLirr.it] ―> (Ex. getLin~.it DC . LSt aterr.ents () )View AnswerAnswer: B
How should a developer verify that a specific Account record is being tested in a test class for a visualforce controller?
How should a developer verify that a specific Account record is being tested in a test class for a visualforce controller?A . Insert the Account in the test class, instantiate the page reference in the test class, then use System.currentPageReference().getParameters{}.put() to set the Account IC . Instantiate the page reference...
What is a recommended way for the error message be displayed to the end user?
A developer needs to create a Lightning page for entering Order Information. An error message should be displayed if the zip code entered as part of the Order's shipping address is not numeric. What is a recommended way for the error message be displayed to the end user?A . Use...