Back to exam

1Y0-204 Cheatsheet

Citrix Virtual Apps and Desktops 7 Administration

Download free PDF

Architecture, cloud and administration

FMA components and layers

  • **Delivery Controllers** register VDAs and broker connections. The **VDA** runs on each workload machine and delivers its applications or desktop through HDX.
  • **Studio** configures the Site; **Director** monitors operations. **StoreFront** authenticates and enumerates resources; **Gateway** secures remote access and proxies HDX.
  • The **access layer** contains StoreFront and Gateway; the **control layer** contains Controllers, databases and licensing. The **resource layer** contains workload images, VDAs and personalization; the hardware layer supplies compute, storage and networking.
  • FMA services divide responsibility: **Broker** handles brokering; **Host** communicates with hosting platforms; **Machine Creation** provisions machines. Configuration, delegated administration and configuration logging support Site management.

Citrix Cloud and resource locations

  • **Citrix Cloud** manages the control plane, including Controllers, Site databases and service licensing. Customers manage workload images, VDAs, identity and resource-location infrastructure.
  • A **resource location** can be an on-premises datacenter or supported public cloud. StoreFront and Gateway can remain customer managed, or access can use the corresponding cloud services.
  • Deploy **at least two Cloud Connectors per resource location** for redundancy. Connector selection is handled by the service; an ADC load balancer is not required in front of them.
  • Install Connectors separately on supported, domain-joined Windows servers with working DNS, synchronized time and **outbound HTTPS 443** connectivity. Clone the clean OS first, then install the Connector on each resulting machine.
  • For **silent Connector installation**, identify the target resource location and supply the required service credentials securely. Keep Connector machines dedicated to their infrastructure role.

Availability, SQL and licensing

  • Use redundant **Controllers**, StoreFront servers and access paths. SQL availability options include **Always On availability groups**, failover cluster instances and supported database mirroring configurations.
  • **Local Host Cache** keeps a local configuration database. During a qualifying database or cloud-connectivity outage, an elected broker uses cached configuration for supported launches; it does not provide unrestricted normal operation.
  • Existing **HDX connections** carry session traffic independently of the Site database. For cloud-outage access, plan an available local StoreFront and authentication path as well as Connector cache readiness.
  • Controller services access SQL using the **Controller machine identity** through Windows authentication. Database creation and Controller registration need appropriate SQL provisioning rights; a DBA can run generated scripts.
  • Use the required Citrix **database collation** when precreating SQL databases. Back up Site, monitoring and configuration-logging databases and test recovery alongside SQL high availability.
  • Allocate license files against the **License Server hostname** and configure the matching product edition in Studio. Common licensing ports are **27000** for the license manager, **7279** for the vendor daemon and **8083** for HTTPS license management.

Delegated administration and PowerShell

  • Delegation combines an **administrator**, a **role** defining permitted actions and a **scope** defining manageable objects. Use **Read Only** for inspection and **Help Desk** for supported session and machine support actions.
  • **Delivery Group Administrator** permissions cover delivery and application administration, including Application Groups. **Full Administrator** is Site-wide; use a narrower built-in or custom role for scoped work.
  • Cloud delegation has two levels: grant the needed **Citrix Cloud service access**, then assign the service role and scope. Limit a contractor to the relevant application resources.
  • In a Controller SDK shell, load Citrix commands with **Add-PSSnapin Citrix*** when required. **Get-BrokerSite** reports Site configuration; **Get-Service -DisplayName *citrix*** lists matching Windows services.

Images, catalogs and resource delivery

Master images and provisioning choices

  • Install the **VDA**, applications and required agents on the master image. Apply tested OS optimizations with **Citrix Optimizer**, then capture a clean snapshot for catalog creation.
  • **Machine Creation Services (MCS)** creates VMs through a hosting connection using a prepared image. **Citrix Provisioning** streams a shared vDisk over the network. Existing machines can be added through manual catalogs.
  • Choose **persistent dedicated machines** when user-installed applications and local changes must survive restarts. **Random, nonpersistent machines** reset image changes; preserve user data separately.
  • A **hosting connection** supplies hypervisor credentials and resources for provisioning and power control. Supported platforms depend on the deployment; on-premises choices include Citrix Hypervisor, Hyper-V and Nutanix AHV.

