Microsoft Azure AZ-400 Question # 17 Topic 2 Discussion
AZ-400 Exam Topic 2 Question 17 Discussion:
Question #: 17
Topic #: 2
Task 5
For Project1, you need to create a project wiki named Wiki1 that uses the Mermaid syntax to render a diagram A sample of the desired output is stored in C:\Resources\TCPHandshake.png.
Go to Azure DevOps and sign in with your credentials.
Select Your Project:
Choose Project1 from your list of projects.
Create a Wiki:
In the left-hand menu, select Wiki.
Click on Create project wiki.
Enter the name Wiki1 and click Create.
Step 2: Add Mermaid Syntax to Render a Diagram
Open the Wiki Page:
Navigate to the newly created Wiki1.
Edit the Wiki Page:
Click on Edit to start editing the wiki page.
Insert Mermaid Diagram:
Use the following Mermaid syntax to render a diagram. For example, to render a simple flowchart, you can use:
```mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
Save the Page:
Click on Save to save your changes.
Step 3: Render the TCP Handshake Diagram
Convert TCPHandshake.png to Mermaid Syntax:
Since you have a sample diagram in C:\Resources\TCPHandshake.png, you need to convert this diagram into Mermaid syntax. Here’s an example of how a TCP handshake might look in Mermaid syntax:
```mermaid
sequenceDiagram
participant Client
participant Server
Client->>Server: SYN
Server-->>Client: SYN-ACK
Client->>Server: ACK
Add the Diagram to the Wiki:
Replace the sample Mermaid syntax with the TCP handshake diagram syntax in the wiki page.
Save the Page:
Click on Save to save your changes.
By following these steps, you will have created a project wiki named Wiki1 and used Mermaid syntax to render a diagram
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit