oracle.certkiller.1z0-419.v2018-11-27.by.george · identify three statements that are true about...

38
https://www.gratisexam.com/ 1z0-419.exam.53q Number : 1z0-419 Passing Score : 800 Time Limit : 120 min https://www.gratisexam.com/ 1z0-419 Oracle Application Development Framework 12c Essentials

Upload: others

Post on 29-May-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

1z0-419.exam.53q

Number: 1z0-419Passing Score: 800Time Limit: 120 min

https://www.gratisexam.com/

1z0-419

Oracle Application Development Framework 12c Essentials

Page 2: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

Exam A

QUESTION 1Which three statements are true about the default value for an entity object attribute? (Choose three.)

A. It can be a literal value.

https://www.gratisexam.com/

B. It can be defined by a Groovy expression.

C. It can be defined by a SQL select statement.

D. It can be defined by an Expression Language (EL) statement.

E. It can be defined by referencing a database stored procedure.

Correct Answer: ABDSection: (none)Explanation

Explanation/Reference:A: The Value field (in the Edit Attribute dialog) allows you to specify a static default value for the attribute when the Value Type is set to Literal. For example, you canset the default value of the ServiceRequest entity object's Status attribute to Open, or set the default value of the User entity object's UserRole attribute to user.

B: You can use a Groovy expression to define a default value for an attribute. This approach is useful if you want to be able to change default values at runtime.

D: Groovy scripting logic is similar to Expression Language (EL)

References: http://docs.oracle.com/cd/E15586_01/web.1111/b31974/bcentities.htm#BABFBJAI

QUESTION 2A backing bean for a page must hold its value over multiple requests for the current user. Which three bean scopes are applicable? (Choose three.)

A. requestScope

B. backingBeanScope

C. viewScope

Page 3: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

D. pageFlowScope

E. sessionScope

F. applicationScope

Correct Answer: CDESection: (none)Explanation

Explanation/Reference:C: View scope: The object is available until the view ID for the current view activity changes. This becomes handy when you use partial page rendering. If you havea dependent list box, you might send a server request to refresh the list box. When a response is returned, the request scope will be gone but the view scope will bestill there.

D: A pageFlow scope exists for each task flow instance and has a lifespan between request and session scope. The lifetime of the scope spans across all pages ina bounded task flow.

E: Session scope: The object is available for the duration of the session, which is user instance-specific. A use case for a session scope bean is a user info beanthat stores information about a user, which is read from the database or an LDAP server, to avoid unnecessary queries.

Incorrect Answers:A: Request scope: The object is available from the time an HTTP request is made until a response is sent back to the client. From another perspective, a requestscope starts with a request to be issued from one view to another for navigation cases that don't perform a redirect but a default server-side forward. The scopespans across all non-view activities that follow the view of interest to the next view activity.

B: The backing bean scope is comparable to the request scope, with the difference in that it exists for a specific client component. In general, all managed beansused in reusable components should be configured to backingBean scope. For example, bounded task flows that are designed to be regions on a page should usethe backingBean scope if more than one instance of the task flow is expected to be on a single page.

F: Application scope: An application scope object is available for the duration of the application and is shared among users. This scope may be used to hold staticobjects that are the same for all users.

References: http://xmlandmore.blogspot.se/2009/10/types-of-scopes-in-fusion-web.html

QUESTION 3Identify three statements that are true about JSF. (Choose three.)

A. Components are used to define page structure.

B. Navigation between pages is defined outside of the JSF page in the metadata.

C. Managed beans can have only one of two memory scopes.

D. Managed beans can be accessed from more than one page.

Page 4: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

E. JSF does not support template creation for pages.

Correct Answer: ABDSection: (none)Explanation

Explanation/Reference:Incorrect:Not C: Managed beans can have the following scopes: Application, session, PageFlow, view, request, BackingBean.

Not E: JavaServer Faces (JSF) technology provides the tools to implement user interfaces that are easy to extend and reuse. Templating is a useful Faceletsfeature that allows you to create a page that will act as the base, or template, for the other pages in an application. By using templates, you can reuse code andavoid recreating similarly constructed pages. Templating also helps in maintaining a standard look and feel in an application with a large number of pages.

References: http://docs.oracle.com/javaee/6/tutorial/doc/giqxp.html

QUESTION 4Consider the following code:

At run time, a user modifies the value in the af:inputText control, then presses af:commandButton.

Assuming no errors are raised, which option represents the managed bean code invoked in the correct order? (Choose the best answer.)

A. myBean.handleChange, myBean.doAction, myBean.qetDestination

B. myBean.doAction, myBean.handleChange, myBean.getDestination

C. myBean.handleChange, myBean.doAction

D. myBean.doAction, myBean.handleChange

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 5

Page 5: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

Which three options does an entity object automatically implement? (Choose three.)

A. primary key functionality based on any column in the database that is marked as a primary key

B. not-null functionality based on any column in the database that is marked as not null

C. attribute precision based on column size

D. all table check constraints

E. any table triggers

Correct Answer: ABCSection: (none)Explanation

Explanation/Reference:When you create an entity object from an existing table, first JDeveloper interrogates the data dictionary to infer the following information:

The primary and unique key attributesThe mandatory flag on attributes, based on NOT NULL constraintsThe length and precision of each attributeThe Java-friendly entity attribute names from the names of the table's columns (for example, USER_ID -> UserId)The SQL and Java data types of each attribute based on those of the underlying columnThe relationships between the new entity object and other entities based on foreign key constraints

References: http://docs.oracle.com/cd/E48682_01/web.1111/b31974/bcentities.htm

QUESTION 6You create a new ADF Faces page called emp.jsрх and bind some data controls to that page. You notice a file called empPageDef.xml. What is this file for?(Choose the best answer.)

A. It is the page definition that contains the XML representation of the page layout and the components on that page.

B. It is a template file into which you can write any managed bean code.

C. It is the page template definition file that represents the chosen quick start layout.

D. It is the file that contains the definition of the bindings to your data-bound components.

E. It defines the binding context for all pages in your application.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:The pageNamePageDef.xml files are created each time you insert a databound component into a web page using the Data Controls Palette or Structure window.

Page 6: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

These XML files define the Oracle ADF binding container for each web page in the application. The binding container provides access to the bindings within thepage. You will have one XML file for each databound web page.

