Please follow the following steps to create an emphermal znode:
Check if the znode /cloudxlab
exists using:
get /cloudxlab
If not, create it using the following command:
create /cloudxlab "mydata"
Check if a znode with your username exists, using:
get /cloudxlab/<<YourUsername>>
If not, create your znode inside /cloudxlab
using the following command:
create /cloudxlab/<<YourUserName>> "AHA!"
For example, if your username is john1234
, the command will look like:
create /cloudxlab/john1234 "AHA!"
Now check if it is correctly created using:
get /cloudxlab/<<YourUsername>>
Create an ephemeral znode with name "aneph" inside node created in previous exercise using the following command:
create -e /cloudxlab/<<YourUsername>>/aneph 'online-session'
If your username is john1234, the command will look like:
create -e /cloudxlab/john1234/aneph 'online-session'
Check if it is created correctly using a commands like:
(1) ls /cloudxlab/john1234
(2) get /cloudxlab/john1234/aneph
No hints are availble for this assesment
Answer is not availble for this assesment
Note - Having trouble with the assessment engine? Follow the steps listed here
Loading comments...