MCS disks and image maintenance

  • The **base disk** contains the prepared OS image. A linked-clone **differencing disk** receives writes, including software installed during a user session. The small **identity disk** holds machine-specific identity information.
  • For **nonpersistent** machines, restart discards the working changes and recreates the differencing disk. An identity disk is not a personal-data disk; disk sizing varies with the hosting platform.
  • An **image update** prepares a new base from the selected snapshot and rolls it out as machines restart. Keep rollback snapshots and coordinate user notification before replacing the active image.
  • **MCS I/O optimization** caches writes in memory with disk overflow to reduce storage I/O. Include the **MCS I/O driver** in image preparation and size cache resources for the workload.
  • Prepare supported **Windows activation** for cloned machines. Check KMS reachability, image licensing configuration and rearm state when activation fails; image preparation also handles supported network and licensing adjustments.

Catalogs, Delivery Groups and registration

  • A **machine catalog** groups machines with compatible provisioning and OS characteristics. A **Delivery Group** allocates catalog machines to users and publishes applications or desktops.
  • Adding machines requires **unallocated, compatible catalog capacity**, correct permissions and a suitable functional level. Single-session and multisession OS types must match the Delivery Group design.
  • **VDA registration** requires an appropriate Controller list, functioning Citrix services, DNS, domain trust, time synchronization and firewall access. A catalog functional level above VDA capability can prevent registration.
  • Controller discovery can use **installation configuration**, **Group Policy**, supported AD discovery or provisioning-supplied information such as **PERSONALITY.INI**. Check the effective configuration before changing individual machines.
  • For **cloud migration**, point VDAs to resource-location Cloud Connectors and recreate the needed catalogs, Delivery Groups and access configuration. Use the **Remote PowerShell SDK** where Provisioning workflows require cloud administration.

Power management and application targeting

  • **Autoscale** balances capacity and power use with schedules, load thresholds and spare capacity. Hosting integration must support power actions; supported on-premises GUI administration uses **Web Studio**.
  • **Restart schedules** set frequency, start time, warnings and a restart window. **New-BrokerRebootScheduleV2** creates a schedule; **Set-BrokerRebootScheduleV2** changes one. Use 24-hour time, such as 23:00.
  • **RebootDuration** distributes the restart cycle over an overall window in minutes. It is not a fixed delay between individual machines. **Tag restrictions** allow different schedules for subsets of one Delivery Group.
  • **Application Groups** organize applications across selected Delivery Groups. A **tag restriction** limits eligible hosting machines; **Limit Visibility** controls application enumeration for selected users, not every possible execution path.

StoreFront, Gateway and HDX sessions

Stores and authentication

  • **StoreFront** aggregates entitled resources from configured Controllers or Cloud Connectors. During migration, update the store XML server list for enumeration and the **STA** lists for external launch.
  • Use **username and password**, domain pass-through, smart card or Gateway pass-through according to the access design. Configure **trusted domains** within the store authentication settings.
  • Use separate **authenticated** and **unauthenticated stores** when both access models are required. Anonymous access needs appropriately published anonymous applications; it is not a general bypass for user desktops.
  • For **Azure AD authentication** to cloud Workspace, connect the identity provider in Citrix Cloud and select it in Workspace authentication configuration. Workload Windows sign-on remains a separate identity requirement.
  • In a **StoreFront server group**, make a configuration change on one server and use **Propagate Changes**. Non-domain-joined deployment has authentication and server-group limitations; validate that topology before using it.