References: http://docs.oracle.com/cd/E15586_01/web.1111/b31974/appendixa.htm#CDJCBIGB

QUESTION 7Which three steps would you perform to enable security for an ADF application? (Choose three.)

A. Define authentication and authorization by using the configure ADF Security wizard.

B. Define which HTML pages must be secured.

C. Grant roles access rights to bounded task flows.

D. Grant roles access rights to unbounded task flows.

E. Deploy the application to a Java EE Security-enabled server to test the user roles.

F. Grant roles access rights to pagedefs for views in unbounded task flows.

Correct Answer: ABCSection: (none)Explanation

Explanation/Reference:A: The Configure ADF Security wizard allows you to choose to enable authentication and authorization separately.

C: ADF bounded task flow protects the entry point to the task flow, which in turn controls the user's access to the pages contained by the flow.

B: To grant public access to ADF security-aware resources:1. From the Application menu, choose Secure > Resource Grants.2. In the Resource Grants page of the jazn-data.xml file overview editor, select one of the following resources from the Resource Types dropdown list:

Task Flow when you want to make a bounded task flow public. The application displays the web pages under the permission you define for the task flow itself.Thus, all constituent web pages of the bounded task flow will become public.Web Page when you want to make individual web pages public. Typically, these pages are defined by an unbounded task flow and are top-level pages in theapplication, such as a home page.

Incorrect Answers:D, F: The unbounded task flow is not an ADF security-aware component and allows no grants.

References: https://docs.oracle.com/cd/E21764_01/web.1111/b31974/adding_security.htm#ADFFD19895

QUESTION 8Which statement is true about the difference between an Action binding and a methodAction binding? (Choose the best answer.)

Page 7: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

A. None; they are used interchangeably.

B. An Action binding is a binding to a method defined in the business service exposed through a data control, whereas a methodAction binding is used to bindonly to a method in a backing bean.

C. Both are bindings to methods defined in a business service, but an Action binding is used to bind to a UI component whereas a methodAction binding isonly called programmatically from a backing bean.

D. Both are bindings to methods defined in a business service, but a methodAction binding is used to bind to a UI control whereas an Action binding is onlycalled programmatically from a backing bean.

E. Action bindings are used to bind to built-in operations such as Create, Delete and Next, whereas a methodAction binding is used to bind to custom methodsin the data control.

Correct Answer: ESection: (none)Explanation

Explanation/Reference:Action binding object can be used to bind command components, such as buttons or links, to built-in data control operations (such as Commit or Rollback) or tobuilt-in collection-level operations (such as Create, Delete, Next, Previous, or ExecuteWithParams).Method bindings are similar to action bindings. But, they are used to bind to methods defined in an ADF BC application, view object, or view row client interfaces.

References: http://xmlandmore.blogspot.se/2010/05/action-bindings-and-method-bindings-in.html

QUESTION 9You are prototyping an ADF application that uses ADF Business Components. However, the database schema that you can connect to does not contain any tablesor data to show in the prototype.

Which two declarative options are available to you to provide hard-coded data for the purposes of your prototype? (Choose two.)

A. entity objects with default values

B. placeholder data control

C. static list view objects

D. declarative managed beans

Correct Answer: BCSection: (none)Explanation

Explanation/Reference:B: Placeholder data controls are easy-to-create, yet fully functional, stand-in data controls that can efficiently speed up the design-development process. UIdesigners can use placeholder data controls to create page layouts and page flows without the need to have real data controls available.

Page 8: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

C: The key advantage of the Static List View Object is it's suitable for small datasets that never change. Static List VOs suitable for stub VOs in creating ADF FacesRC web page mockups for demonstration purposes, where the database tables have yet to be designed.

References: http://one-size-doesnt-fit-all.blogspot.se/2008/09/jdev-11g-adf-bc-new-feature-static-list.html

QUESTION 10View the Exhibit.

Which two modifications would you make in the task flow so that RegisterRouter displays the appropriate page depending on the user type and subsequentlydisplays the confirmation page? (Choose two.)

A. Define the isCustomer outcome in RegisterRouter.

B. Create a global control flow rule pointing to CustomerPage.

C. Create a control flow rule from EmployeePaqe to Confirmation.

D. Change the default activity from Register to RegisterRouter.

E. Set the isEmployee outcome to #{FALSE}.

Correct Answer: ABSection: (none)Explanation

Page 9: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

Explanation/Reference:

QUESTION 11You create a default view object based on the Employees entity, using the wizard and accepting the default settings.

Which option represents the source file(s) that are typically created for you? (Choose the best answer.)

https://www.gratisexam.com/

A. EmployeesView.xml

B. EmployeesViewImpl.java

C. EmployeesViewRowImpl.java

D. EmployeesView.sql

E. EmployeesView.xml and EmployeesViewImpl.java

Correct Answer: ASection: (none)Explanation

Explanation/Reference:What Happens When You Create an Entity-Based View Object

When you create an entity-based view object, JDeveloper creates the XML component definition file that represents the view object's declarative settings and savesit in the directory that corresponds to the name of its package. For example, if the view object was named StaffList in the devguide.model.queries package, so theXML file created will be ./devguide/model/queries/StaffList.xml under the project's source path. This XML file contains the information about the SQL query, thename of the entity usage, and the properties of each attribute. If you're curious to see its contents, you can see the XML file for the view object by selecting the viewobject in the Application Navigator and looking in the corresponding Sources folder in the Structure Window. Double-clicking on the StaffList.xml node will open theXML in an editor so you can inspect it.

References: https://docs.oracle.com/cd/B31017_01/web.1013/b25947/bcvoeo002.htm

QUESTION 12Which two statements describe the characteristics of an entity object? (Choose two.)

A. An entity object represents a cache for records retrieved from the database.

Page 10: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

B. An entity object includes an ORDER clause to allow you to order the data in it.

C. An entity object includes a WHERE clause to allow you to shape the data in it.

D. Every column in a database table must be represented as an entity object attribute.

E. An entity object definition is described in XML.

Correct Answer: ADSection: (none)Explanation

Explanation/Reference:A: An entity object caches data from a database and provides an object-oriented representation of it.D: When you use a Business Components for Java wizard to create entity objects from existing tables, each database table becomes an entity object. Each columnin the database table becomes an entity object attribute, which can have the same name as the column or a different name that is more meaningful to yourbusiness application.

