Courseiva

UiPath-ADAv1 Version Control and Libraries Practice Question

A developer is building a library in UiPath Studio that performs common Excel operations. A workflow inside the library uses the Excel Application Scope activity and relies on the UiPath.Excel.Activities package. When the developer publishes the library to Orchestrator and another team installs it, they report that their process fails with a 'Missing activity' error even though their project already references a different version of UiPath.Excel.Activities. What should the developer have done to prevent this dependency conflict?

⚠ Common exam trap

The trap here is assuming that the consuming project's existing reference automatically satisfies the library's dependency, when version resolution can still fail without a strict version constraint.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Set the UiPath.Excel.Activities dependency in the library's project.json to a specific version and mark it as a strict dependency.

The library must declare its dependency on UiPath.Excel.Activities with a specific version and mark it as strict so that the consuming project resolves a compatible version. Without this, NuGet may pick a different version, causing missing activity errors. Pinning and marking strict is the standard way to ensure library dependencies are honored.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Convert the Excel-dependent workflows into Invoke Code activities so the library no longer references UiPath.Excel.Activities.

    Why it's wrong here

    Rewriting the workflows as Invoke Code would remove the dependency but also discard the built-in Excel activity behavior and error handling the library is meant to provide. It does not address the version conflict itself and increases maintenance effort. This is a workaround, not a proper dependency management solution.

  • ✗

    Publish the library as a template instead of a library package so that the Excel activities are bundled directly into the consumer project.

    Why it's wrong here

    Templates are meant to scaffold new projects and do not manage runtime dependencies. Publishing as a template would not bundle the Excel activity package or resolve the version conflict. It would also change how the library is consumed and is not appropriate for a reusable component.

  • ✗

    Instruct the consuming team to uninstall all other versions of UiPath.Excel.Activities from their Orchestrator tenant and reinstall only the version used by the library.

    Why it's wrong here

    Forcing all teams to standardize on a single version across the tenant is impractical and fragile. It does not solve the root cause in the library and can break other processes that depend on different versions. Dependency management should be handled within the package manifest, not by tenant-wide uninstalls.

  • ✓

    Set the UiPath.Excel.Activities dependency in the library's project.json to a specific version and mark it as a strict dependency.

    Why this is correct

    Pinning the dependency to a specific version and marking it strict ensures that the consuming process uses a compatible version, preventing the missing activity error caused by version mismatch. It makes the library's contract explicit and reproducible, which is the recommended practice when sharing libraries across teams.

Visual reference

Client Recursive Resolver Root DNS (13 root servers) TLD DNS (.com, .org, …) Authoritative example.com query IP addr answer

About these practice questions

This UiPath-ADAv1 question is part of Courseiva's 285-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official UiPath exam blueprint

This UiPath-ADAv1 practice question is part of Courseiva's free UiPath certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the UiPath-ADAv1 exam.