AEM Forms Developer Expert study materials
AEM Forms Developer Expert study resources

AEM Forms Developer Expert practice questions

One question at a time. Build your AEM Forms Developer Expert understanding.

First 50 of 200 questions. Each one lists the choices, the correct answer, and an explanation. The checker at the top of this page saves progress in this browser when it is available.

Continue in the practice tool above to load more questions, 50 at a time.

Question 1Forms development environment, setup, and architecture

In a typical AEM Forms installation, which component provides the runtime environment that renders and processes adaptive forms submitted by end users?

  1. The AEM publish instance Correct answer.
  2. The AEM author instance
  3. The Forms Workflow engine
  4. The Correspondence Management module

Explanation

Adaptive forms are rendered and submitted on the publish tier, which serves end users. The author instance is used for design and preview, not for production submissions.

Question 2Forms development environment, setup, and architecture

Which AEM package is required to enable the adaptive forms authoring capability on an AEM instance?

  1. The Assets dynamic media package
  2. The AEM Forms add-on package Correct answer.
  3. The GraphQL client bundle
  4. The Sites reference site package

Explanation

Adaptive forms authoring is enabled by installing the AEM Forms add-on package on top of the base AEM installation. Other packages add unrelated capabilities.

Question 3Forms development environment, setup, and architecture

A developer needs forms data to be stored in an external relational database rather than in the JCR. Which AEM Forms capability should be configured?

  1. A workflow launcher
  2. A form data model Correct answer.
  3. A client library folder
  4. A replication agent

Explanation

Form data models integrate forms with external data sources such as relational databases through configured data source pools. They let forms read and write data outside the JCR.

Question 4Forms development environment, setup, and architecture

Which HTTP endpoint is commonly used by a developer to verify that the Forms service is responding on an AEM instance?

  1. The dispatcher flush path
  2. The Forms health-check servlet path Correct answer.
  3. The CRX package manager path
  4. The OSGi bundle console path

Explanation

A health-check servlet confirms that the Forms service is deployed and responding. The other paths serve unrelated administrative functions.

Question 5Forms development environment, setup, and architecture

Which file format is the native representation of an adaptive form definition in the AEM repository?

  1. An .json file stored under a content node Correct answer.
  2. An .xdp file stored in the Forms directory
  3. A .docx file stored in Assets
  4. A .pdf file stored in the DAM

Explanation

Adaptive forms are authored as structured content and stored as JSON under their content node in the repository. XDP and PDF files represent other form technologies.

Question 6Forms development environment, setup, and architecture

Which AEM tier is responsible for executing a Forms-centric workflow that generates a record document after submission?

  1. The author or publish tier where the workflow is deployed Correct answer.
  2. Only the dispatcher tier
  3. Only the web server tier
  4. Only the external database tier

Explanation

Forms workflows execute on the AEM instance where they are deployed, typically the publish tier for submission-triggered processes. Dispatchers and databases do not run AEM workflows.

Question 7Forms development environment, setup, and architecture

What is the primary purpose of the AEM Forms Designer tool in a forms development environment?

  1. Managing OSGi bundles
  2. Creating XDP form templates Correct answer.
  3. Authoring client libraries
  4. Configuring replication agents

Explanation

Forms Designer is used to design XDP form templates that can be rendered and integrated with AEM Forms. It does not handle infrastructure or front-end asset configuration.

Question 8Forms development environment, setup, and architecture

During development, a form must call a REST service that is only reachable from the server side. Which approach keeps the service credentials off the client?

  1. Expose the credentials in a hidden form field
  2. Call the service directly from the browser with the credentials in the URL
  3. Route the call through an AEM servlet or form data model on the server Correct answer.
  4. Embed the credentials in the form's client library

Explanation

Server-side servlets and form data models keep credentials and network access on the AEM instance, never exposing them to the browser. Client-side approaches expose secrets to end users.

Question 9Forms development environment, setup, and architecture