References: https://docs.oracle.com/cd/A97335_02/apps.102/bc4j/developing_bc_projects/bc_awhatisaneo.htm

QUESTION 13Which three options are available in the ADF Controller that are not available in the generic JSF 2.0 controller layer? (Choose three.)

A. pageflow scope: a memory scope for managed beans that is available for several pages (longer than a request scope and shorter than a session scope)

B. ability to break the page flow of an application into multiple files

C. subflows that can be included as regions inside a page

D. method calls as part of the definition of a page flow

E. defining managed beans that contain references to components on a page

Correct Answer: ACESection: (none)Explanation

Explanation/Reference:A: ADF Memory scopesThere are 6 types of memory scopes3 from standard JSF application1) Application Scope 2) Session scope 3) Request scopeIn addition to above ADF Faces provides the following4) PageFlowScope 5) BackingBeanscope 6) ViewScope

C: There is no such thing as subflows in JSF, but they do exist in ADF.

Page 11: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

E: Backing bean scope:Special case of request scopeAssociated with a specific manage bean instanceUsed with declarative components, regions and page fragments that use a managed bean to hold view state informationAllows multiple instances of the components to co-exists on a single page

Use this scope if it is possible that your task flow appears in two ADF regions on the same JSF page and you want to isolate each instance of ADF region

References: http://kotreshtm.blogspot.se/2015/04/adf-basics-memory-scope.html

QUESTION 14Which two options represent techniques that you would use together to deploy an ADF application? (Choose two.)

A. Deploy an EAR file by using Enterprise Manager.

B. Create an EAR deployment profile in JDeveloper.

C. Deploy a WAR file by using Ant or ojdeploy.

D. Create a JAR deployment profile for a shared library in JDeveloper.

E. Deploy a WAR file by using Enterprise Manager.

Correct Answer: ABSection: (none)Explanation

Explanation/Reference:A: Deploying ADF ApplicationsYou can use Oracle Enterprise Manager Fusion Middleware Control to deploy the EAR file created in JDeveloper.

B: Deploying ADF ApplicationsDuring application development using JDeveloper, developers can test the application using the Integrated WebLogic Server that is built into the JDeveloperinstallation, or they can use JDeveloper to directly deploy to a standalone application server.

Incorrect Answers:C, E: For ADF applications, WAR and MAR files can be deployed only as part of an EAR file.

References: https://docs.oracle.com/cd/E26098_01/admin.1112/e16179/deploy.htm#ADFAG20574

QUESTION 15Identify two statements that describe the benefits of using ADF to build web applications for mobile devices. (Choose two.)

A. Mobile devices are supported by using native code.

Page 12: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

B. ADF code and applications are re-used.

C. Separate applications are required for tablets and smart phones.

D. ADF Faces components adjust to support touch gestures and layouts.

E. Native mobile components are used to develop a user interface.

Correct Answer: BDSection: (none)Explanation

Explanation/Reference:B: Oracle ADF Mobile enables developers to build and extend enterprise applications for iOS and Android from a single code base.D: ADF Faces include Tablet/Touch Gesture Support.

Incorrect Answers:A: Java code, not native code, is used. Oracle ADF Mobile enables developers to build and extend enterprise applications for iOS and Android from a single codebase.

References: http://www.oracle.com/technetwork/developer-tools/adf/overview/index-092391.html

QUESTION 16View the Exhibit

Page 13: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

A user interface requires a view of data for a customer order to include information about the order, items in the order, and information about the customer whoplaced the order. The application entities and their relationships are defined as shown in the Exhibit.

Which two steps would you perform to meet this requirement? (Choose two.)

A. Create a default view object based on OrdEO, and add ItemEO and CustomerEO as reference entities to the view object.

B. Create default view objects based on OrdEO, ItemEO, and CustomerEO, and create view links based on the defined associations.

Page 14: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

C. Create a view object based on SQL and define the SQL to select from the Ord, Item and Customer database tables.

D. Add attributes from the ItemEO and CustomerEO entities as needed.

E. Create calculated attributes as needed from the Order, Item, and Customer database tables.

F. Set the ItemEO and CustomerEO attributes to updatable=NEVER.

Correct Answer: BDSection: (none)Explanation

Explanation/Reference:B: Oracle ADF view links are business components that define a relationship between two Oracle ADF view object definitions (the "source" and "destination" viewobjects) based on sets of view attributes (the "source" and "destination" attributes) from each. These can range from simple one-to-many relationships to complexmany-to-many relationships. This allows you to easily create master/detail relationships between data controls in the client.

Reference: http://download.oracle.com/otn_hosted_doc/jdeveloper/1012/bc4j/intro/bc_avl.html

QUESTION 17Consider the validation code in a Shipping entity object that is designed to ensure that the date ordered is <= the date shipped.

public boolean validateDateShippedAfterDateOrdered() {

Date DateShipped = getDateShipped();

Date DateOrdered = qetDateOrdered();

if (DateShipped != null && DateShipped.compareTo(DateOrdered) < 0) {

return false;

}

return true;

}

Which entity object validation rule should you integrate this with? (Choose the best answer.)

A. compare validator on the DateShipped attribute

B. method validator on the DateShipped attribute

C. compare validator on the DateOrdered attribute

D. range validator on the Shipping entity object

E. method validator on the Shipping entity object

Correct Answer: CSection: (none)Explanation

Page 15: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

Explanation/Reference:If the validity of one attribute is dependent on one or more other attributes, enforce this rule using entity validation, not attribute validation. Examples of when youwould want to do this include the following:

You have a Compare validator that compares one attribute to another.You have an attribute with an expression validator that examines the value in another attribute to control branching in the expression to validate the attributedifferently depending on the value in this other attribute.You make use of conditional execution, and your precondition expression involves an attribute other than the one that you are validating.

References: https://docs.oracle.com/cd/E24382_01/web.1112/e16182/bcvalidation.htm#ADFFD411

QUESTION 18View the Exhibit.

Which three options are true about the scenario in the Exhibit? (Choose three.)

A. Two separate view object instances allow you, at run time, to maintain two separate current row indicators on each instance respectively, to display separaterecords at the same time.

B. Two separate view object instances defined through the same application module create separate entity object caches, allowing users to modify records in theirown independent transactions.

C. Two separate view object instances exposed through the application module allow you to apply separate view criteria and bind variable values to show separateresult sets.

Page 16: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