Workspace discovery and application presentation

  • **Native Workspace app** provides installed-client integration, domain pass-through and supported prelaunch capabilities. **Workspace app for HTML5** runs sessions in a browser when local installation is restricted.
  • **Email-based account discovery** uses a DNS **_citrixreceiver._tcp SRV** record to locate the access service. Managed endpoints can instead receive store configuration through deployment scripts or policy.
  • Deploy **ADMX** files and matching language **ADML** files to the Group Policy central store to manage Workspace app consistently. The templates configure endpoint settings, not the Site broker.
  • Application descriptions support **KEYWORDS:Auto** for automatic subscription and **KEYWORDS:Mandatory** for a subscription users cannot remove. **Featured** helps promote applications; app groups can use names, keywords or categories.
  • **Application categories** control user-facing grouping. Folders under the Studio Applications node organize administration and do not by themselves create StoreFront categories. **Self-service mode** manages subscriptions and supported Start menu shortcuts.

Secure enumeration and launch

  • **Gateway** authenticates external users, proxies access to StoreFront and carries HDX sessions to internal VDAs. StoreFront performs resource enumeration and aggregation.
  • **Secure Ticket Authority (STA)** tickets authorize access to the target VDA without exposing unrestricted internal access. Configure matching, reachable STA servers on **StoreFront and Gateway**; Controllers provide STA on premises and Connectors serve the cloud resource location.
  • Protect each traffic hop separately. **Browser-to-StoreFront HTTPS** needs a valid StoreFront certificate. **StoreFront-to-Controller XML over HTTPS** needs a Controller certificate/listener and HTTPS transport in the store server list.
  • **XML service trust** permits trusted authentication requests; it does not encrypt traffic. **Set-BrokerSite -TrustRequestsSentToTheXmlServicePort $true** configures broker trust on the Controller side when the authentication design requires it.
  • After enabling Controller or Connector **TLS**, update StoreFront to use HTTPS and validate name matching and certificate trust. Close an unused HTTP listener only after the secure path works.

HDX transport, reconnection and launch speed

  • Direct internal **ICA** commonly uses **TCP 1494**; **Session Reliability** uses **TCP 2598**. **EDT** uses UDP equivalents, **1494 or 2598**, according to Session Reliability. External Gateway access normally uses **443** with the configured transport.
  • **Adaptive Transport Preferred** tries EDT and can fall back to TCP. **Diagnostic mode** forces EDT for troubleshooting; blocked UDP does not produce the normal TCP fallback.
  • **Session Reliability** preserves the session display during a temporary interruption. **Auto Client Reconnect** reconnects after a dropped connection. **ICA Keep Alive** detects broken connections and does not apply when Session Reliability is enabled.
  • **Workspace Control** governs reconnecting and roaming sessions between devices. **Session sharing** reuses a compatible session; **prelaunch** prepares a session before opening an app; **lingering** keeps it available briefly after the last app closes.
  • For constrained links, tune **frame rate**, color depth, video quality and visual effects. **Browser content redirection** renders supported web content on the endpoint, reducing VDA processing when the endpoint and policy support it.

Policies, profiles and printing

Policy processing and assignment

  • Configure **Citrix policies** in Studio or through AD Group Policy. Install the **Citrix Group Policy Management** component on the editing computer to expose Citrix settings in GPMC.
  • Normal processing proceeds from **local Group Policy**, then **Citrix Site policy**, then AD **site, domain and OU GPOs**. Later applicable settings take precedence, subject to enforcement and inheritance rules.
  • Within a Citrix policy list, a **lower priority number** wins conflicting configured settings. **Not configured** supplies no value, so a lower-priority baseline can still determine the result.
  • Check **filters**, enabled state, assigned Site and conflicting GPO settings when a policy seems absent. Use **Group Policy Modeling** or resultant-policy tools instead of inferring the result from one console.
  • For user settings linked to the **VDA computer OU**, configure **loopback processing** as needed. Merge adds computer-location user policies; Replace uses that location instead of the normal user-policy list.
  • Where supported, **policy sets** group policies and are assigned to **Delivery Groups**. One Delivery Group uses one set at a time; multiple groups can share a set. Individual policy filters still apply.

