Oracle APEX interviews test more than your ability to build a page in Page Designer. You may be asked why a report shows stale data, how to stop users from editing someone else’s record, or where a transaction should end. These 100 Oracle APEX and PL/SQL interview questions and answers cover the concepts behind those decisions and give you examples you can use to explain your reasoning.
For a refresher before you begin, see this Oracle APEX guide for PL/SQL developers. As you practice, pair each answer with an example from a project: what happened, what you checked, and why you chose the fix.
Oracle APEX fundamentals
1. What is Oracle APEX?
Oracle APEX, or Application Express, is a low-code platform for building web applications on Oracle Database. It provides declarative components for forms, reports, and workflows while allowing developers to use SQL, PL/SQL, JavaScript, and CSS where needed.
2. How do APEX, ORDS, and Oracle Database work together?
Oracle REST Data Services (ORDS) handles HTTP requests and connects the web tier to Oracle Database. The APEX engine runs in the database and uses application metadata to render pages and process requests.
3. What is an APEX workspace?
A workspace is a logical development environment where developers manage applications and related resources. It can be associated with multiple database schemas. A workspace is not itself a database schema, and a workspace login is distinct from an application user’s login.
4. What is an application’s parsing schema?
It is the database schema whose privileges APEX uses to parse application SQL and PL/SQL. If a page calls a package owned by another schema, the required grants must be in place; a synonym alone does not grant access.
5. What is Page Designer?
Page Designer is the main editor for configuring page regions, items, buttons, processes, validations, and dynamic actions. Its component tree and property editor help you trace where an item gets its value and when a process runs.
6. What are Shared Components?
Shared Components are application-level definitions that multiple pages can reuse. Examples include navigation menus, lists of values, authentication schemes, and authorization schemes. Changing a shared definition can affect every page that references it.
7. How do a region, item, and button differ?
A region displays or groups content, an item holds a value or presents an input, and a button initiates an action. A form region might contain a status item and a Save button that submits the page.
8. What does declarative development mean in APEX?
It means configuring built-in behavior through component properties rather than writing it from scratch. Use declarative features for standard behavior, and add code when a business rule or integration needs capabilities the built-in components do not provide.
9. What is Universal Theme?
Universal Theme is APEX’s responsive user interface theme. Its templates and template options help developers build consistent layouts without custom styling for every page. Still test your pages with keyboard navigation and at narrow screen widths.
10. What is the difference between a theme and a template?
A theme is a collection of templates and presentation settings. A template defines how a particular component is rendered. A region can change its appearance by using a different template without changing the SQL that feeds it.
APEX page processing and session state
11. How do page rendering and page processing differ?
Rendering builds the page users see. Processing handles submitted values and runs computations, validations, and processes at configured points. Loading a record belongs on the rendering side; saving it belongs on the processing side.
12. What is session state in APEX?
Session state is the server-side context APEX maintains for an application session, including item values according to their storage settings. The value a user just typed in the browser may differ from what the server currently sees.
13. How do you reference a page item in SQL or PL/SQL?
In APEX SQL and PL/SQL components that support bind syntax, reference an item as :P10_STATUS. Binding it as a value lets the statement use the current session state without inserting the item’s contents into the SQL text.
14. How does an application item differ from a page item?
An application item can hold a value across pages and does not render a visible input control. A page item belongs to a particular page. Use application items for genuinely shared context, not as a substitute for authorization checks.
15. What does clearing page cache do?
It resets session state for the specified page items. Clear values that should not carry over when opening a form for a new record, especially a primary key left behind by an earlier edit. Clearing cache does not delete database rows.
16. What is the difference between an item source and a default?
A source supplies an item value according to the component settings, often from an existing database row. A default supplies a starting value when none is present. Check when each is evaluated if an item unexpectedly keeps an old value.
17. What is the REQUEST value used for?
REQUEST identifies the action associated with a page request. A submit button commonly sets it to the button name. Use it to distinguish actions such as Save and Delete so only the intended validations and processes run.
18. What is an APEX branch?
A branch redirects a user at a configured point in page processing. After a successful save, it can return the user to a report or open the saved record. Configure branches so they do not bypass needed processing.
19. Why does an AJAX callback see an old item value?
The browser may have changed the value without submitting it to the server. In the relevant dynamic action or AJAX request, configure which items to submit. If the server returns new values, configure the client to apply them where needed.
20. Is an APEX session the same as a database session?
No. An APEX session preserves application context across requests, while ORDS uses pooled database connections. Do not rely on PL/SQL package globals to carry user state from one HTTP request to the next.
Oracle APEX reports and interactive grids