D. Under the relating AppModuleDataControl in the JDeveloper Data Controls window, each view object instance appears as a separate selectable data collection.

E. ADF Faces restricts developers from using the same view object instance across pages, so developers at design time must create multiple separate view objectinstances.

Correct Answer: ACDSection: (none)Explanation

Explanation/Reference:

QUESTION 19You create a default entity object based on the Employees table, using the wizard and accepting the default settings. Which option represents the source file(s)that are typically created for you? (Choose the best answer.)

A. Employees.xml

B. Employees.xml and EmployeesImpl.java

C. Employees.xml and Employees.sql

D. EmployeesDefImp.java

E. EmployeesDefImpl.xml

Correct Answer: ASection: (none)Explanation

Explanation/Reference:JDeveloper creates the XML component definition file that represents its declarative settings and saves it in the directory that corresponds to the name of itspackage. For example, if one of the entities created above was named User in the devguide.model.entities package, so the XML file created will be ./devguide/model/entities/User.xml under the project's source path.

References: https://docs.oracle.com/cd/B31017_01/web.1013/b25947/bcentities002.htm

QUESTION 20Which method must you override to ensure that messages are logged each time bind variable values are set in an application? (Choose the best answer.)

A. bindParametersForCollection() method in any ViewObjectImpl that uses bind variables

B. setBindVariables() method in any ViewObjectImpl that uses bind variables

C. bindParametersForCollection() method in the super-class of ViewObjectImpl

D. bindParametersForCollection() method in the super-class of ApplicationModuleImpl

Page 17: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

Correct Answer: CSection: (none)Explanation

Explanation/Reference:References: http://www.awasthiashish.com/2015/01/setting-view-object-bind-variable.html

QUESTION 21When you manually create a binding such as an attribute value binding, what name would you give to the binding? (Choose the best answer.)

A. a name that reflects the UI component to which it is bound

B. the page name suffixed with the UI component name to which it is bound

C. the page name suffixed with the data control name

D. the name of the data control attribute to which the binding refers

E. an EL (Expression Language) of the form #{bindings.<datacontrolname>.value}

Correct Answer: BSection: (none)Explanation

Explanation/Reference:Note: The oracle.jbo.uicli.binding.JUCtrlValueBinding class implements the attribute value binding.

The attribute value binding permits the databound UI component to obtain the attribute value of the specified collection's data object. Depending on the type of UIcomponent, users may view and, in some cases, edit the value of the attribute.

The attribute value binding defines its own set of runtime properties.

References: http://download.oracle.com/otn_hosted_doc/jdeveloper/1012/developing_mvc_applications/adf_aclientbindingcode.html

QUESTION 22Which two statements are true about the Key Exists validator? (Choose two.)

https://www.gratisexam.com/

Page 18: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

A. It always issues a select to the database to ensure all data is up to date.

B. It first checks the cache for match and then goes to the database only if necessary.

C. It cannot validate any data changes that happened in the current transaction that have not yet been committed to the database.

D. It can validate any data changes that happened in the current transaction that have not yet been committed to the database.

E. It can be used only with attributes that are defined as primary keys in the database.

Correct Answer: BDSection: (none)Explanation

Explanation/Reference:The “Key Exists” Validator is validator that can be defined at either the entity level or the attribute level but pertains to an entity object attribute to check whether akey exists based on a primary key, foreign key or an alternate key. The “Key Exists” validator will check first the cache querying rows not committed yet to thedatabase and if the key is not found in the cache will run a check in the database.

References: http://antonis-antoniou.blogspot.se/2014/07/using-adf-bc-declarative-built-in-rules.html

QUESTION 23Which statement is true about creating a method at the application module level? (Choose the best answer.)

A. You cannot create methods at the application module level.

B. Application module methods provide an interface for the view layer to call custom business logic that may work across multiple data views.

C. Application module methods are best suited to writing validation logic for entity objects.

D. Methods in an application module allow you to manipulate UI components in the ViewController project.

E. Because ADF provides no way at run time to automatically create or delete view object records, you must create application module methods to do this.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:Application modules can contain service methods--methods that perform complex operations on data. These methods can be called from clients, requiring very littledata manipulation processing in the client itself.

Service methods are implemented in an application module's class, and exposed on tier-independent interfaces that allow clients to access the application moduleconsistently, whether it is deployed locally or as an EJB session bean. Inside the service method, you can do any of the following:

Dynamically add view object and view link instances to the data modelRemove view object and view link instances from the data modelFind view object instances and perform operations on their row sets

Page 19: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

Retrieve and manipulate transaction objects

References: http://download.oracle.com/otn_hosted_doc/jdeveloper/1012/bc4j/intro/bc_aam.html https://docs.oracle.com/cd/B14099_19/web.1012/b14362/chapter_bc4j.htm#i1024792

QUESTION 24You need to execute a managed bean function immediately when af:selectBooleanCheckhox is selected by a user. Which listener property would youimplement in af:selectBooleanCheckbox to achieve this? (Choose the best answer.)

A. valueChanqeListener

B. selectionListener

C. actionListener

D. queryListener

E. phaseListener

Correct Answer: ASection: (none)Explanation

Explanation/Reference:The value ChangeListener attribute is a method reference to a value change listener.

References: http://docs.oracle.com/cd/E12839_01/apirefs.1111/e12419/tagdoc/af_selectBooleanCheckbox.html

QUESTION 25Which two statements are true about af:tree? (Choose two.)

A. You can show only one outputText per node in af:tree.

B. To modify the data fields shown in a node of a tree created with ADF binding, you need to edit the tree bindings.

C. You can specify a filter for a tree’s node based on an attribute value at design time.

D. Trees can display, at the most, a three-level-deep hierarchy.

Correct Answer: ACSection: (none)Explanation

Explanation/Reference:References: http://docs.oracle.com/html/E12419_09/tagdoc/af_tree.html

Page 20: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

QUESTION 26Which statement is true about the role of data controls in ADF? (Choose the best answer.)

A. They implement business service functions.

B. They persist data from the database for display in the user interface.

C. They provide a consistent abstraction over the implementation details of a business service.

D. They are a Java API that is called directly from each UI component to populate the component with data.

E. They are the primary source of validation logic to control the behavior of your business service.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:Once you have created your business services, you create the data controls that use metadata interfaces to abstract the implementation of those services anddescribe their operations and data collections, including information about the properties, methods, and types involved.