Profile Management and user data

  • **Citrix Profile Management** synchronizes selected user files and registry settings with a central user store. Use a reachable, correctly secured store and separate incompatible profile formats.
  • **Migration of existing profiles** imports a suitable existing profile when a user first logs on under Profile Management. **Processed groups** define included users; **excluded groups** prevent processing.
  • **Profile streaming** fetches profile files and folders on demand, reducing initial file transfer. **Folder redirection** keeps large data folders such as Documents outside the roaming profile.
  • **Active write back** transfers supported changed files during the session to reduce exposure before logoff. It complements storage protection; it cannot guarantee recovery from every crash.
  • **NTUSER.DAT backup** protects the profile registry hive. It does not back up every user document. Exclusions reduce synchronized data; folder redirection and actual backups serve different purposes.

Printer creation and driver strategy

  • **Auto-create client printers** controls endpoint printer mapping; the traditional default creates all client printers. **Session printers** assign network queues through policy, including location-based targeting.
  • For **location-based printing**, filter session-printer policies by the relevant connection attributes and disable unwanted automatic client printer creation. Set the desired default printer explicitly.
  • **Universal Print Driver (UPD)** reduces vendor-driver requirements on VDAs for supported printing paths. **Universal Print Server (UPS)** adds Citrix universal printing support to network print servers.
  • For network queues using UPS, install its server component on the print server and configure the VDA-side **Universal printer driver usage** and UPS policies. Installing a component alone does not select every printing path.
  • The **Citrix Print Manager Service** handles session printing events and impersonates the user for appropriate operations. Check it alongside the Windows Print Spooler when printers fail to appear.

Print routing and retained preferences

  • **Direct connections to print servers** send jobs from the VDA to the network print server when that path is used. Client-routed printing carries jobs through the **HDX printing channel** and endpoint.
  • When a VDA cannot reach a client-accessible print server, evaluate **disabling direct connections** so the supported client path can be used. Test endpoint connectivity and the actual queue route.
  • **Printer properties retention** can store settings on the client or in the user profile. With a mandatory profile that discards changes, client-side retention can preserve supported preferences.
  • Modern supported clients can reflect **printer additions and removals during an active session**. Check client capability and policy rather than assuming every platform has identical behavior.
  • Move heavy printing to appropriately sized **network print servers** when VDA-attached printers overload session hosts. Printing bandwidth limits trade throughput for reduced impact on interactive HDX traffic.

Director, monitoring and troubleshooting

Match the Director view to the symptom

  • **Dashboard** shows current Site health, connection and machine failures, and infrastructure status such as database, licensing and hosting connections. **Filters** finds machines, sessions and application instances for support actions.
  • **Logon Performance** separates logon phases to locate slow authentication, profile processing, scripts or session initialization. Start here when users report slow desktop sign-in.
  • **Machine Details / Machine Utilization** exposes CPU, memory and supported disk metrics. **Trends** provides historical utilization, failures, load and capacity views; availability and retention depend on licensing and configuration.
  • **Load evaluator** data helps explain multisession-host capacity and session placement. A slow application inside an established desktop also calls for machine-resource and process investigation.
  • **Application failures** record observed faults or errors; **application probing** uses a configured probe agent to test launch availability proactively. A probe failure and an application crash describe different events.

Choose the right diagnostic tool

  • **Citrix Health Assistant** checks common VDA registration and configuration problems. For a registration failure, inspect Controller discovery, DNS, trust, clock skew, services, firewall rules and functional level.
  • **CDFControl** captures Citrix diagnostic traces. **Scout** collects diagnostic information for support; **HDX Monitor** examines HDX subsystem behavior. Use targeted tracing after identifying the failing component.
  • **Process Explorer** exposes process trees, handles and lingering child processes. **Process Monitor** captures file, registry and process activity when a published-app session does not close cleanly.
  • **Configuration Logging** records administrative changes. Correlate change time with Windows events and Director failures before collecting a broader diagnostic package.

