What is the complete format of an OPC UA NodeId?
D — All of the above are valid
A NodeId is a tuple (Namespace Index, Identifier) and the standard defines four identifier types, so all the partial answers are correct: i= for a 32-bit numeric identifier (the most network-efficient), s= for a string identifier (human-readable, e.g. "Pump1.Status"), g= for a 128-bit GUID, and b= for an opaque byte string. Option A is incomplete because it only covers the numeric form. Option B is incomplete because it only covers the string form. Option C is incomplete because it only covers the GUID form. The URI form looks like ns=2;s=Boiler1.Temperature, where namespace index 0 is the OPC UA Foundation, 1 is the local server, and 2+ are vendor or Companion Spec namespaces.
Never hard-code a numeric NodeId across firmware versions: numeric identifiers are vendor-allocated and can shift, whereas string NodeIds are usually stable and self-documenting.
- A.ns=N;i=Identifier (numeric)
- B.ns=N;s=Identifier (string)
- C.ns=N;g=Identifier (GUID)
- D.All of the above are valid✓
OPC UA bank in preparation
The full OPC UA bank isn't available yet. Drop your email to get notified at launch and grab an early-bird discount.
Join the waitlist →See the 9 other OPC UA practice questions
Related questions
- OPC UA supports two communication patterns: Client/Server (the classic Request/Response model) and Pub/Sub (publish/subscribe over MQTT or UDP multicast/unicast), the latter introduced in version 1.04 to address Industrie 4.0 use cases.1. Architecture · Client/Server vs. Pub/Sub
- The OPC UA Address Space is a hierarchical structure of Nodes linked by typed References (HasComponent, HasProperty, HasTypeDefinition, etc.), exposed as a graph that clients can walk through the Browse service.1. Architecture · Address Space
- The main OPC UA Service Sets are: Discovery, SecureChannel, Session, NodeManagement, View, Query, Attribute (Read/Write), MonitoredItem, Subscription, and Method (Call).3. Services · Hauptsächliche Service Sets
- OPC UA separates Application authentication (the client/server X.509 certificate) from User authentication (the actual end-user login), which can be Anonymous, Username/Password, or User Certificate.4. Security · User-Authentifizierung
- PA-DIM (Process Automation Device Information Model) is an OPC UA Companion Specification for process transmitters (temperature, pressure, flow, level), standardising 70+ parameters that are read identically on Endress+Hauser, Yokogawa, Siemens and ABB devices.6. Companion Specs · PA-DIM