References: https://docs.oracle.com/middleware/1212/adf/ADFDC/adfm.htm#ADFDC769

QUESTION 27Which two statements are true about attribute value bindings? (Choose two.)

A. Multiple UI components can reference the same attribute value binding.

B. An attribute value binding can be created only by dragging and dropping a data control attribute onto a page.

C. Each data control attribute can have only one attribute value binding.

D. An ADF Faces inputText and an outputText component displaying the same attribute value would typically use separate bindings.

E. Creating an attribute value binding by dragging and dropping from the Data Controls window references, by default, an attribute value in the current row in thecollection.

Correct Answer: CDSection: (none)Explanation

Explanation/Reference:

QUESTION 28Which two statements are true about an af:panelStretchLayout component? (Choose two.)

Page 21: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

A. A component placed in the center facet dynamically spaces out vertically to fill out the page height.

B. If the top facet has more content then fits vertically, it automatically adds a vertical scroll bar.

C. Facets without content in them do not show up at run time.

D. Components placed in the center facet stretch to fill the horizontal space regardless of their containing layout container.

E. You cannot include another panelStretchLayout component in the bottom facet.

F. You can specify the vertical size for the top facet in pixels.

Correct Answer: ABSection: (none)Explanation

Explanation/Reference:A: The panelStretchLayout component stretches the child in the center facet to fill all of available space. The available space may be constrained by the presence ofother children in the top/bottom/start/end facets. When these children are present, they occupy space defined by the topHeight/bottomHeight and startWidth/endWidth attributes.

Incorrect Answers:E: Examples of child components that can be stretched inside of the panelStretchLayout facets include <af:panelStretchLayout>.

References: http://docs.oracle.com/cd/E12839_01/apirefs.1111/e12419/tagdoc/af_panelStretchLayout.html

QUESTION 29Which three statements are true about using a dvt:map component on a page? (Choose three.)

A. You need to define a connection to a server that provides map images.

B. You can use an exact street address to show a point theme.

C. There is no way to display the distance between two points on a map.

D. You can modify the icon used to represent a point on a map.

Correct Answer: ABCSection: (none)Explanation

Explanation/Reference:

QUESTION 30During design time, you define two root application modules, each with a single view object. At run time, you have a single page exposing each view object as aseparate table on the same page. Three users access the page at run time simultaneously.

Page 22: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

Disregarding application module pooling, how many application module instances are instantiated to serve the three users at run time? (Choose the best answer.)

A. 0

B. 1

C. 2

D. 3

E. 6

Correct Answer: ESection: (none)Explanation

Explanation/Reference:

QUESTION 31Which two statements describe the role of Oracle Application Development Framework (ADF) in Oracle’s next-generation Fusion business applications? (Choosetwo.)

A. Oracle ADF is primarily a PL/SQL framework used for developing enterprise business applications such as Oracle's next-generation Fusion businessapplications.

B. Oracle ADF is used by Oracle to develop Oracle's next-generation Fusion business applications.

C. Oracle ADF provides a common development framework that is built on Java standards and can be deployed to Oracle Fusion Middleware.

D. Oracle АDF is used only for developing Oracle's next-generation Fusion business applications.

Correct Answer: BCSection: (none)Explanation

Explanation/Reference:The Oracle Application Development Framework (Oracle ADF) is an end-to-end application framework that builds on Java Platform, Enterprise Edition (Java EE)standards and open-source technologies. Applications you build using the Fusion web technology stack achieve a clean separation of business logic, page navigation, and user interface by adhering to amodel-view-controller architecture.

References: https://docs.oracle.com/cd/E24382_01/web.1112/e16182/intro.htm#ADFFD102

QUESTION 32

Page 23: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

Which two statements are true about developing applications for different clients? (Choose two.)

A. ADF can be used to build web applications for mobile devices that have browsers, such as tablets and smart phones.

B. ADF Business Components need to be developed uniquely depending on the type of client accessing them.

C. ADF can be used to build applications where Microsoft Excel is the UI client.

D. It is necessary to develop completely different applications for mobile browsers, desktop browsers, and other clients.

E. ADF can be used to deploy server-based web applications as native mobile device applications.

Correct Answer: ACSection: (none)Explanation

Explanation/Reference:A: Oracle Application Development Framework Mobile (ADF Mobile) browser is a standards-based framework that enables the rapid development of browser-basedenterprise mobile applications. Its mobile-specific extensions to JSF enable you to develop mobile applications using the same methodologies for developing JSFapplications for the desktop.

C: You can integrate your Excel workbook with a Fusion web application.

References: https://docs.oracle.com/middleware/1212/adf/ADFCG/mobile.htm#ADFCG223 https://docs.oracle.com/middleware/1212/adf/ADFDI/inst_conf_dev_env.htm#ADFDI581 (Oracle Fusion Middleware Developing Applications with Oracle ADFDesktop Integration)

QUESTION 33Consider a development organization divided into two teams, one developing ADF Business Components and related methods, and one developing the view andcontroller layers. What two steps would the Business Components team perform to deliver the results of their work to the other team? (Choose two.)

A. Share the root ApplicationModuleImpl file on the file system or other shared location.

B. Create an ADF Library JAR file for the model project.

C. Create a path to the ADF Library JAR file in Tools > Manage Libraries.

D. Add the ADF Library JAR to the ViewController project.

E. Share the ADF Library JAR file on the file system or other shared location.

Correct Answer: BDSection: (none)Explanation

Explanation/Reference:References: http://rohanwalia.blogspot.se/2015/02/adf-shared-library-deploy-adf-library.html

Page 24: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

QUESTION 34View the Exhibit.

How would you implement functionality to display product details in a separate window when users place their cursors over a link in the table? (Choose the bestanswer.)

A. Create detail components in an af:popup component. Add af:showPopupBehavior to the link within the table and set the PopupId to the ID of the pop-upcomponent. Set the triggerType property on the pop-up to mouseHover.

B. Create detail components in an af:dialog component. Add af:showPopupBehavior to the link within the table and set the PopupId to the ID of the dialogcomponent. Set the triqgerType property on the dialog to mouseHover.

C. Create detail components in an af:popup component. Add af:showPopupBehavior to the link within the table and set the PopupId to the ID of the pop-upcomponent. Set the triggerType property on showPopupBehavior to mouseHover.