Network insight and routine operations

  • **HDX Insight** combines ADC session telemetry, Application Delivery Management and Director integration to expose ICA round-trip time, latency and bandwidth. ADC visibility requires the relevant traffic to traverse it.
  • **Gateway Insight** helps investigate authentication failures and affected users; **Web Insight** analyzes web traffic; **Security Insight** focuses on security events. Match the telemetry source to the symptom.
  • Configure the **Director network integration** with its ADC/management appliance connection settings; the traditional utility is **DirectorConfig.exe /confignetscaler**. SCOM integration uses its own configuration path.
  • Daily checks include **standard-user access tests**, Director warnings and alerts, machine registration and power state, capacity and database-backup success. Separate daily operations from periodic patch and architecture reviews.
  • Use **alerts and thresholds** for abnormal connection counts or utilization, and export supported reports when sharing operational evidence. Check collection settings and license entitlements before expecting long-term fine-grained history.

Citrix ADC traffic and platform fundamentals

Platforms, addresses and forwarding

  • **MPX** is a physical ADC; **VPX** is a virtual appliance; **SDX** hosts isolated ADC instances; **CPX** is containerized. SDX instances can have separate configurations and compatible firmware versions.
  • **NSIP** identifies the appliance for management and commonly sources management traffic such as NTP. **SNIP** supplies server-side subnet connectivity; **VIP** accepts client traffic for a virtual server.
  • An interface has one **untagged/native VLAN**. Adding an untagged binding moves that association; **tagged VLANs** carry 802.1Q identifiers and can share a trunk interface.
  • **Layer 3 mode** routes eligible packets whose destination MAC belongs to the ADC but whose destination IP is elsewhere. **MAC-based forwarding** remembers the incoming next-hop MAC to help maintain return-path symmetry.
  • **LACP link aggregation** combines physical links when both ends are configured consistently. It increases aggregate capacity across flows; a single flow remains constrained by its selected link.
  • Check **licensed throughput** as well as link and CPU capacity. Supported platform license upgrades can unlock capacity; SDX bandwidth allocation and bursting govern instance shares within the appliance entitlement.

Load balancing and health monitoring

  • A **load-balancing virtual server** accepts client connections and selects bound **services or service-group members**. Monitors determine service availability; a configured server object alone does not create a usable traffic path.
  • **Round Robin** rotates selections; **Least Connection** favors fewer active connections; **Least Response Time** uses response behavior. **Startup round robin** can temporarily precede the configured method while statistics accumulate.
  • **Service weights** bias supported algorithms toward higher-capacity servers. A relative weight of two versus one requests approximately twice the share under otherwise equivalent conditions.
  • **HTTP-ECV** validates expected response content with a receive string. TCP checks connection establishment; HTTP checks can validate response status. Choose a monitor that represents actual application readiness.
  • **No-monitor** configurations remove active probing but also remove that health signal. Confirm effective monitor settings; removing a custom monitor can expose a default monitor.
  • **Content switching** evaluates request attributes and selects a target virtual server. A default target handles unmatched traffic; a configured redirect URL can provide a fallback when the switching virtual server is down.

TLS termination and certificates

  • Create a **private key**, generate a **certificate signing request**, obtain the certificate and install the certificate-key pair. Bind the server certificate to the SSL virtual server and include required intermediate certificates.
  • Clients need a trusted **certificate chain**, a matching hostname and valid certificate dates. A root certificate installed only on the ADC does not establish trust on client devices.
  • **SSL offload** terminates client TLS on the ADC. **SSL re-encryption** uses TLS again to the backend, preserving encrypted hops while allowing inspection and optimization.
  • **SSL bridge** passes encrypted traffic without decrypting it. It cannot inspect or rewrite HTTP content inside that encryption. Use an **SSL profile** to apply consistent TLS parameters across virtual servers.
  • Certificate policies can inspect **VALID_NOT_BEFORE**, **VALID_NOT_AFTER** and **DAYS_TO_EXPIRE** for client certificates. Apply supported protocol, cipher and renegotiation restrictions deliberately.

