Download Oracle Application Development Framework 12c Essentials.1z0-419.TestKing.2019-04-24.58q.vcex

Vendor: Oracle
Exam Code: 1z0-419
Exam Name: Oracle Application Development Framework 12c Essentials
Date: Apr 24, 2019
File Size: 1 MB

How to open VCEX files?

Files with VCEX extension can be opened by ProfExam Simulator.

Demo Questions

Question 1
Which statement is true about the use of data controls in JSF? (Choose the best answer.)
  1. Only Oracle ADF Business Components can be exposed as data controls.
  2. Dragging a data control onto a JSF page generates a Java class that acts as a managed bean.
  3. An XXXpagedef.xml file holds detailed information about a JSF page’s use of data and operations exposed through ADF Data Controls.
  4. Data controls eliminate the need to use expression language in your JSF code for binding the UI to data.
  5. A Databindings.cpx file holds names of managed beans that you map to UI elements.
Correct answer: D
Explanation:
Incorrect Answers:E: The DataBindings.cpx file maps individual pages to page definition files and declares which data controls defined in the DataControls.dcx file are being used by the application.References: http://www.ibm.com/developerworks/rational/library/10/customized-data-binding-to-third-party-javaserver-faces-controls/
Incorrect Answers:
E: The DataBindings.cpx file maps individual pages to page definition files and declares which data controls defined in the DataControls.dcx file are being used by the application.
References: http://www.ibm.com/developerworks/rational/library/10/customized-data-binding-to-third-party-javaserver-faces-controls/
Question 2
Which statement is false? (Choose the best answer.)
  1. A panelDashboard has the same rowHeight for all the rows.
  2. AFStretchWidth in the style class of a panelGroupLayout causes it to fill the page horizontally.
  3. panelGroupLayout cannot have a vertical scroll bar.
  4. panelBox stretches if placed inside a panelStretchLayout center facet.
Correct answer: C
Explanation:
Incorrect Answers:A: RowHeight is the height of the rows of the grid layout as a CSS length. panelDashboard stretches the panelBox children to fit within the width of a column and the specified row height.B: ADF has a default styleClass called "AFStretchWidth" which could auto adjust the table width to let it occupy the whole horizontal space.References: http://docs.oracle.com/cd/E12839_01/apirefs.1111/e12419/tagdoc/af_panelGroupLayout.html
Incorrect Answers:
A: RowHeight is the height of the rows of the grid layout as a CSS length. panelDashboard stretches the panelBox children to fit within the width of a column and the specified row height.
B: ADF has a default styleClass called "AFStretchWidth" which could auto adjust the table width to let it occupy the whole horizontal space.
References: http://docs.oracle.com/cd/E12839_01/apirefs.1111/e12419/tagdoc/af_panelGroupLayout.html
Question 3
Which two statements ate true about a dvt:gauge component? (Choose two.)
  1. dvt:thresholdSet with dvt:threshold tags can be used to define ranges of data and coloring for a gauge.
  2. The style of the dial in a dial gauge is fixed.
  3. A gauge component can render as a vertical status meter.
  4. Gauge data range must start from 0.
