Drag steps to the numbered slots on the right, or tap a step then tap a slot.
350-401 Practice Question: Drag and drop the steps of gNMI Subscribe RPC…
Drag and drop the steps of gNMI Subscribe RPC using Python gRPC library into the correct order, from first to last.
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
Compile gnmi.proto to generate Python stubs
The correct order starts with generating gNMI protobuf stubs, then creating a gRPC channel and stub. Next, a SubscribeRequest is built with paths and mode, the Subscribe RPC is called, and finally responses are iterated from the stream.
Go deeper
Related to this question
About these practice questions
This 350-401 question is part of Courseiva's 1,175-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 →
Same concept, more angles
1 more way this is tested on 350-401
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. Drag and drop the steps of gNMI Subscribe RPC using Python gRPC library into the correct order, from first to last.
hard- ✓ A.Import gnmi_pb2, gnmi_pb2_grpc, and grpc
- ✓ B.Create grpc.secure_channel with target and credentials
- ✓ C.Instantiate gnmi_pb2_grpc.gNMIStub using channel
- ✓ D.Build SubscribeRequest with path and subscription mode
- ✓ E.Call stub.Subscribe and iterate over response stream
Why A: The correct order starts with importing the gNMI protobuf modules and gRPC, creating a secure channel with credentials, instantiating the gNMI stub, building a SubscribeRequest with paths and mode, and finally calling the Subscribe RPC and iterating over responses.
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 350-401 practice question is part of Courseiva's free Cisco 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 350-401 exam.