D. Create detail components in an af:panelForm component. Add af:showPopupBehavior to the link within the table and set the PopupId to the ID of thepanelForm component. Set the triggerType property on showPopupBehavior to mouseHover.

Page 25: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

E. Create detail components in an af:dialog component. Add af:clientAttribute elements to the link within the table. Createaf:setPropertyListener components to pass the currently hovered row's attributes to client components.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:The af:showPopupBehavior tag is a declarative way to show a af:popup in response to a client-side event. The client event is specified using the triggerTypeattribute. The "action" event is the default triggerType if one is not provided. When the showPopupBehavior tag is associated with a component, the popup specifiedvia the popupId attribute will automatically be shown when the associated client event is activated. This tag only acts on client events similar to the af:clientListenertag.

This example will show the popup with the id "somePopup" when the button is clicked.

<af:commandButton id="button" text="Click me"> <af:showPopupBehavior popupid="somePopup" alignid="button" align="endBefore" triggerType="action" /></af:commandButton> References: http://docs.oracle.com/cd/E12839_01/apirefs.1111/e12419/tagdoc/af_showPopupBehavior.html

QUESTION 35Which two occur when a bounded task flow is created as a region on a page? (Choose two.)

A. The transaction property of the task flow is set to "Use Existing Transaction if Possible."

B. Any views defined as pages on the bounded task flow are changed to page fragments.

C. An af:reqion tag is added to the page.

D. The refresh property of the task flow binding is set to ifNeeded.

E. A task flow binding is added to the page definition for the page.

Correct Answer: CESection: (none)Explanation

Explanation/Reference:You can render a bounded task flow in a JSF page or page fragment (.jsff) by using an ADF region. An ADF region comprises the following:

An af:region tag that appears in the page or page fragment where you render the regionAn instance object that implements RegionModel from the following package: oracle.adf.view.rich.modelOne or other of the following:

Page 26: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

- A task flow binding (taskFlow) in the page definition that identifies the bounded task flow to use in the ADF region- A multi task flow binding (taskFlowmultiTaskFlow) in the page definition that identifies the list of bounded task flow to use in the ADF region

References: https://docs.oracle.com/cd/E48682_01/web.1111/b31974/taskflows_regions.htm

QUESTION 36You access a page in your ADF application that refers to bindings calling АDF Business Components.

Which statement is true at run time about the ADF Business Component application module? (Choose the best answer.)

A. An application module is automatically instantiated for each user session and allocated to that user for the life of their session.

B. The programmer must instantiate an application module in a JSF managed bean and carry the application module for the life of the user session.

C. One application module bean is instantiated and shared by all user sessions.

D. An application module instance is checked out of the application module pool and given to the user session for at least that request, or longer depending on thesystem load.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:The application module is the "work unit" container that includes instances of the reusable view objects required for the use case in question, related throughmetadata to the underlying entity objects in your reusable business domain layer whose information the use case is presenting or modifying.

Your application module works with a Transaction object that acquires a database connection and coordinates saving or rolling back changes made to entityobjects.

The related Session object provides runtime information about the current application user.

References: http://docs.oracle.com/cd/E12839_01/web.1111/b31974/bcservices.htm#ADFFD1492

QUESTION 37Consider a case where an application does not respond as predicted when a user submits data. Where would you set a breakpoint to debug the issue? (Choose thebest answer.)

A. the value binding for the iterator on the pagedef for the view

B. a view activity that is used to determine where to send the user

C. the partialTriggers property of the data bound component in the view

D. the Apply Request Values phase of the life cycle

Page 27: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

Correct Answer: ASection: (none)Explanation

Explanation/Reference:You can add breakpoints to page definition executables and bindings in the page definition editor by selecting a binding or executable item and using the contextmenu to toggle or disable 'before' or 'after' breakpoints on that item. After the application pauses at the breakpoint, you can view the runtime structure of the objectsas well as a list of data for a selected object in the ADF Structure and Data window.

Example: To set and use ADF page definition breakpoints:In the page definition editor, in the Outline section, right-click the binding or executable you want to set the breakpoint on. From the context menu, select ToggleBreakpoint Before or Toggle Breakpoint After or both depending on where you want to place the breakpoint. A blue triangle appears on the item indicating that thebreakpoint has been set.

¨

References: http://docs.oracle.com/cd/E50457_02/12131/OEPUG/oracle_adf_tools.htm#BEIDGGDC

Page 28: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

QUESTION 38Which statement describes the Oracle implementation of model-view-controller (MVC)? (Choose the best answer.)

A. Oracle ADF provides a "pure" implementation of MVC, with the model layer handling page navigation and encapsulating business logic.

B. ADF Controller provides support for application tasks such as validation, state management, security, and business-process orchestration.

C. ADF bindings provide a layer of abstraction on top of the business services to enable the view and controller layers to work with different implementations ofbusiness services.

D. JSF Controller is the best choice for ADF Faces-based web applications because it enables you to break up an application's page flow into re-usable flows.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:The Role of Oracle ADF for J2EE ApplicationsJDeveloper includes an integrated J2EE runtime framework known as Oracle Application Development Framework (Oracle ADF) . Oracle ADF increases thecooperation between the MVC layers both in the design time and the runtime and, importantly, eases the incorporation of complex business services into theapplication model layer.

Specifically, ADF provides these benefits to J2EE application development:* Provides a thin model layer that adapts diverse business services, thus permitting views to be created in a similar fashion, independent of their data source/ Model layer - A thin model layer that adapts and combines a full range of business services as desired, including Oracle ADF Business Components, OracleTopLink mappings, JavaBeans, Enterprise JavaBeans, and web services.* Optionally, provides transaction control support to the model layer and permits web applications to scale better* Cooperates with the highly visual design tools in the JDeveloper IDE and enables an integrated view of the entire J2EE application project

References: http://download.oracle.com/otn_hosted_doc/jdeveloper/1012/developing_mvc_applications/adf_aoverviewadfandmvc.html

QUESTION 39To deploy an application, select the application drop-down and choose Deploy. In the resulting dialog box, select Deploy to EAR file to _______or Deploy toApplication Server to ______. (Choose the best answer.)

A. create a file to deploy to using WLST or Ant scripts; deploy an application to a managed server

https://www.gratisexam.com/

Page 29: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

B. deploy an application to a predefined application server; deploy a JAR file to a predefined application server

C. create a file to deploy to a clustered server; deploy an application to a third-party application server

