Thank you to everyone who participated in the Certified Meshery Contributor Certification Study Group. I hope you found the sessions engaging and valuable.
Last week, we wrapped up the unit focused on the Meshery CLI (mesheryctl). To make the session more interactive, we also worked through a sample quiz together.
For those who couldn’t attend, here is a consolidated list of the questions we covered during the session:
- Which of the following commands is used to display available shell completion scripts for mesheryctl? *
A) mesheryctl completion
B) mesheryctl command completion
C) mesheryctl system completion
D) mesheryctl config completion - The Meshery CLI uses a config file called meshconfig. What is this configuration file primarily used for? *
A) To store Kubernetes manifests for workloads
B) To keep information about Meshery contexts, endpoints, and tokens
C) To manage performance profiles
D) To persist design patterns - How does mesheryctl identify which Meshery deployment to interact with when a command is run? *
A) By reading the kubeconfig file
B) By checking the current-context in meshconfig
C) By using the default server URL hard-coded in mesheryctl
D) By prompting the user for credentials each time - Which behavior is true of the mesheryctl system start command? *
A) It only works on Kubernetes, not Docker
B) It deploys Meshery Server and adapters locally using Docker or Kubernetes
C) It must be run with sudo privileges always
D) It resets the meshconfig file - Which framework does mesheryctl use internally to implement its CLI commands? *
A) Cobra
B) Click
C) Commander
D) Viper - Which of the following is not a command category directly supported by mesheryctl? *
A) mesheryctl perf
B) mesheryctl connection
C) mesheryctl design
D) mesheryctl metrics - What does the
mesheryctl system checkcommand primarily show? *
A) A list of all clusters connected to Meshery
B) Whether Meshery Server and adapters are running
C) Pre-deployment and post-deployment healthchecks for Meshery
D) Real-time performance test outputs - What does the mesheryctl perf profile command show? *
A) Schedules Meshery to start on system boot
B) Runs a performance test periodically based on a schedule
C) List all the available performance profiles
D) Forces retry of failed performance tests - Which of the following commands is used to view logs of the Meshery Server via the CLI? *
A) mesheryctl logs server
B) mesheryctl system logs
C) mesheryctl system view-logs
D) mesheryctl server logs - It is always necessary to build mesheryctl each time before running end-to-end BATs tests *
A) True
B) False - What are the mandatory prerequisites for running e2e tests locally? (Select All that apply) *
A) A working Meshery server and mesheryctl
B) A working installation of the BATS testing framework
C) KinD
D) jq - What command is used to refresh authentication token? *
A) mesheryctl system start
B) mesheryctl system configure
C) mesheryctl system check
D) mesheryctl system login - What is a valid location for input data for a given test? *
A) the same folder as test
B) meshery/mesheryctl
C) test/e2e//fixtures
D) test/e2e/helpers - Which among the following is used to check for existence of given substring in test? *
A) assert_output --partial
B) assert_equal
C) assert_output
D) assert_string - What does the
--configglobal flag in mesheryctl allow you to do? *
A) Specify a different Kubernetes cluster for performance tests
B) Override the default Meshery context with a custom meshconfig file
C) Change the default output format to JSON
D) Enable verbose debug logs