Correct answer: AC
Explanation:
A: A Threshold represents a significant value range like quota, target or limit value etc. When the indicator falls into one of the threshold ranges, it means certain criteria have been met or not. Different threshold ranges in gauges may have different colors, which you may customize.C: The Vertical Status Meter and Status Meter are meters with a rectangular indicator placed in a bounding box. It looks like a mercury barometer.Incorrect Answers:B: The Indicator shows the metric value of the Gauge. There are three types of indicators for Dial Gauges: Line, Needle and Fill. Line and Needle are rotating pointers to show the metric value by pointing to certain angle on the dial. The Needle indicator is thicker than the Line indicator. Fill is a slice or section of the dial that fills from the minimum value up to the metric value. Users may specify the indicator fill color and border color.D: The simplest data model for a Gauge is a single metric value, which can be specified by the value attribute. In addition, the threshold, minimum and maximum values can also be specified by Threshold tag, and the minValue and maxValue attributes respectively.References: https://docs.oracle.com/cd/E21764_01/apirefs.1111/e12418/tagdoc/dvt_gauge.html
A: A Threshold represents a significant value range like quota, target or limit value etc. When the indicator falls into one of the threshold ranges, it means certain criteria have been met or not. Different threshold ranges in gauges may have different colors, which you may customize.
C: The Vertical Status Meter and Status Meter are meters with a rectangular indicator placed in a bounding box. It looks like a mercury barometer.
Incorrect Answers:
B: The Indicator shows the metric value of the Gauge. There are three types of indicators for Dial Gauges: Line, Needle and Fill. Line and Needle are rotating pointers to show the metric value by pointing to certain angle on the dial. The Needle indicator is thicker than the Line indicator. Fill is a slice or section of the dial that fills from the minimum value up to the metric value. Users may specify the indicator fill color and border color.
D: The simplest data model for a Gauge is a single metric value, which can be specified by the value attribute. In addition, the threshold, minimum and maximum values can also be specified by Threshold tag, and the minValue and maxValue attributes respectively.
References: https://docs.oracle.com/cd/E21764_01/apirefs.1111/e12418/tagdoc/dvt_gauge.html
Question 4
Which three statements are true about declarative features of view objects? (Choose three.)
  1. You can use view object bind variables to parameterize a view object where clause with values supplied at run time.
  2. By default, a view object instance retrieves all database rows into the view object cache.
  3. To implement master-detail behavior between two view object instances, you define an association between those instances.
  4. A view accessor defines a validation expression that you apply to a view object attribute.
  5. A view object can include attributes whose values are based on SQL expressions rather than mapping directly to a database column.
  6. A view object definition can include many view criteria but you can choose which view criteria to apply for each view object instance.
Correct answer: ACE
Explanation:
A: Declarative view objects, those are view objects that don't actually specify a hard coded query. Instead ADF creates their query at runtime, and it does it based on the data that is requested in your UI layer. This can be a huge saver of both DB resources and network resources.C: Just as with normal mode view objects, you can link view objects that you create in declarative SQL mode to other view objects to form master-detail hierarchies of any complexity.E: At runtime, when ADF Business Components works with JDBC to pass a query to the database and retrieve the result, the mechanism to retrieve the data is the SQL query. As an alternative to creating view objects that specify a SQL statement at design time, you can create entity-based view objects that contain no SQL statements. This capability of the ADF Business Components design time and runtime is known as declarative SQL mode. When the data model developer works with the wizard or editor for a view object in declarative SQL mode, they require no knowledge of SQL. In declarative SQL mode, the view object's metadata causes the ADF Business Components runtime to generate the SQL query statementsReferences: http://docs.oracle.com/cd/E37975_01/web.111240/e16182/bcquerying.htm#ADFFD1992
A: Declarative view objects, those are view objects that don't actually specify a hard coded query. Instead ADF creates their query at runtime, and it does it based on the data that is requested in your UI layer. This can be a huge saver of both DB resources and network resources.
C: Just as with normal mode view objects, you can link view objects that you create in declarative SQL mode to other view objects to form master-detail hierarchies of any complexity.
E: At runtime, when ADF Business Components works with JDBC to pass a query to the database and retrieve the result, the mechanism to retrieve the data is the SQL query. As an alternative to creating view objects that specify a SQL statement at design time, you can create entity-based view objects that contain no SQL statements. This capability of the ADF Business Components design time and runtime is known as declarative SQL mode. When the data model developer works with the wizard or editor for a view object in declarative SQL mode, they require no knowledge of SQL. In declarative SQL mode, the view object's metadata causes the ADF Business Components runtime to generate the SQL query statements
References: http://docs.oracle.com/cd/E37975_01/web.111240/e16182/bcquerying.htm#ADFFD1992
Question 5
Which three statements are true about the default value for an entity object attribute? (Choose three.)
  1. It can be a literal value.
  2. It can be defined by a Groovy expression.
  3. It can be defined by a SQL select statement.
  4. It can be defined by an Expression Language (EL) statement.
  5. It can be defined by referencing a database stored procedure.
Correct answer: ABD
Explanation:
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 can set 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
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 can set 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 6
A backing bean for a page must hold its value over multiple requests for the current user. Which three bean scopes are applicable? (Choose three.)
  1. requestScope
  2. backingBeanScope
  3. viewScope
  4. pageFlowScope
  5. sessionScope
  6. applicationScope