D. deploy to the Integrated WebLogic server; deploy to a clustered server

E. create a file to deploy to a clustered server; deploy an application using Enterprise Manager

Correct Answer: ASection: (none)Explanation

Explanation/Reference:Part 1: You can also use the deployment profile to create an archive file (EAR file). You can then deploy the archive file using Enterprise Manager, WLST, or theOracle WebLogic Server Administration Console.

You can deploy to most application servers from JDeveloper, or use tools provided by the application server vendor. You may also use Ant to package and deployapplications.

Part 2: How to Deploy the Application Using JDeveloperAfter you have created an application server connection and an EAR deployment profile, you can deploy the application to a standalone application server.

To deploy an application:1. Deploy your project to the application server:a. In the Application Navigator, right-click your application and choose Deploy > deployment profile.b. In the Deploy wizard Deployment Action page, select Deploy to Application Server and click Next.Etc.

References: http://docs.oracle.com/cd/E25178_01/fusionapps.1111/e15524/adv_wls_e.htmhttps://docs.oracle.com/cd/E15523_01/web.1111/e15470/deploy.htm#ADFAG20592

QUESTION 40Your database has a strict security requirement that whenever users select from any table in the database schema, they must append the select statement withan additional where predicate that returns only records WHERE owner = :pUserName. This restricts users to seeing only records that they own.

When you design and develop the ADF Business Components in your ADF application, there will be more than 100 view objects that select against this database.You want to build a solution that not only ensures all your developers, when writing view objects, meet the database's strict security requirement, but takes the leastamount of development effort for your entire team and is easy to maintain in the long term.

Identify the correct solution. (Choose the best answer.)

A. Define a view criteria on each view object at design time to apply the predicate to the corresponding view object, ensuring the view criteria is defined against the

Page 30: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

view object instance in the Application Module Editor.

B. Override each view object's ViewObjectImpl class methods to programmatically modify each view object's where clause at run time to add the predicate tothe select clause regardless of the query executed.

C. Create a complete set of custom ADF Business Component framework classes for your business components and then override your custom ViewObjectImpl class to programmatically modify each view object’s where clause at run time to append the predicate.

D. In each view object, simply type the predicate into the WHERE clause of the View Object Editor query page.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 41View the Exhibit.

What does the SetCurrentRowWithKey activity do for this task flow? (Choose the best answer.)

A. calls a method

B. calls the updateCustomer page

Page 31: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

C. determines whether the user is navigated to the updateCustomer or callEmployeeTF activity

D. displays a pop-up that allows the user to enter a value for the current row

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 42You have three application modules: A, B, and C. Application modules В and С are nested under the root application module A. Which statement is true whencommitting the nested application module B? (Choose the best answer.)

A. No view objects are committed.

B. Only changes to view objects exposed through application module В are committed.

C. Only changes to view objects exposed through application modules A and В are committed.

D. All changes to all view objects exposed through all application modules A, B, and C are committed.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 43What is the purpose of applying a view criteria to a list accessor (that defines the data source of a list of values)? (Choose the best answer.)

A. It allows the data in the list to be filtered based on the view criteria.

B. Defining a view criteria allows you to specify different UI options for the list of values.

C. It automatically gives end users a search panel from which they can filter the data in the list of values.

D. It defines the order in which the data in the list appears.

E. It automatically prevents excessively long lists of values by forcing the application of view criteria if the list of values has more than a defined number of rowsreturned.

Correct Answer: ASection: (none)Explanation

Page 32: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

Explanation/Reference:In an ADF application a view accessor is considered as an approach to access a view object from another view object or entity object. The view accessors aremostly used to provide result sets for the lists of values.

A view criteria you define lets you specify filter information for the rows of a view object collection. The view criteria object is a row set of one or more view criteriarows, whose attributes mirror those in the view object. The view criteria definition comprises query conditions that augment the WHERE clause of the target viewobject. Query conditions that you specify apply to the individual attributes of the target view obje

References: https://docs.oracle.com/cd/E15523_01/web.1111/b31974/bcquerying.htm#ADFFD21779

QUESTION 44Which two components allow you to divide your page into two sections, where one section can be collapsed and expanded by the user, without the need to codelogic in a backing bean? (Choose two.)

A. af:panelBorderLayout

B. af:panelSplitter

C. af:stretchLayout

D. af:panelDrawer

E. af:panelTabbed

Correct Answer: ABSection: (none)Explanation

Explanation/Reference:A: The panelBorderLayout component is a layout element which lays out all of its children consecutively in its middle, and supports twelve other facets: top, bottom,left, right, start and end. Clients should use only one of left/right or start/end for each side, in any one container, but if both are used, left/right "wins". Left, InnerLeft/Right InnerRight always means left/right regardless of LTR or RTL. Start, InnerStart/End, InnerEnd will respect bidi setting.B: PanelSplitters are used to divide a region into two parts with a repositionable divider. The two parts are identified as the "first" facet and the "second" facet. If thecontained component supports it, the contents of a section will stretch to fill up all available space in that section. The panel splitter can be adjusted with the mouse,by pressing a collapse button, or by use of the arrow keys when the splitter is selected.

Incorrect Answres:C: The panelStretchLayout component stretches the child in the center facet to fill all of available space. The available space may be constrained by the presence ofother children in the top/bottom/start/end facets.

D: The panelDrawer control can be used to display a group of showDetailItems. Drawer "handles", aka tabs, represent the showDetailItem children. Selecting a tab/handle opens the drawer and displays the associated showDetailItem.

E: The panelTabbed control can be used to display a group of contents that belongs to a showDetailItem. Tab bar(s) with tabs representing the showDetailItem

Page 33: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

children are displayed. Selecting a tab, displays the associated showDetailItem.

References: http://docs.oracle.com/cd/E15523_01/apirefs.1111/e12419/tagdoc/af_panelSplitter.htmlhttp://docs.oracle.com/cd/E12839_01/apirefs.1111/e12419/tagdoc/af_panelBorderLayout.html

QUESTION 45You have written a Groovy validation expression for the Employees entity object. How would you customize the error message to show the value of the LastNameattribute as all uppercase? (Choose the best answer.)

A. Add a token to the validation error message and define the token value as LastName.toUpperCase().

B. Add a token to the validation error message and define the token value as adf.object.hints.toUpperCase.

C. Add a token to the validation error message and define the token value as adf.object.hints.value.toUpperCase.