A developer wants to reuse a common header across many adaptive forms so that a change propagates everywhere. Which mechanism supports this?

  1. A form fragment referenced by each form Correct answer.
  2. A client library duplicated per form
  3. A workflow launcher per form
  4. A separate form copied into each asset

Explanation

Form fragments are reusable components that can be referenced by multiple adaptive forms, so updates propagate to every form that uses them. Copies and duplicated assets do not propagate changes.

Question 10Forms development environment, setup, and architecture

Which OSGi configuration determines the data source pool used by a form data model to connect to an external system?

  1. The dispatcher cache configuration
  2. The replication transport configuration
  3. The client library configuration
  4. The JDBC data source configuration Correct answer.

Explanation

A form data model relies on configured data source pools, such as JDBC configurations, to reach external systems. The other configurations serve unrelated infrastructure roles.

Question 11Forms development environment, setup, and architecture

A form submission must be validated on the server before being persisted. Which AEM Forms feature is best suited to enforce server-side validation rules?

  1. A browser autocomplete attribute
  2. A client-side script that blocks the submit button
  3. A CSS rule that hides invalid fields
  4. A submit action backed by a servlet or workflow that validates the payload Correct answer.

Explanation

Server-side validation must occur on the server, typically in a servlet or workflow that inspects the submitted payload. Client-side scripts and CSS can be bypassed and cannot enforce server-side rules.

Question 12Forms development environment, setup, and architecture

Which AEM feature allows a developer to define a reusable schema for form data that can be bound to an adaptive form?

  1. A client library
  2. A JSON schema Correct answer.
  3. A replication agent
  4. A workflow model

Explanation

JSON schemas define the structure of form data and can be bound to adaptive forms to control data shape. The other features serve unrelated roles.

Question 13Forms development environment, setup, and architecture

A developer needs to prefill an adaptive form with data from a REST endpoint at render time. Which configuration supports this?

  1. A form data model service bound as the prefill source Correct answer.
  2. A client library that hardcodes the data
  3. A dispatcher rule that rewrites the request
  4. A static default value on each field

Explanation

Form data models expose services that can be bound as prefill sources, fetching data at render time. Static defaults and hardcoded values do not fetch live data.

Question 14Forms development environment, setup, and architecture

Which AEM console is used to deploy a content package containing forms assets to an instance?

  1. The user administration console
  2. The workflow console
  3. The translation console
  4. The package manager console Correct answer.

Explanation

The package manager console deploys and manages content packages, including forms assets. The other consoles handle different administrative tasks.

Question 15Forms development environment, setup, and architecture

A team wants adaptive forms to be authored in one environment and consumed in another. Which configuration ensures the form assets are available on the consuming instance?

  1. Editing the form directly on the target instance
  2. Storing the form only in the local file system
  3. Disabling replication on the source instance
  4. Replicating the form content and its dependencies to the target Correct answer.

Explanation

Form assets and their dependencies must be replicated to the target instance so they are available where consumed. Editing only on the target or disabling replication breaks the workflow.

Question 16Forms development environment, setup, and architecture

Which AEM Forms component is responsible for converting submitted form data into a record document for archival?

  1. The client library manager
  2. The dispatcher module
  3. The package manager
  4. The output service used by the record document generation step Correct answer.

Explanation

The output service renders record documents from submitted data and templates during workflow execution. Dispatchers and package managers do not generate documents.

Question 17Forms development environment, setup, and architecture

A developer must restrict which users can access the Forms authoring environment. Which AEM mechanism enforces this?

  1. Client library categories
  2. Dispatcher cache rules
  3. Workflow launchers
  4. ACLs applied to form content paths Correct answer.

Explanation

Access control lists on content paths determine which principals can read or modify form assets. The other mechanisms do not enforce user permissions.

Question 18Forms development environment, setup, and architecture

