nerdexam
Salesforce

PDII · Question #73

Which statement is true about using ConnectApi namespace (also called Chatter in Apex)? (Choose two.)

The correct answer is C. Chatter in Apex methods do not run in system mode; they run in the context of the current user D. Many test methods related to Chatter in Apex require the IsTest (SeeAllData=true) annotation. See the full explanation below for the reasoning.

Question

Which statement is true about using ConnectApi namespace (also called Chatter in Apex)? (Choose two.)

Options

  • AChatter in Apex methods honor the 'with sharing' and 'without sharing' keywords
  • BChatter in Apex operations are synchronous, and they occur immediately
  • CChatter in Apex methods do not run in system mode; they run in the context of the current user
  • DMany test methods related to Chatter in Apex require the IsTest (SeeAllData=true) annotation

How the community answered

(38 responses)
  • A
    5% (2)
  • B
    13% (5)
  • C
    82% (31)

Community Discussion

No community discussion yet for this question.

Full PDII Practice