Salesforce Certified Platform Developer II — Question 110

Universal Containers uses Big Objects to store almost a billion customer transactions called Customer_Transaction__b.
These are the fields on Customer_Transaction__b:

Account__c -

Program__c -

Points_Earned__c -

Location__c -

Transaction_Date__c -
The following fields have been identified as Index Fields for the Customer_Transaction__b object: Account__c, Program__c, and Transaction_Date__c.
Which SOQL query is valid on the Customer_Transaction__b Big Object?

Answer options

Correct answer: A

Explanation

Option A is the correct answer because it properly uses indexed fields in the WHERE clause with an exact match for Program__c. Option B is incorrect as it uses the LIKE operator, which is not valid with indexed fields in this context. Option C is invalid because INCLUDES is not applicable for the Program__c field, and Option D is also incorrect as EXCLUDES is not a valid operator for the indexed fields.