When choosing a report component, start with what users need to do with the data: read it, analyze it, or edit it. The Oracle APEX interactive reports guide offers a closer look at report features.
21. How do Classic Reports and Interactive Reports differ?
A Classic Report gives the developer tighter control over a fixed presentation. An Interactive Report lets users apply their own filters, sorting, and other permitted changes. Choose it when users need to explore the same dataset in different ways.
22. When should you choose an Interactive Grid?
Choose an Interactive Grid when users need a spreadsheet-like experience, especially when they must edit multiple rows. An Interactive Report is usually a better fit for read-only exploration when inline editing is not required.
23. What can users customize in an Interactive Report?
Depending on configuration, users can filter rows, change visible columns, sort results, or apply highlights and aggregations. Explain which settings are part of a saved report and which changes only affect the current view.
24. What is the difference between a primary and a private report?
The primary report is the baseline layout defined by the developer. A private report is a user’s saved view, available to that user. Public report saving, when enabled, is a separate capability for sharing saved views.
25. How do you filter a report using a page item?
Reference the item as a bind variable in the report query. For an AJAX refresh, include the filter item in the values submitted to the server. Decide what a null value should mean: show all rows, no rows, or a default subset.
26. How do you link a report row to an edit form?
Use a declarative link and pass the row’s primary key to the form item. Clear stale form state where appropriate. The destination page must still verify that the current user can access the selected record.
27. How do you control report downloads?
Configure which download options are available, then enforce data access in the underlying query. A column hidden in the default layout is not a reliable confidentiality control. Verify what authorized users can actually export.
28. What makes an Interactive Grid editable?
Enable editing, specify the allowed row operations, identify rows with a reliable key, and configure how changes are saved. Use database constraints and server-side checks so invalid changes are rejected regardless of the grid’s client behavior.
29. Why might an interactive report become slow?
Its underlying query may be expensive, or user-selected filters, sorts, and aggregations may add work. Reproduce the specific saved view that is slow before changing indexes or rewriting SQL. A fast default view does not rule out a query problem.
30. How would you label a calculated report value?
Give the column a heading that explains its units and meaning, such as Outstanding balance (USD). Put the formula in SQL or a shared database view if multiple reports must use the same definition.
Oracle APEX forms and validation
Think of a form as a pipeline: load the correct row, check the submitted values and permissions, then save. For component examples, see the Oracle APEX forms guide.
31. How does a form load and save a row?
Form initialization fetches data into items using a key or initializes items for a new record. On submit, validations run before the save process, which can use automatic row processing or invoke a custom PL/SQL routine.
32. When would you use automatic row processing?
Use it when a form maps cleanly to a supported data source and standard insert, update, or delete behavior is enough. Use a package or service when saving one form coordinates several tables or enforces a business workflow.
33. How do you implement a master-detail form?
Use a parent form and a related detail region, often an Interactive Grid. Relate details through a foreign key, save the parent before inserting its children, and define what happens to the detail records if the parent is deleted.
34. How do item-level and page-level validations differ?
Associate a validation with an item when the user can fix the error by changing that field. Use a page-level message when a rule involves multiple fields and pointing to only one would be misleading.
35. Why are database constraints still necessary?
Page validations give users timely feedback, but they apply only to that application path. Database constraints protect data written through imports, other applications, and concurrent sessions. A unique constraint, for example, remains effective when two users submit simultaneously.
36. What is a lost update?
A lost update occurs when someone saves changes based on an older version of a row and overwrites a newer change. Use the form’s lost-update protection or implement optimistic locking with a version value checked when writing.
37. What is a cascading list of values?
It is a list whose options depend on a parent selection, such as cities filtered by country. Configure the parent dependency and clear or revalidate the child value when the parent changes so an incompatible selection cannot be saved.
38. What is the difference between an LOV’s display and return values?
The display value is the label shown to the user; the return value is what the item stores or submits. A department name is easier to read, but a stable department ID is usually the right value to save.
39. How should an APEX form handle an uploaded file?
Restrict accepted file types and sizes, verify server-side, and move accepted files from temporary storage to the intended destination when required. Check authorization on download as well as upload so stored files are not exposed to other users.
40. How do you make validation errors useful?
Identify the field, describe what is wrong, and tell the user how to fix it. For example, End date must be on or after start date is more useful than Invalid input. Keep database diagnostics out of user-facing messages.
PL/SQL fundamentals for APEX developers
41. How do SQL and PL/SQL differ?
SQL queries and modifies data using set-oriented statements. PL/SQL adds procedural features such as variables, control flow, reusable routines, and exception handling. Use SQL for set-wide operations and PL/SQL to coordinate the steps around them.
42. What are the sections of a PL/SQL block?
A block can contain an optional declaration section, a required executable section between BEGIN and END, and an optional exception section. Declare local variables before BEGIN and handle expected errors in the EXCEPTION section.
43. What do %TYPE and %ROWTYPE do?
%TYPE anchors a declaration to another variable or column’s data type. %ROWTYPE declares a record that matches the fields of a table, view, or cursor row. Both reduce the need to duplicate data type definitions.
44. What is the difference between a procedure and a function?
A function must return a value, while a procedure does not return one through a return expression but can use OUT parameters. Use a function for a calculation or lookup and a procedure for an operation such as approving an order.
45. Why use a PL/SQL package in an APEX application?
A package groups related routines behind a specification and keeps implementation details in its body. A page can call a stable operation such as order approval without duplicating the associated rules across multiple processes.
46. What are IN, OUT, and IN OUT parameters?
IN passes a value into a routine. OUT returns a value through a parameter. IN OUT accepts an initial value and can return a modified version. Choose the mode that makes each argument’s purpose clear to callers.
47. What are implicit and explicit cursors?
PL/SQL manages implicit cursors for statements such as DML and SELECT INTO. An explicit cursor is a named query that you declare and can iterate over. A cursor FOR loop handles opening, fetching, and closing for you.
48. What can go wrong with SELECT INTO?
A scalar SELECT INTO expects exactly one row. It raises NO_DATA_FOUND if the query returns none and TOO_MANY_ROWS if it returns more than one. Enforce uniqueness when it is a business rule rather than fetching an arbitrary first match.
49. What are BULK COLLECT and FORALL?
BULK COLLECT fetches query results into collections. FORALL sends batches of DML to the SQL engine. Both can reduce overhead compared with row-by-row processing, but a single set-based statement is often simpler when it can express the whole operation.
50. When should you use dynamic SQL?
Use it when the statement structure genuinely varies at runtime. Bind data values and map variable identifiers, such as sort columns, to explicitly allowed choices. Prefer static SQL when the structure is known in advance.
PL/SQL transactions and error handling

