• Sahasra N
  • NEWBIE
  • 5 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 4
    Replies
Please help me finding correct answers for the below questions. Explanation for the answers would be more helpful.

1) A developer creates an Apex helper class to handle complex trigger logic. How can the helper class warn users when the trigger exceeds DML governor limits?
 A) By using ApexMessage.Message() to display an error message after the number of DML statements is exceeded.
 B) By using Messaging.SendEmail() to conthtinue the transaction and send an alert to the user after the number DML statements is exceeded.
 C) By using PageReference.setRedirect() to redirect the user to a custom Visualforce page before the number DML statements is exceeded.
 D) By using Limits.getDMLRows() and then displaying an error message before the number of DML statements exceeded.
 
2) Where can debug log filter settings be set Choose 2 answers?
 A) The Filters link by the monitored user's name within the web UI.
 B) The Show more link on the debug log's record.
 C) On the monitored user's name.
 D) The Log Filters tab on a class or trigger detail page.
 
3) When can a developer use a custom Visualforce page in a Force.com application? Choose 2 answers
 A) To create components for dashboards and layouts.
 B) To deploy components between two organizations.
 C) To generate a PDF document with application data.
 D) To modify the page layout settings for a custom object.
 
4) What is an important consideration when developing in a multi-tenant environment?
 A) Polyglot persistence provides support for a global, multilingual user base in multiple orgs on multiple instances.
 B) Governor limits prevent tenants from impacting performance in multiple orgs on the same instance.
 C) Unique domain names take tile place of namespaces for code developed for multiple orgs on multiple instances.
 D) 
Org-wide data security determines whether other tenants can see data in multiple orgs on the same instance

 
Please help me with the correct answer.

A developer creates an Apex helper class to handle complex trigger logic. How can the helper class warn users when the trigger exceeds DML governor limits?
A. By using ApexMessage.Message() to display an error message after the number of DML statements is exceeded.
B. By using Messaging.SendEmail() to conthtinue the transaction and send an alert to the user after the number DML statements is exceeded.
C. By using PageReference.setRedirect() to redirect the user to a custom Visualforce page before the number DML statements is exceeded.
D. By using Limits.getDMLRows() and then displaying an error message before the number of DML statements exceeded.
Please help me finding correct answers for the below questions. Explanation for the answers would be more helpful.

1) A developer creates an Apex helper class to handle complex trigger logic. How can the helper class warn users when the trigger exceeds DML governor limits?
 A) By using ApexMessage.Message() to display an error message after the number of DML statements is exceeded.
 B) By using Messaging.SendEmail() to conthtinue the transaction and send an alert to the user after the number DML statements is exceeded.
 C) By using PageReference.setRedirect() to redirect the user to a custom Visualforce page before the number DML statements is exceeded.
 D) By using Limits.getDMLRows() and then displaying an error message before the number of DML statements exceeded.
 
2) Where can debug log filter settings be set Choose 2 answers?
 A) The Filters link by the monitored user's name within the web UI.
 B) The Show more link on the debug log's record.
 C) On the monitored user's name.
 D) The Log Filters tab on a class or trigger detail page.
 
3) When can a developer use a custom Visualforce page in a Force.com application? Choose 2 answers
 A) To create components for dashboards and layouts.
 B) To deploy components between two organizations.
 C) To generate a PDF document with application data.
 D) To modify the page layout settings for a custom object.
 
4) What is an important consideration when developing in a multi-tenant environment?
 A) Polyglot persistence provides support for a global, multilingual user base in multiple orgs on multiple instances.
 B) Governor limits prevent tenants from impacting performance in multiple orgs on the same instance.
 C) Unique domain names take tile place of namespaces for code developed for multiple orgs on multiple instances.
 D) 
Org-wide data security determines whether other tenants can see data in multiple orgs on the same instance

 
Please help me finding correct answers for the below questions. Explanation for the answers would be more helpful.

1) A developer creates an Apex helper class to handle complex trigger logic. How can the helper class warn users when the trigger exceeds DML governor limits?
 A) By using ApexMessage.Message() to display an error message after the number of DML statements is exceeded.
 B) By using Messaging.SendEmail() to conthtinue the transaction and send an alert to the user after the number DML statements is exceeded.
 C) By using PageReference.setRedirect() to redirect the user to a custom Visualforce page before the number DML statements is exceeded.
 D) By using Limits.getDMLRows() and then displaying an error message before the number of DML statements exceeded.
 
2) Where can debug log filter settings be set Choose 2 answers?
 A) The Filters link by the monitored user's name within the web UI.
 B) The Show more link on the debug log's record.
 C) On the monitored user's name.
 D) The Log Filters tab on a class or trigger detail page.
 
3) When can a developer use a custom Visualforce page in a Force.com application? Choose 2 answers
 A) To create components for dashboards and layouts.
 B) To deploy components between two organizations.
 C) To generate a PDF document with application data.
 D) To modify the page layout settings for a custom object.
 
4) What is an important consideration when developing in a multi-tenant environment?
 A) Polyglot persistence provides support for a global, multilingual user base in multiple orgs on multiple instances.
 B) Governor limits prevent tenants from impacting performance in multiple orgs on the same instance.
 C) Unique domain names take tile place of namespaces for code developed for multiple orgs on multiple instances.
 D) 
Org-wide data security determines whether other tenants can see data in multiple orgs on the same instance

 
1) Which requirement needs to be implemented by using standard workflow instead of Process Builder?
   Choose 2 answers
A.   Create activities at multiple intervals.
B.   Send an outbound message without Apex code.
C.   Copy an account address to its contacts.
D.   Submit a contract for approval.

2)  How can a developer refer to, or instantiate, a PageReference in Apex?
      Choose 2 answers
   A. By using a PageReference with a partial or full URL.
   B. By using the Page object and a Visualforce page name.
   C. By using the ApexPages.Page() method with  a  Visualforce page  name.
   D. By using the PageReference.Page() method with  a  partial  or  full URL.


3)  A developer has a single custom controller class that works with a Visualforce Wizard to support creating and editing multiple sObjects. 
  The wizard accepts data from user inputs across multiple Visualforce pages and from a parameter on the initial URL
   Which statement is unnecessary inside the unit test for the custom controller?

A. public ExtendedController(ApexPages.StandardController cntrl) { )
B. ApexPages.currentPage().getParameters() put(input', 'TestValue).
C.  Test.setCurrentPage(pageRef),
D.  String nextPage = controller.save().getUrl();


4)  Which statement about the Lookup Relationship between a Custom Object and a Standard Object is correct?

A.  The Lookup Relationship on the Custom Object can prevent the deletion of the Standard Object.
C.   The Custom Object will be deleted when the referenced Standard Object is delete