Which AEM Forms capability allows a developer to embed a form in an external website while keeping the form definition on AEM?

  1. The translation project
  2. The workflow launcher
  3. The adaptive forms embed capability Correct answer.
  4. The package manager

Explanation

Adaptive forms can be embedded in external sites while the definition remains hosted on AEM. The other capabilities do not provide embedding.

Question 19Forms development environment, setup, and architecture

An adaptive form must submit data to a custom endpoint that requires a specific payload structure. Which submit action configuration supports this requirement?

  1. A default email submit action
  2. A REST endpoint submit action with a custom payload mapping Correct answer.
  3. A reset action
  4. A save-as-draft action

Explanation

A REST endpoint submit action can be configured with a custom payload mapping to match the target endpoint's structure. Email, save-as-draft, and reset actions do not send custom payloads to a REST endpoint.

Question 20Forms development environment, setup, and architecture

A developer observes that a change to a form fragment is not reflected in a form that references it. Which cause is most consistent with this symptom?

  1. The replication agent is paused on an unrelated path
  2. The client library cache is disabled
  3. The fragment reference resolves to a different fragment version Correct answer.
  4. The workflow launcher is inactive

Explanation

If the reference resolves to a different fragment version, edits to the intended fragment will not appear. Cache, launcher, and unrelated replication settings do not explain a version mismatch.

Question 21Forms development environment, setup, and architecture

A form data model must read from two different external systems in a single form. Which configuration approach is appropriate?

  1. Configure both data sources and associate them with one form data model Correct answer.
  2. Embed one system's credentials in the client library
  3. Create two separate forms with one data source each
  4. Use a workflow launcher per data source

Explanation

A single form data model can be associated with multiple configured data sources, allowing one form to read from both systems. Splitting the form or embedding credentials does not meet the requirement.

Question 22Forms development environment, setup, and architecture

A developer needs to ensure that a form's client-side scripts are loaded in the correct order relative to AEM's own libraries. Which mechanism controls this?

  1. Client library dependencies and categories Correct answer.
  2. Workflow launcher configuration
  3. Dispatcher cache rules
  4. Replication agent settings

Explanation

Client library dependencies and categories determine load order and grouping of front-end assets. The other mechanisms do not control script load order.

Question 23Forms development environment, setup, and architecture

A form submission fails only on the publish instance while succeeding on author. Which factor is most likely responsible?

  1. A missing client library category on author
  2. A workflow model that exists only on publish
  3. A service configuration present on author but missing on publish Correct answer.
  4. A dispatcher rule that rewrites author URLs

Explanation

Environment-specific configurations such as data source or service settings must exist on the instance handling the submission. A configuration missing on publish would cause publish-only failures.

Question 24Forms development environment, setup, and architecture

A developer must prevent form data from being stored in the JCR while still generating a record document. Which approach is consistent with this requirement?

  1. Use the save-as-draft action to persist partial data
  2. Rely on the browser's local storage for persistence
  3. Submit to an external endpoint and generate the record document in the same workflow Correct answer.
  4. Store the submission in a JCR node and delete it later

Explanation

Submitting to an external endpoint avoids JCR persistence while a workflow step can still generate the record document. Save-as-draft, JCR storage, and browser storage all persist data in unwanted locations.

Question 25Adaptive Forms authoring and form model design

In an Adaptive Form, which construct is used to bind a form object to a data model element and control its read/write behavior?

  1. The Bind Reference property of the form object Correct answer.
  2. The Layout mode of the panel
  3. The Help Text of the field
  4. The client library category

Explanation

The Bind Reference property associates a form object with a node in the data model and determines whether the field reads, writes, or does both against that node. Layout, help text, and client libraries affect presentation only and do not participate in data binding.

Question 26Adaptive Forms authoring and form model design

A form author needs a form object that writes its value into the data model but never displays a value coming back from the model. Which bind reference direction should be used?

  1. One way (write only) Correct answer.
  2. Two way
  3. No binding
  4. One way (read only)

Explanation

