exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 8 question 47 discussion

Actual exam question from Microsoft's AZ-400
Question #: 47
Topic #: 8
[All AZ-400 Questions]

HOTSPOT -
You have an Azure virtual machine named VM1 that runs Linux.
You plan to deploy the Desired State Configuration (DSC) extension to VM1.
You need to grant the Log Analytics agent the appropriate directory permissions.
How should you complete the command? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: rwx -
The Log Analytics agent for Linux runs as the omsagent user. To grant >write permission to the omsagent user, run the command setfacl -m u:omsagent:rwx /tmp.

Box 2: /tmp -
Deploying DSC to a Linux node uses the /tmp folder.
Reference:
https://docs.microsoft.com/en-us/azure/automation/automation-dsc-onboarding

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Eltooth
Highly Voted 2 years, 5 months ago
Deploying DSC to a Linux node uses the /tmp folder. Modules such as nxautomation are temporarily downloaded for verification before installing them in their appropriate locations. To ensure that modules install correctly, the Log Analytics agent for Linux needs read/write permissions on the /tmp folder. The Log Analytics agent for Linux runs as the omsagent user. To grant >write permission to the omsagent user, run the command setfacl -m u:omsagent:rwx /tmp. https://docs.microsoft.com/en-us/azure/automation/automation-dsc-onboarding#enable-azure-vms
upvoted 15 times
...
Yindave
Highly Voted 6 months, 1 week ago
(not shure if it matters as the exam will be renewed the 4th of May) Got this in the exam today(26-04-2024) The command is available in the Learn website available in the exam, so you could look and find the exact answer with the open book/Microsoft Learn button. https://learn.microsoft.com/en-us/azure/automation/automation-dsc-onboarding
upvoted 6 times
...
vsvaid
Most Recent 10 months, 1 week ago
Correct answer
upvoted 1 times
...
Kent_020
1 year ago
Read ->R Write -> W Execute -> X
upvoted 3 times
...
Fal991l
1 year, 6 months ago
The selected text states that when deploying Desired State Configuration (DSC) to a Linux node, the `/tmp` folder is used. DSC is a configuration management platform that allows you to define the desired state of your infrastructure and automatically apply that state to your nodes. When deploying DSC to a Linux node, the `/tmp` folder is used as a temporary location for storing files and scripts that are required during the deployment process.
upvoted 1 times
Fal991l
1 year, 6 months ago
To grant the Log Analytics agent the appropriate directory permissions, you should complete the command as follows: `setfacl -m u:omsagent:rwx /etc/opt/microsoft/omsagent/sysconf/omsagent.d/`. This command grants the `omsagent` user read, write, and execute (`rwx`) permissions on the `/etc/opt/microsoft/omsagent/sysconf/omsagent.d/` directory.
upvoted 2 times
...
...
syu31svc
2 years, 2 months ago
Answer is correct and link supports it clearly
upvoted 4 times
...
jay158
2 years, 6 months ago
Correct rwx /tmp https://docs.microsoft.com/en-us/azure/automation/automation-dsc-onboarding
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago