You need to sign in to do that
Don't have an account?
Radha H J
Platform Developer 1
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.
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.
Please find the below mentioned responses as per my understanding:
1. B(Since we have to specify standardController = "Opportunity" in <apex:page> tag)
2. C
3. A and B
4. C
5. A and C
6. B(I am confused about the option. If this refers with making the lookup field required by page layout, then it is correct.)
See help: https://help.salesforce.com/articleView?id=overview_of_custom_object_relationships.htm&type=0
If the lookup field is optional, you can specify one of three behaviors to occur if the lookup record is deleted:
Ans 2) C. Queries select the fewest fields and records possible to avoid exceeding governor limits.
Ans 3) A. By using a PageReference with a partial or full URL.
B. By using the Page object and a Visualforce page name.
Ans 4) C. Add test methods to existing test classes from previous deployments.
Ans 5) A. To create components for dashboards and layouts.
C. To generate a PDF document with application data.
Ans 6) A. The Lookup Relationship on the Custom Object can prevent the deletion of the Standard Object.
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_controller_customize_override.htm
"When overriding buttons with a Visualforce page, you must use the standard controller for the object on which the button appears. For example, if you want to use a page to override the Edit button on accounts, the page markup must include the standardController="Account" attribute on the <apex:page> tag"
Just took/passed my Dev 1 test this week. Salesforce often has many ways of accomplishing the same thing and often has more than one "technically correct answer" in thier test questions. Overthinking will get you in trouble every time. Only look at the keywords and keep in mind best practices. Hitting the trailhead can also be a big help.
Salesforce Admin, Advanced Admin, Dev 401, App Builder and Dev 1 certified. 5+ years working with Salesforce
I cleared my Platform Developer I today.I have SU18 dumps reach out at ravikumarhope430@gmail.com
Regards,
Ravi
deleted.
Practical example : Create an Account record in Trailhead. Create a Contact record under said Account. Now try deleting said Account record and this will also delete the referenced Contact record (Account and Contact are related via the Lookup Relationship AccountId).
Regards,
Parikhit Sarkar
The answer to #6 is not option C but option A.
In your example, you are using Account and Contact which are both Standard objects. The question mentions a CUSTOM object with a lookup relationship to a Standard object.