A write-only binding pushes the user-entered value into the model without reflecting model changes back into the field. A read-only binding does the opposite, and a two-way binding synchronizes in both directions.

Question 27Adaptive Forms authoring and form model design

Which statement describes the purpose of a Form Data Model in Adaptive Forms authoring?

  1. It defines the visual theme applied to the form
  2. It stores the audit history of submitted forms
  3. It describes the data schema and services that form objects bind to Correct answer.
  4. It specifies the PDF render format for the form

Explanation

A Form Data Model is a schema-like abstraction over data sources and services; form objects bind to its entities and can invoke its operations. It does not govern theming, submission auditing, or rendering format.

Question 28Adaptive Forms authoring and form model design

An author wants a submit button to invoke a Form Data Model service operation instead of a standard submit action. Which configuration enables this?

  1. Configure the Submit action to use the Form Data Model service Correct answer.
  2. Enable the Repeatable property on the button
  3. Set the panel layout to Accordion
  4. Add a client library to the button

Explanation

The Submit action can be configured to call a Form Data Model service operation, passing bound data as input. Layout, repeatability, and client libraries do not change what the submit action invokes.

Question 29Adaptive Forms authoring and form model design

What is the primary role of a rule editor rule in an Adaptive Form?

  1. To add dynamic behavior such as show/hide and value computation Correct answer.
  2. To generate the form's HTML markup
  3. To define the database connection string for the form
  4. To set the form's publication schedule

Explanation

Rules attach conditional and computational behavior to form objects at runtime, such as visibility, validation, and calculated values. Connections, scheduling, and markup generation are handled elsewhere in the platform.

Question 30Adaptive Forms authoring and form model design

An author writes a rule so that a panel becomes visible only when a checkbox is selected, and the panel should start hidden. Which combination is required?

  1. Set the panel to repeatable and add a validation script
  2. Set the panel's default visibility to hidden and add a rule that shows it when the checkbox is true Correct answer.
  3. Set the panel's layout to Wizard
  4. Set the panel's bind reference to write only

Explanation

Dynamic visibility requires both a default state and a rule that changes it based on the triggering field. Setting the panel hidden by default ensures the initial state matches the intended behavior before the rule fires.

Question 31Adaptive Forms authoring and form model design

Which panel type is best suited for guiding users through a multi-step form one section at a time?

  1. Tabs on the left
  2. Responsive grid
  3. Accordion
  4. Wizard Correct answer.

Explanation

A Wizard panel presents its child panels as sequential steps with next and back navigation, which suits guided multi-step entry. Accordion and tabs show sections simultaneously or via toggling, and a responsive grid is a layout mechanism.

Question 32Adaptive Forms authoring and form model design

A form must let a user add any number of dependents, each with a name and age. Which configuration achieves this?

  1. A repeatable panel containing the name and age fields Correct answer.
  2. A static text component listing the fields
  3. A single text field with a comma-separated list
  4. A file attachment component

Explanation

Marking a panel as repeatable lets the user add and remove instances of the panel, each with its own bound child fields. A single field cannot capture structured repeated records, and static or attachment components do not collect structured data.

Question 33Adaptive Forms authoring and form model design

Which artifact is used to change colors, typography, and spacing across an Adaptive Form consistently?

  1. The theme Correct answer.
  2. The rule editor
  3. The submit action
  4. The Form Data Model

Explanation

Themes package CSS and styling definitions that apply consistently across a form's components. The Form Data Model, submit actions, and rules affect data and behavior, not visual styling.

Question 34Adaptive Forms authoring and form model design

A developer needs field values to be validated against a regular expression pattern before submission. Which property should be configured?

  1. The field's tooltip
  2. The field's validation pattern and its associated error message Correct answer.
  3. The field's default value
  4. The field's bind reference

Explanation

A validation pattern on a field enforces a format at entry time, and the associated message tells the user what is expected. Default values, tooltips, and bind references do not enforce format constraints.