Expressions, rewrite and responder

  • A **policy** combines a matching expression with an action and a binding point. Advanced expressions inspect request, response, client and server properties; legacy classic expressions have different syntax and capabilities.
  • **HTTP.REQ.HOSTNAME.EQ("www.example.com")** matches a request hostname. To redirect only the root path, test **HTTP.REQ.URL.EQ("/")**; a contains-slash test can repeatedly match the destination and create a loop.
  • **Responder** returns, redirects or drops a request. **Rewrite** changes requests or responses, including headers, URLs or protocol fields; select the correct traffic direction and target expression.
  • Bindings normally evaluate from **lower numeric priority** upward. **GotoExpression END** stops that chain; **NEXT** permits further evaluation. Policy labels support reusable evaluation chains.
  • Group Boolean alternatives explicitly: **subnet AND (UDP port 53 OR TCP port 53)** limits both DNS transports to that subnet. Missing parentheses can unintentionally match all TCP DNS traffic.
  • **HTTP callouts** query an external service from policy expressions. Cache callout results for the intended interval and exclude marked callout requests from the invoking policy to prevent recursion.
  • **Compression** reduces transfer size when enabled and applicable; **front-end optimization** can inline or reposition CSS and other resources. Validate application behavior before applying content transformations.

DNS proxy and GSLB

  • **DNS proxy** forwards DNS requests and returns responses. **AA** identifies an authoritative response; **TC** signals truncation, which can cause a client to retry over TCP. DNS may require both UDP and TCP 53.
  • **GSLB** selects a site through DNS. Its virtual servers bind GSLB services and domain names; selection can reflect availability, load or proximity. **Static Proximity** uses geographic location information.
  • **Metric Exchange Protocol (MEP)** shares site and service information. **triggerMonitor MEPDOWN** invokes configured monitoring when MEP connectivity is unavailable; test both metric exchange and application reachability.
  • **Site persistence** helps keep a client at one site; DNS caching and the local DNS resolver influence site selection. Connection proxying can forward traffic to the persistence site using a server-side source address.
  • **Graceful service disablement** allows draining rather than immediate termination. Wait time controls the transition; verify persistence behavior and application connections before taking the server offline. Use **dig** or **nslookup** to inspect DNS answers.

High availability and recovery

  • An ADC **HA pair** normally has one primary processing traffic and one secondary. Use compatible builds and healthy HA communications; synchronize from the intended primary before testing failover.
  • **HA monitoring** evaluates relevant interfaces. An enabled, down interface can make a node unhealthy; monitor links that represent real service dependency and inspect heartbeat reachability on both nodes.
  • During pairing, control the **primary/secondary state** so the configured appliance remains the authoritative source. Synchronization from an empty new primary can overwrite the intended configuration.
  • **Virtual MAC** helps preserve a stable traffic-facing MAC across failover when upstream ARP behavior causes problems. **Independent Network Configuration** supports separate node networking in applicable topologies.
  • **HA fail-safe** can keep a node primary when both nodes fail health checks. It cannot restore broken physical connectivity or failed backend applications.
  • **Save configuration** persists running changes. Keep backups and review configuration revisions when a saved change causes an outage; a restart reloads saved configuration and does not undo a bad save.

Security, delegation and diagnostics

  • **Simple ACLs** provide limited source-based matching. **Extended ACLs** support richer criteria such as destination addresses and bridge actions. Match the attacked VIP as the destination; an ACL **TTL** is expressed in seconds.
  • **AAA** separates authentication from authorization and auditing. Configure reachable DNS names for authentication and application endpoints, plus compatible cookie domains for the chosen SSO design.
  • **Command policies** control administrator privileges: Read Only inspects; Operator adds limited operational actions; Sysadmin grants broad configuration without all Superuser powers. Partition administrators have restricted scope and no general shell access.
  • **Admin partitions** isolate delegated configurations. Include partition context in **SNMP traps** to identify the affected tenant, and configure management-platform alerts for virtual-server thresholds.
  • **ns.log / Syslog** carries textual events; **newnslog** stores binary performance and event data read with **nsconmsg**. **nstrace** captures packets; policy hit counters help confirm expression matching.
  • Use **aaad.debug** for authentication troubleshooting from an authorized shell and **Generate Support File** for a diagnostic bundle. **Secure Web Gateway** adds forward-proxy web inspection, URL controls and supported TLS inspection.