AZ-104 Practice Question 80: Log Analytics Table Retention

Microsoft Azure Administrator Associate (AZ-104) · Test 8 · question 10 of 10

Monitoring & Backupmedium

Security events in a Log Analytics table must be queryable interactively for 90 days. Compliance requires that they are kept for two years, and the cost should be as low as possible. Other tables in the workspace need only 30 days.

What should the administrator configure?

Select one answer
Show answer and explanation

Answer:

  • D. Set the retention of the table to 90 days and its total retention to 730 days

Retention can be set per table. Interactive retention (90 days) keeps the data in the fast tier, and a longer total retention (730 days) keeps the remainder in low-cost long-term retention that can be searched or restored when needed. Other tables keep their own settings.

Option A raises interactive retention for every table, so it pays for far more than required.

Option B duplicates the data and adds a workspace to manage.

Option C is wrong because the Basic logs plan lowers ingestion cost and limits queries, and it does not remove storage cost or meet the 90-day interactive query need.

Reference: Configure data retention and archive policies in Azure Monitor Logs

Practice Test 8 ›

Study guides for AZ-104