51. What do COMMIT and ROLLBACK do?
COMMIT makes pending transaction changes permanent. ROLLBACK undoes uncommitted work. Avoid committing inside every helper procedure: the caller may need several operations to succeed or fail together.
52. What is a savepoint?
A savepoint marks a point inside a transaction. Rolling back to it undoes changes made after that point without discarding earlier work. It is useful when part of a larger operation may fail independently.
53. Where should transaction control live in an APEX application?
Keep reusable routines free of unnecessary commits. Define which request or top-level operation owns the transaction, and account for APEX’s commit behavior. Separate AJAX requests should not be treated as parts of one open database transaction.
54. How should you use WHEN OTHERS?
Use it when you can add meaningful context, perform cleanup, or log an unexpected error. Then re-raise the exception unless you can recover safely. Silently swallowing it can leave the user thinking that a failed save succeeded.
55. What does RAISE_APPLICATION_ERROR do?
It raises a custom Oracle error using a number in the range -20000 to -20999. A package can use it to reject a business operation. Translate the error into a useful message at the application boundary.
56. How do you handle duplicate business records?
Enforce uniqueness with a database constraint and handle the resulting error with a clear message. A preliminary check can improve feedback, but it cannot replace the constraint because another session may insert the same value before the save.
57. What is an autonomous transaction?
It is a separate transaction started from a PL/SQL routine that can commit independently of its caller. It can be useful for carefully designed error logging, but do not use it for business changes that should roll back with the main operation.
58. How can you tell whether an UPDATE affected a row?
Check SQL%ROWCOUNT immediately after the DML statement. A result of zero may mean the row was deleted, the user was not authorized, or the version no longer matched. Interpret the result in light of the WHERE clause.
59. How do optimistic and pessimistic locking differ?
Optimistic locking detects conflicting changes at save time, often using a version check. Pessimistic locking acquires a lock before the update. Optimistic locking suits web forms where users may leave a record open for minutes before saving.
60. What makes a server-side operation idempotent?
Repeating the same request does not repeat its business effect. For a payment or order submission, store a request identifier and enforce its uniqueness so a retry can return the existing result instead of creating another transaction.
Oracle APEX security and access control
61. How do authentication and authorization differ?
Authentication establishes who the user is. Authorization determines what that user may do. A successfully signed-in employee may view ordinary reports but still need an additional role to approve a request or access payroll data.
62. What is an APEX authorization scheme?
It is a reusable rule for deciding whether a user can access an application, page, or supported component. Define roles centrally and choose suitable evaluation settings if a user’s permissions can change during a session.
63. Why isn’t hiding a button enough?
Visibility controls what users see, not whether the underlying operation is permitted. Apply authorization to the processing path and enforce record-level access when the data is read or changed. A hidden Delete button is not a delete policy.
64. What is Session State Protection?
Session State Protection restricts unexpected assignment of protected values through APEX URLs or requests, depending on configuration. Checksums help protect legitimate links from tampering. They do not establish that a user is entitled to access a particular record.
65. How do you reduce SQL injection risk?
Bind user-supplied values instead of concatenating them into SQL. If the query needs a structural choice, such as an ordering column, map it to an allowlist. Check custom report queries and packaged routines as well as page processes.
66. How do you prevent stored content from becoming executable markup?
Escape output for its context. Keep special-character escaping enabled for report columns that display untrusted text. If a feature intentionally allows HTML, sanitize it with an appropriate allowlist rather than rendering arbitrary user content.
67. How should you enforce row-level access?
Constrain reads and writes with trusted identity and policy data. For example, scope a manager’s query to departments they are assigned to. Do not assume that a department ID supplied by the browser is proof of permission.
68. How do you apply least privilege to the parsing schema?
Grant only the object privileges the application needs. Where appropriate, expose controlled package operations instead of granting broad access to tables. Review deployment grants as well, because extra privileges in production weaken the intended boundary.
69. Where should integration credentials be stored?
Use an appropriate managed credential mechanism, such as APEX Web Credentials for supported integrations. Avoid hardcoding secrets in page code, exported application definitions, or source control. Scope credentials to the service and environment that needs them.
70. What should an application audit log record?
Capture the actor, action, affected record, time, and outcome. Log before-and-after values selectively when needed for accountability. Avoid recording passwords, tokens, or sensitive data that does not help explain the event.
Dynamic actions, AJAX, and REST integrations
71. What is a dynamic action?
A dynamic action runs configured behavior in response to a client-side event. For example, changing a department can refresh a list of employees. Dynamic actions often replace small pieces of custom JavaScript but do not replace server-side validation.
72. What is the difference between a client-side and server-side condition?
A client-side condition evaluates browser state when an action runs. A server-side condition evaluates on the server at the relevant rendering or processing point. Use server-side checks for decisions that must remain valid regardless of browser behavior.
73. What is partial page refresh?
Partial page refresh updates a supported region without reloading the entire page. It is useful for a report controlled by filter items. Submit the current filter values as part of the refresh so the server can build the right result.
74. When would you use an AJAX callback?
Use one when you need a small server operation without a full page submit, such as calculating a quote preview. Keep the response focused and apply the same input validation and authorization you would use for a normal request.
75. What is apex.server.process used for?
It is a client-side JavaScript API for calling an APEX on-demand PL/SQL process. Use it when declarative actions are insufficient and handle failures explicitly so the user knows whether to retry or correct a value.
76. Why might an event stop firing after a region refresh?
The refreshed region can replace DOM elements and remove handlers attached directly to them. Use a dynamic event scope or delegated handler tied to a stable ancestor, and avoid registering duplicate handlers on every refresh.
77. What is a REST Data Source in APEX?
It is a shared configuration for consuming a remote REST endpoint. It can describe operations, parameters, credentials, and response fields so supported APEX components can use the service without duplicating request code.
78. When would you call a REST API from PL/SQL instead?
Use PL/SQL when you need custom orchestration, uncommon request formats, or response handling that the declarative integration does not cover. Keep that logic in a reusable package rather than scattering service calls across pages.
79. How should you handle a slow or unavailable API?
Set a reasonable timeout and distinguish temporary failures from permanent ones. Retry only when doing so is safe. If the operation need not finish before the user continues, queue it and show its status separately.
80. What is the difference between exposing and consuming REST services?
Exposing a service makes your application data or operations available to external clients, often through ORDS. Consuming a service means calling another system. In both cases, define authentication, data scope, and error behavior explicitly.
APEX performance, testing, and deployment
81. How do you troubleshoot a slow APEX page?
Reproduce the issue and separate browser time, network time, and server execution. Use APEX Debug to identify slow components, then inspect their queries or processes. Optimize the measured bottleneck rather than assuming the database is responsible.
82. What is APEX Debug useful for?
It helps trace which components ran, in what order, and where processing time went. Use it to diagnose missing item values or skipped processes. In production, limit debug use to controlled troubleshooting and avoid logging secrets.
83. How do you diagnose a slow SQL query?
Capture the actual query and representative bind values, then inspect its execution plan and runtime statistics where available. Compare estimates with observed row counts before deciding whether the issue is an index, a predicate, or the query shape.
84. What is the N+1 query problem?
It occurs when a query returns N rows and the application runs another query for each one. A join or set-based aggregation can often fetch the same data in one pass, avoiding repeated database work.
85. How can you improve a large list of values?
Use a searchable control rather than loading every option. Filter by relevant context, such as active customers in the selected region, and index columns that support commonly used searches when the execution plan justifies it.
86. How do you test a reusable PL/SQL package?
Test expected outcomes, boundary values, and permission failures using controlled data. Verify database changes and transaction behavior instead of relying on success messages alone. Test the package independently of the APEX page that calls it.
87. What should you test before releasing an APEX form?
Cover create, edit, delete, cancel, invalid values, insufficient permissions, and concurrent edits. Confirm that errors leave data consistent and that keyboard users can complete the form. Verify file handling and external calls if the form uses them.
88. What belongs in version control?
Store application exports, database migration scripts, package sources, and relevant static assets. Review them together so page changes and schema changes stay in sync. Keep secrets and environment-specific values out of the repository.
89. How do you deploy an APEX application across environments?
Promote versioned application exports and compatible database changes in a defined order. Apply environment-specific settings securely, then verify critical paths in the target environment. A successful import does not prove that grants or integrations work.
90. What makes an APEX rollback plan credible?
It addresses both the application and its database dependencies. Keep the previous export, check whether it works with the new schema, and plan for data changes that cannot simply be reversed. Test the recovery steps before release.
Scenario-based Oracle APEX and PL/SQL interview questions
91. A form opens the last edited record instead of a blank one. What do you check?
Inspect the create link, the primary key item’s session state, and the form initialization logic. Clear the form page’s old state before opening it in create mode and verify that no source repopulates the previous key.
92. An AJAX report refresh ignores a new filter. What do you check?
Confirm that the browser item changed, that the refresh submits it, and that the SQL binds the correct item. Test with a filter value that produces a visibly different result to distinguish stale state from a query logic issue.
93. An administrator must update selected grid rows. How would you design it?
Collect selected row keys and invoke a server-side operation that rechecks the role and each row’s eligibility. Decide whether one failure should roll back the whole update or be reported separately, and communicate that behavior to the user.
94. A user can see a report but should not export it. What would you do?
Restrict the available download feature and check other export paths. If some fields are confidential, omit them from the dataset available to that user. A rule against export cannot stop someone from copying information they can already see.
95. Saving an order fails after the header is inserted. How do you protect consistency?
Save the header and lines in one transaction, with no intermediate commit in the helper code. Surface the line error and confirm that the failure does not leave an incomplete order. Test both a failed save and a retry.
96. Two users edit the same customer. What should the second user see?
When the second save detects a changed row version, explain that someone else updated the record. Let the user reload and review the current data before trying again. Do not silently overwrite the first user’s changes.
97. A REST integration works in development but fails in production. Where do you start?
Compare the endpoint, credentials, network access, TLS trust, and permissions in both environments. Inspect the status code and sanitized error details. A production-only failure may be configuration-related, so verify the differences before changing application code.
98. An approval page repeats rules used by another application. How would you refactor it?
Move the shared rules into a PL/SQL package and make each application call the same operation. Keep page-specific messages in the interface. Test that equivalent requests produce the same business result regardless of where they originate.
99. How would you explain an APEX performance improvement in an interview?
Describe the slow action, how you reproduced it, and the evidence that identified the cause. Explain the change and compare before-and-after results under similar conditions. Use measurements from your own work rather than guessing a percentage improvement.
100. How would you design a secure expense approval application?
Separate requester and approver roles, restrict records by ownership and assignment, and enforce permitted status transitions in PL/SQL. Use forms for submission, reports for review, and an audit trail for decisions. Test unauthorized access and competing approvals before release.