D. Manually change the error string in the ModelBundle.properties file to be uppercase.

E. Insert adf.error.raise ("< your error message>” + LastName.toUpperCase()) into the validation code as part of the failure processing.

Correct Answer: ESection: (none)Explanation

Explanation/Reference:

QUESTION 46Which three resources can be secured by using the declarative features of ADF security? (Choose three.)

A. task flows

B. pages that are not contained within a task flow

C. attributes defined in entity objects

D. specific rows of data

E. stack traces

F. PL/SQL procedures

Correct Answer: ABCSection: (none)Explanation

Explanation/Reference:ADF Security benefits include:

Page 34: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

Declarative, permission-based protection for ADF security-aware resources, such as ADF bounded task flows, top-level web pages that use ADF bindings, andattributes defined by ADF entity objects and their attributes.

References: https://docs.oracle.com/middleware/1212/adf/ADFCG/security.htm#ADFCG259

QUESTION 47Where could you write code to change the color of a JSF input text component if the value of the salary field on the same page is higher than a fixed value?(Choose the best answer.)

A. in a backing bean

B. in the validation for the view object’s salary attribute

C. in the CSS file that defines the skin for the application

D. in a custom validator defined at the field level

Correct Answer: DSection: (none)Explanation

Explanation/Reference:In JSF, there is no official way to validate multiple components or fields. To solve it, you need to create a custom validator.

References: http://www.mkyong.com/jsf2/multi-components-validator-in-jsf-2-0/

QUESTION 48Select three options that page template developers can use when creating a page template. (Choose three.)

A. Create a page template based on a quick start layout.

B. Create a page template based on an existing JavaServer Faces (JSF) page.

C. Create a JavaServer Faces Fragment (JSFF) and register it as a page template.

D. Create a page template based on an existing template.

E. Create a page or fragment from a blank layout and register it as a page template.

F. Create a page template from a blank layout.

Correct Answer: BDFSection: (none)Explanation

Explanation/Reference:

Page 35: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

QUESTION 49You create a view object "CustomersVO“ based on an entity object "CustomerEO". How would you declaratively change the result set returned from the view objectso that the records are sorted by customer name? (Choose the best answer.)

A. Add ORDER BY CustomerName to the query in CustomersVO.

B. Add ORDER BY CustomerName to the query in CustomerEO.

C. Change the CustomersVO query mode to "Expert" and define the query using the ORDER BY clause as required.

D. Re-order the attributes in the CustomersVO editor such that the CustomerName attribute is listed first.

E. Create a view criteria on CustomersVO to order by the CustomerName attribute.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:The setOrderByClause method sets the ORDER BY clause of the view object's query statement. Bind variables can be specified using '?' as a place-holder for thevalue. The new ORDER BY clause does not take effect until RowSet.executeQuery() is called.

References: http://docs.oracle.com/cd/E12839_01/apirefs.1111/e10653/oracle/jbo/ViewObject.html

QUESTION 50What is the first step you perform to secure an ADF application? (Choose the best answer.)

A. Edit the web.xml file and adf-confiq.xml file to include the ADF authentication servlet configuration.

B. Merge the application roles into the deployment server's roles.

C. Define a lifecycle listener to intercept the HTTP request for the application’s URL.

D. Use the Configure ADF Security wizard to enable security for the application.

E. Create a login page and run the application authenticated as the test-all user.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:To simplify the configuration process which allows ADF Security to integrate with OPSS, JDeveloper provides the Configure ADF Security wizard. The wizard is thestarting point for securing the Fusion web application using ADF Security. The wizard is an application-level tool that, once run, will enable ADF Security for all userinterface projects that your application contains.

Page 36: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

References: https://docs.oracle.com/cd/E21764_01/web.1111/b31974/adding_security.htm#ADFFD19890

QUESTION 51Which code sample is the recommended way to override the create() method in EmployeesImpl, an implementation of oracle.jbo.server.EntityImplfor the Employee's entity object, to set default salary? (Choose the best answer.)

A. protected void create(AttributeList attributeList) {

SetAttributeInternal (SALARY, 0);

super.create(attributeList);

}

B. protected void create(AttributeList attributeList) {

super.create(attributeList);

setAttributeInternal("SALARY", 0);

}

C. protected void create(AttributeList attributeList) {

super.create(attributeList);

setSalary(0);

}

D. protected void create(AttributeList attributeList) {

setSalary(0);

}

Correct Answer: BSection: (none)Explanation

Explanation/Reference:Instances of subclasses should call super.create() before performing any operations.

References: http://docs.oracle.com/cd/E28280_01/apirefs.1111/e10653/oracle/jbo/server/EntityImpl.html

QUESTION 52Which statement is true about an ADF Business Components list of values? (Choose the best answer.)

A. It is always shown as a drop-down box in the user interface.

B. It can be derived only from a non-updatable view object.

C. It can show only one attribute in the selection list.

D. It cannot have a blank item as an option.

E. It can be represented as a radio group on an ADF Faces page.

Page 37: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

Correct Answer: ASection: (none)Explanation

Explanation/Reference:Incorrect Answers:C: Example: InputComboboxListOfValues Displays a List of Employee Names

References: https://docs.oracle.com/cd/E12839_01/web.1111/b31973/af_lov.htm#ADFUI260

QUESTION 53Identify two characteristics of model-view-controller architecture.

A. The separation of user interface components from the underlying application and business logic makes the code more flexible and easier to maintain.

B. The view layer represents the data values bound to the current page.

C. When a user interacts with the view, the controller handles page navigation.

D. The view reads data from the controller to render the appropriate user interface.

Page 38: Oracle.Certkiller.1z0-419.v2018-11-27.by.George · Identify three statements that are true about JSF. (Choose three.) A. Components are used to define page structure. B. Navigation

https://www.gratisexam.com/

Correct Answer: ACSection: (none)Explanation

Explanation/Reference:A: Key Benefits of the model-view-controller architecture are: Speeds up application development Protects from technology shifts Increase reusability across applications Create open and standard based applications

C: The controller layer processes user input and determines page navigation.

Incorrect Answers:B: The model layer represents the data or state of the component and is its underlying logical representation.

D: The business service layer, not the view layer, handles data access.

References: https://blogs.oracle.com/ArdaEralp/entry/introduction_to_oracle_adf

https://www.gratisexam.com/