Question 35Adaptive Forms authoring and form model design

An author wants to pre-populate an Adaptive Form with data fetched from a backend service when the form loads. Which approach is appropriate?

  1. Hard-code the values in each field's default value
  2. Add a client library that sets values on page load
  3. Configure the submit action to fetch data
  4. Use the Form Data Model prefill service to populate bound fields Correct answer.

Explanation

A prefill service retrieves data from the configured data source and populates bound form objects at load time. Hard-coding is not dynamic, client scripts bypass the model, and submit actions run at submission rather than load.

Question 36Adaptive Forms authoring and form model design

Which statement best describes a fragment in Adaptive Forms authoring?

  1. A rendering mode for mobile devices
  2. A reusable group of components that can be embedded in multiple forms Correct answer.
  3. A database table mapped to a form
  4. A single field that cannot be edited

Explanation

Fragments encapsulate a reusable set of components so authors can embed and maintain them across forms. They are not single locked fields, database tables, or rendering modes.

Question 37Adaptive Forms authoring and form model design

A form author needs to reuse a common address block in five different forms while keeping a single point of maintenance. Which feature is most appropriate?

  1. Create a fragment for the address block and embed it in each form Correct answer.
  2. Create a separate theme for the address block
  3. Copy the address fields into each form
  4. Add a rule to each form that duplicates the fields

Explanation

A fragment provides a single source that is embedded in multiple forms, so a change to the fragment propagates to all consumers. Copying fields duplicates maintenance, and themes and rules do not create reusable component groups.

Question 38Adaptive Forms authoring and form model design

In a rule, an author wants to run a sequence of actions only when two separate conditions are both true. Which logical operator should combine the conditions?

  1. NOT
  2. XOR
  3. AND Correct answer.
  4. OR

Explanation

The AND operator requires every combined condition to be true for the action to run. OR would run the action when either condition holds, NOT negates a single condition, and XOR is not the standard operator for requiring both.

Question 39Adaptive Forms authoring and form model design

Which statement about the relationship between an Adaptive Form and its data model schema is accurate?

  1. Multiple form objects may bind to different nodes of the same schema Correct answer.
  2. Each form field must map to a unique top-level entity
  3. The schema must be regenerated whenever a rule changes
  4. A form may bind to only one field in the schema

Explanation

Form objects bind to various nodes within a single schema, so different fields can reference different parts of the same data model. Fields are not restricted to top-level entities, forms are not limited to one field, and rules do not alter the schema.

Question 40Adaptive Forms authoring and form model design

An author needs a calculated total that updates as the user types values into quantity and price fields. Which configuration achieves this?

  1. A bind reference on the total field set to read only
  2. A prefill service on the total field
  3. A rule on the total field that sets its value from quantity multiplied by price Correct answer.
  4. A validation pattern on the total field

Explanation

A value-setting rule on the total field recomputes it from the other fields whenever they change. Validation patterns, prefill services, and read-only bindings do not perform runtime arithmetic.

Question 41Adaptive Forms authoring and form model design

Which property determines whether a form object participates in the submitted data payload?

  1. Its help text
  2. Its tooltip text
  3. Its bind reference to a data model node Correct answer.
  4. Its layout

Explanation

The bind reference ties a form object to a data model node, and only bound objects contribute their values to the submitted payload. Tooltips, layout, and help text are presentation concerns with no effect on the payload.

Question 42Adaptive Forms authoring and form model design

A developer wants a form to display a list of options that originates from a backend data source rather than a static list. Which configuration supports this?

  1. A static text component with the options listed
  2. A check box with a default value
  3. A drop-down whose options are bound to a data model service or entity Correct answer.
  4. A text field with a validation pattern

Explanation

Binding a choice component's options to a Form Data Model entity or service lets the option list reflect backend data. Text fields, check boxes, and static text cannot dynamically source a list of choices.

Question 43Adaptive Forms authoring and form model design