Correct answer: CDE
Explanation:
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 have a 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 be still 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 in a 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 bean that 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 request scope 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 scope spans 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 beans used in reusable components should be configured to backingBean scope. For example, bounded task flows that are designed to be regions on a page should use the 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 static objects that are the same for all users.References: http://xmlandmore.blogspot.se/2009/10/types-of-scopes-in-fusion-web.html
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 have a 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 be still 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 in a 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 bean that 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 request scope 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 scope spans 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 beans used in reusable components should be configured to backingBean scope. For example, bounded task flows that are designed to be regions on a page should use the 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 static objects that are the same for all users.
References: http://xmlandmore.blogspot.se/2009/10/types-of-scopes-in-fusion-web.html
Question 7
Identify three statements that are true about JSF. (Choose three.)
  1. Components are used to define page structure.
  2. Navigation between pages is defined outside of the JSF page in the metadata.
  3. Managed beans can have only one of two memory scopes.
  4. Managed beans can be accessed from more than one page.
  5. JSF does not support template creation for pages.
Correct answer: ABD
Explanation:
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 Facelets feature 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 and avoid 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
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 Facelets feature 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 and avoid 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 8
Which three options does an entity object automatically implement? (Choose three.)
  1. primary key functionality based on any column in the database that is marked as a primary key
  2. not-null functionality based on any column in the database that is marked as not null
  3. attribute precision based on column size
  4. all table check constraints
  5. any table triggers
Correct answer: ABC
Explanation:
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 attributes The mandatory flag on attributes, based on NOT NULL constraints The length and precision of each attribute The 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 column The 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
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 attributes 
  • The mandatory flag on attributes, based on NOT NULL constraints 
  • The length and precision of each attribute 
  • The 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 column 
  • The 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 9
View the Exhibit. 
  
Which option represents the steps to add a relationship between OrdVO and ItemVO and create a master-detail hierarchy for the same in the data model? (Choose the best answer.)
  1. Select View Link from the Components window and draw a line on the diagram from ItemVO to OrdVO. Use the Application Module Editor to define the data model for the hierarchy.
  2. Create a view link with OrdVO as the source and ItemVO as the destination and define the linked attributes. Use the Application Module Editor to define the data model for the hierarchy.
  3. Create a view link with ItemVO as the source and OrdVO as the destination and define the linked attributes. Use the Application Module Editor to nest the OrdVO instance beneath the ItemVO instance.
  4. Select Association from the Components window and draw a line on the diagram from OrdEO to ItemEO. Right-click the association on the diagram and select Generate View Link.
Correct answer: B
Explanation:
When you want to show the user a set of master rows, and for each master row a set of coordinated detail rows, then you can create view links to define how you want the master and detail view objects to relate. To create an association-based view link, you use the Create View Link wizard. Note: A master-detail relationship is established when a view link is created to associate two view object instances. A view link represents the relationship between two view objects, which is usually, but not necessarily, based on a foreign-key relationship between the underlying data tables. The view link associates a row of one view object instance (the master object) with one or more rows of another view object instance (the detail object).References: https://docs.oracle.com/middleware/1213/adf/develop/adf-bc-vo-master-detail.htm#ADFFD23705
When you want to show the user a set of master rows, and for each master row a set of coordinated detail rows, then you can create view links to define how you want the master and detail view objects to relate. 
To create an association-based view link, you use the Create View Link wizard. 
Note: A master-detail relationship is established when a view link is created to associate two view object instances. A view link represents the relationship between two view objects, which is usually, but not necessarily, based on a foreign-key relationship between the underlying data tables. The view link associates a row of one view object instance (the master object) with one or more rows of another view object instance (the detail object).
References: https://docs.oracle.com/middleware/1213/adf/develop/adf-bc-vo-master-detail.htm#ADFFD23705
Question 10
View 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 subsequently displays the confirmation page? (Choose two.)
  1. Define the isCustomer outcome in RegisterRouter.
  2. Create a global control flow rule pointing to CustomerPage.
  3. Create a control flow rule from EmployeePaqe to Confirmation.
  4. Change the default activity from Register to RegisterRouter.
  5. Set the isEmployee outcome to #{FALSE}.
Correct answer: AB
HOW TO OPEN VCE FILES

Use VCE Exam Simulator to open VCE files
Avanaset

HOW TO OPEN VCEX AND EXAM FILES

Use ProfExam Simulator to open VCEX and EXAM files
ProfExam Screen

ProfExam
ProfExam at a 20% markdown

You have the opportunity to purchase ProfExam at a 20% reduced price

Get Now!