• Subhasis Sanyal
  • NEWBIE
  • 27 Points
  • Member since 2014
  • Chief Consultant/Salesforce Leader
  • EY Global Delivery Services (Consulting)


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 5
    Replies
I have configured a Salesforce Org with external user-authentication provider (like Facebook) using SSO. When the User tries to login, Salesforce automatically reach out to the SSO IDP Provider and grant login accordingly. Now, I have a signature-page (Custom VF) in my Salesforce application where user has to mandatorily provide his login and password when the form is submitted. In the back-end Apex Controller Class, I want to validate this login and password with SSO IDP Provider. Is there any Salesforce Handler Class whom I can call for this and let that Salesforce handler contact the SSO IDP Provider in the same way it is doing during user Login? Or else I need to do a manual REST API Callout to the external SSO IDP Provider and there is no way Salesforce default authentication service help me here?    
 
Hi ,
Please help me answering below questions.
1. What must the Controller for a Visualforce page utilize to override the Standard
Opportunity view button?
A. The StandardSetController to support related lists for pagination.
B. the Opportunity StandardController for pre -built functionality.
C. A callback constructor to reference the StandardController.
D.A constructor that intrializes a private Opportunity variable.
Confused between Answer B and C

2.what is a correct pattern to follow when programming in Apex on a Multi -tenant
platform?
A. Apex code is created in a separate environment from schema to reduce deployment
errors.
B.DML is performed on one record at a time to avoid possible data concurrency issues.
C. Queries select the fewest fields and records possible to avoid exceeding
governor limits.
D. Apex classes use the ''with sharing" keyword to prevent access from other server
tenants.
I think Answer is C

3.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.
I think Answer A,B

4.What can the developer do to successfully deploy the new Visualforce page and
extension?
A. Create test classes to exercise the Visualforce page markup.
B. Select "Disable Parallel Apex Testing" to run all the tests.
C. Add test methods to existing test classes from previous deployments.
D. Select "Fast Deployment'' to bypass running all the tests.
Answer D

5. 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.
Answer A, C

6. 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.
B. The Lookup Relationship cat:That be marked as required on the page layout for the
Custom Object.
C. The Custom Object will be deleted when the referenced Standard Object is
deleted.
D. The Custom Object inherits security from the referenced Standard Objects
Answer C

Please clarify these questions.

I recall something along time ago were you could stop the deleting of a record if it has children (in a master or lookup relationship).

 

The method used validation rules instead of a trigger. 

 

Anyone know how to do this?

 

Thanks

  • October 01, 2013
  • Like
  • 0

Can some one clarify the answers for the following questions as different dumps have different answers for these questions.

 

What will cause the analytic snapshots run to fail? Please select 3 choices.

a)      The source report has been deleted.
b)     The target object has a trigger on it.
c)      The running user has been inactivated.
d)     The target object is a custom object.
e)      The source report is saved as Matrix report
 
2) An organization wants to leverage a custom objects to track bugs. The organization wants the ability to related bugs to parent bugs in a parent-child relationship. What type of relationship should be used? Select the Right Answer 
 1.    master-detail
2.     self
3.     hierarchical
4.     many-to-many
 
 
3) In a master-child relationship between a standard object and custom object. Which of the following statements is NOT true. Please select two (2) items. 
 
1.    Standard object is always the master
2.     Custom Object is always the master
3.     Custom object is always a child
5.     Standard or custom object can be a master
6.    Standard object is never a child
 
A manager in an organization wants to share specific fields of data to his subordinates that only he has access to. What is the best way to share specific fields of data? Please select 2 choices. 
 
a.       Run As on dashboards
b.      Folder Permission on a Report
c.       Run As on scheduled reports
d.      Folder Permission on a Dashboard
 
Manager is above the role hierarchy and wants to share some of the account records with his team mates/sub-ordinates. What do you do to achieve this functionality? Select 2 choices:
 
a)      Update dashboard folder.
b)     Update dashboard running user.
c)      Update report folder.
d)     Update report running user.
 
How a developer does enables user to access tags in the sidebar. Select 3 chocies:
 
1.    Adding tags to the sidebar in home page layout
2.    By enabling tags for public groups.
3.    Enabling Tags on user profile.
4.    By enabling Tags on page-layout and object.
5.    Enabling Tags for org
 
There are two M-D relationship has to be created on object X . The first m-d relation is created is the primary relationship. What is the effect of the primary relationship on X.
 
1.    Custom Report Type are limited to two primary relationship
2.    The primary set cannot b deleted
3.    there will be no effect on X
4.    X will inherit the look n feel of the primary master object. 
 
A job application object has a child review object to store candidate review. The review needs to be tracked between a score of 1 to 5. The score has to be a choice between 1 and 5 displayed as a radio button. How will a developer cater to this requirement? Choose the Right answer 
 
1.    Create 5 fields for scores (1 to 5) of type radio-button and use it in review page layout.
2.    Create a dependent pick list that feeds the radio button type field.
3.    Create a formula field
4.    Create visual force page with radio buttons for review object
 
What is true about a master-detail relationship? Please select 2 choices. 
 
1.    When the parent record has been deleted, all the child records will be deleted.
2.    You can have a child record without the parent record.
3.    You have to expose the master lookup field on the child detail page layout.
4.    You cannot delete a child record.
 
What are the components of the dashboard that use grand totals? please choose two (2) items?
a)      Chart
b)      Metric
c)      Table
d)     Gauge
 
What field can be controlled by translation workbench?
  1. Rule Criteria
  2. Formula
  3. Validation Errors
  4. Assignment Rules

 

Thanks,

Kalpana Reddy

 

 

 


A developer needs to support multiple currencies for a custom object in an application? Multi-currency has been enabled, what does the developer need to know to support the application?
(2 answers)

  

 

A.

Must input currency ISO Field

 

B.

Admin can add additional currencies once set up

 

C.

Roll up summary fields will calculate incorrectly if children have multiple currencies

 

D.

Track Currency changes automatically.

 

 

 

Hi please anyone answer this question , am preparig for 401 exam.

 

 

 

Is there any way to check if a list contains a certain element?  I looked at the List functions and did not see any contain() function like Java has, so I was wondering how other people are handling this.
 
Thanks