Oracle 1z0-419 Exam Practice Questions (P. 1)
- Full Access (98 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #1
Which statement is true about the use of data controls in JSF? (Choose the best answer.)
- AOnly Oracle ADF Business Components can be exposed as data controls.
- BDragging a data control onto a JSF page generates a Java class that acts as a managed bean.
- CAn XXXpagedef.xml file holds detailed information about a JSF page’s use of data and operations exposed through ADF Data Controls.
- DData controls eliminate the need to use expression language in your JSF code for binding the UI to data.
- EA Databindings.cpx file holds names of managed beans that you map to UI elements.
Correct Answer:
D
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/
D
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/
send
light_mode
delete
Question #2
Which statement is false? (Choose the best answer.)
- AA panelDashboard has the same rowHeight for all the rows.
- BAFStretchWidth in the style class of a panelGroupLayout causes it to fill the page horizontally.
- CpanelGroupLayout cannot have a vertical scroll bar.
- DpanelBox stretches if placed inside a panelStretchLayout center facet.
Correct Answer:
C
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
C
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
send
light_mode
delete
Question #3
Which two statements ate true about a dvt:gauge component? (Choose two.)
- Advt:thresholdSet with dvt:threshold tags can be used to define ranges of data and coloring for a gauge.
- BThe style of the dial in a dial gauge is fixed.
- CA gauge component can render as a vertical status meter.
- DGauge data range must start from 0.
Correct Answer:
AC
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
AC
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
send
light_mode
delete
Question #4
Consider a bounded task flow input parameter called employeeId of type oracle.jbo.domain.Number. When defining the parameter in the bounded task flow, if you do not define a value (destination) for the parameter, where does it get written to? (Choose the best answer.)
- A#{employeeId}
- B#{employee.employeeId}
- C#{pageFlowScope.employeeId}
- D#{pageFlowScope.employee.employeeId}
- E#{backingBeanScope.employeeId}
- F#{backingBeanScope.employee.employeeId}
Correct Answer:
C
For example, the page might specify #{pageFlowScope.empno} as a page parameter and a bounded task flow might specify #{pageFlowScope.employeeID} as the value of an input parameter definition.
The from-value on the view activity input page parameter would be #{pageFlowScope.employeeID} and the to-value would be #{pageFlowScope.empno}. This enables reuse of both the page definition and bounded task flow because you don't have to redefine parameters for every context in which each is used.
References:
https://docs.oracle.com/cd/E23943_01/web.1111/b31974/taskflows_parameters.htm#ADFFD19858
C
For example, the page might specify #{pageFlowScope.empno} as a page parameter and a bounded task flow might specify #{pageFlowScope.employeeID} as the value of an input parameter definition.
The from-value on the view activity input page parameter would be #{pageFlowScope.employeeID} and the to-value would be #{pageFlowScope.empno}. This enables reuse of both the page definition and bounded task flow because you don't have to redefine parameters for every context in which each is used.
References:
https://docs.oracle.com/cd/E23943_01/web.1111/b31974/taskflows_parameters.htm#ADFFD19858
send
light_mode
delete
Question #5
Which two scopes can you use to make a value in a managed bean available for at least three pages in a task flow? (Choose two.)
- Arequest
- Bpageflow
- Cview
- Dapplication
- Eserver
Correct Answer:
BD
B: Choose the pageflow scope if you want the managed bean to be accessible across the activities within a task flow. A managed bean that has a pageFlow scope shares state with pages from the task flow that access it. A managed bean that has a pageFlow scope exists for the life span of the task flow.If another task flow's page references the managed bean, the managed bean creates a separate instance of this object and adds it to the pageFlow scope of its task flow.
D: The application scope lasts until the application stops. Values that you store in a managed bean with this scope are available to every session and every request that uses the application.
Avoid using this scope in a task flow because it persists beyond the life span of the task flow.
Incorrect Answers:
A: Use request scope when the managed bean does not need to persist longer than the current request.
C: Use this scope for managed bean objects that are needed only within the current view activity and not across view activities. It defines scope for each view port that ADF Controller manages, for example, a root browser window or an ADF region.
The life span of this scope begins and ends when the current viewId of a view port changes. If you specify view, the application retains managed bean objects used on a page as long as the user continues to interact with the page. These objects are automatically released when the user leaves the page.
E: There is no server scope -
References:
http://docs.oracle.com/cd/E15586_01/web.1111/b31974/taskflows.htm#CHDFAIGC
BD
B: Choose the pageflow scope if you want the managed bean to be accessible across the activities within a task flow. A managed bean that has a pageFlow scope shares state with pages from the task flow that access it. A managed bean that has a pageFlow scope exists for the life span of the task flow.If another task flow's page references the managed bean, the managed bean creates a separate instance of this object and adds it to the pageFlow scope of its task flow.
D: The application scope lasts until the application stops. Values that you store in a managed bean with this scope are available to every session and every request that uses the application.
Avoid using this scope in a task flow because it persists beyond the life span of the task flow.
Incorrect Answers:
A: Use request scope when the managed bean does not need to persist longer than the current request.
C: Use this scope for managed bean objects that are needed only within the current view activity and not across view activities. It defines scope for each view port that ADF Controller manages, for example, a root browser window or an ADF region.
The life span of this scope begins and ends when the current viewId of a view port changes. If you specify view, the application retains managed bean objects used on a page as long as the user continues to interact with the page. These objects are automatically released when the user leaves the page.
E: There is no server scope -
References:
http://docs.oracle.com/cd/E15586_01/web.1111/b31974/taskflows.htm#CHDFAIGC
send
light_mode
delete
All Pages