Which statement correctly distinguishes a rule from a client-side script in Adaptive Forms authoring?

  1. Scripts are required for any field validation
  2. Rules are authored declaratively in the editor while scripts require custom code Correct answer.
  3. Rules execute only on the server
  4. Rules can only change visibility while scripts can change values

Explanation

Rules are declarative constructs configured through the rule editor, whereas scripts involve custom JavaScript. Rules can perform many behaviors beyond visibility and run in the browser, so the other statements misstate their capabilities.

Question 44Adaptive Forms authoring and form model design

An author wants to ensure that a field is required only when a user selects a particular radio button option. Which approach is appropriate?

  1. Mark the field as always required
  2. Set a default value on the field
  3. Use a rule that sets the field's required state based on the radio selection Correct answer.
  4. Add a tooltip to the radio button

Explanation

A rule can toggle the required property of a field in response to another field's value, enabling conditional mandatory entry. Always-required, default values, and tooltips do not create conditional requirements.

Question 45Adaptive Forms authoring and form model design

Which layout mode should be selected so that panels and fields reflow into a column arrangement on narrow screens?

  1. Fixed layout
  2. Responsive layout Correct answer.
  3. Tab layout
  4. Accordion layout

Explanation

Responsive layout uses a grid that adapts to screen width, allowing components to reflow on smaller devices. Fixed layout keeps a set arrangement, and tab and accordion layouts control section presentation rather than responsive reflow.

Question 46Adaptive Forms authoring and form model design

A form must save a partially completed draft so a user can resume later. Which capability addresses this requirement?

  1. A prefill service that loads the last submission
  2. A save-as-draft configuration that persists partial form data Correct answer.
  3. A validation pattern on the submit button
  4. A client library that stores values in a cookie

Explanation

Save-as-draft functionality persists partial form data so the user can resume from where they stopped. Prefill loads prior data but does not provide the draft-saving workflow, and validation or cookies are not the intended mechanism.

Question 47Adaptive Forms authoring and form model design

Which statement about the Form Data Model's service operations is correct?

  1. They replace the need for a data schema
  2. They can be invoked from rules and submit actions to interact with backend systems Correct answer.
  3. They execute only when the form is published
  4. They are used only to style form components

Explanation

Service operations defined in the Form Data Model can be called from rules and submit actions to read or write backend data. They do not handle styling, do not replace the schema, and are not tied to publication events.

Question 48Adaptive Forms authoring and form model design

An author needs to display a confirmation message to the user after a successful submission without leaving the form. Which submit action behavior supports this?

  1. Set all fields to read only
  2. Submit to a REST endpoint with no confirmation
  3. Use a submit action that shows a confirmation message Correct answer.
  4. Disable the submit button after entry

Explanation

Certain submit actions can display a confirmation message in place after a successful submission. Submitting without confirmation, disabling the button, or making fields read-only do not present a success message.

Question 49Adaptive Forms authoring and form model design

Which consideration is most important when choosing between a two-way and a one-way binding for a display-only summary field?

  1. A two-way binding is required for the field to render at all
  2. A two-way binding allows the user to overwrite model data, which is undesirable for a summary Correct answer.
  3. Bindings have no effect on display-only fields
  4. A one-way binding prevents the field from displaying any value

Explanation

For a summary that should reflect model data without user edits, a read-only binding avoids unintended writes. A two-way binding would allow user input to overwrite the model, which conflicts with display-only intent.

Question 50Adaptive Forms authoring and form model design

Which Adaptive Form data model type allows a form to be bound directly to a JSON schema document that describes the structure of the submitted data?

  1. Database-backed data model
  2. XML schema-based data model
  3. Form data model backed by a RESTful web service
  4. JSON schema-based data model Correct answer.

Explanation

A JSON schema data model binds form objects to the properties defined in a JSON schema document, using that schema to describe the data structure and constraints. XML and database models use different underlying representations, and a REST-backed form data model is built on a service definition rather than a raw JSON schema.