# Elasticsearch Engineer official course Module1 "information Out" questions: 21-22-23 there are no answers for validation

**URL:** <https://discuss.elastic.co/t/elasticsearch-engineer-official-course-module1-information-out-questions-21-22-23-there-are-no-answers-for-validation/304129>\
**Category:** Elastic Training\
**Created:** [May 6, 2022, 1:01pm UTC](https://discuss.elastic.co/t/elasticsearch-engineer-official-course-module1-information-out-questions-21-22-23-there-are-no-answers-for-validation/304129 "2022-05-06T13:01:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![husoelasticbe](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@husoelasticbe](https://discuss.elastic.co/u/husoelasticbe)\
**Post date:** [May 6, 2022, 1:01pm UTC](https://discuss.elastic.co/t/elasticsearch-engineer-official-course-module1-information-out-questions-21-22-23-there-are-no-answers-for-validation/304129/1 "2022-05-06T13:01:43Z")

</div>

Dear team,  
I am doing the official course online ( Elasticsearch Engineer) and I would like to validate my answers for the  
Elasticsearch Engineer Lab - Information out - questions: 21 - 22 - 23 "exam prep"

I don't see "show answer" button to validate my answer. Is it on purpose or something is wrong? Because there were not much info during the learning video regarding user privilege (security).

Thank you for your help

---

<div class="post-metadata">

**Author:** ![abdon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abdon/32/9195_2.png) [@abdon](https://discuss.elastic.co/u/abdon)\
**Post date:** [May 9, 2022, 7:39am UTC](https://discuss.elastic.co/t/elasticsearch-engineer-official-course-module1-information-out-questions-21-22-23-there-are-no-answers-for-validation/304129/2 "2022-05-09T07:39:13Z")

</div>

If question 23 has the desired effect ("Notice that the only successful command is the `_search` request"), then you know you have done exercises 21 and 22 correctly.

---

<div class="post-metadata">

**Author:** ![husoelasticbe](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@husoelasticbe](https://discuss.elastic.co/u/husoelasticbe)\
**Post date:** [May 21, 2022, 10:24am UTC](https://discuss.elastic.co/t/elasticsearch-engineer-official-course-module1-information-out-questions-21-22-23-there-are-no-answers-for-validation/304129/3 "2022-05-21T10:24:36Z")

</div>

Hi abton,  
here are the questions from the training: (I sent an email but no answer so far:)

1. **EXAM PREP:** Create a user with restricted access to your Elasticsearch cluster. Begin by creating a new role. From the Kibana navigation menu, select **Stack Management** (under Management). The Security section has options to configure users, roles and API keys. Create a new role named **read\_only** that satisfies the following criteria:

- the user has no cluster privileges
- the user has access to indices that match the pattern `*`
- the index privileges are only `read`

1. **EXAM PREP:** Create a new user named **read\_only\_user** that satisfies the following criteria:

- password is "nonprodpwd"
- enter **Read Only User** for the name of the user
- use your own email address
- assign the user to two roles: `read_only` and `kibana_admin` **NOTE** : Make sure to add the `kibana_admin` role, otherwise you won’t be able to log in to Kibana with read\_only\_user.

1. Log out of Kibana and login again as **read\_only\_user**. Navigate to the Console and run the commands below. Notice that the only successful command is the `_search` request, as it only reads data.

```auto
GET /

GET _search

PUT new_index/_doc/1
{
    "security_test": "this will fail"
}

```

can you please help with this?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Romain\_Geffraye](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/romain_geffraye/32/77053_2.png) [@Romain\_Geffraye](https://discuss.elastic.co/u/Romain_Geffraye)\
**Post date:** [May 23, 2022, 9:13am UTC](https://discuss.elastic.co/t/elasticsearch-engineer-official-course-module1-information-out-questions-21-22-23-there-are-no-answers-for-validation/304129/4 "2022-05-23T09:13:04Z")

</div>

Hello @husoelasticbe,

As explained by Abdon, the best way to validate your answer is to take a look at the output of questions number 3:

`GET /` -\> This one should fail: you don't have the privilege to execute this request.  
`GET _search` -\> This one should work as you have read access to all indices  
`PUT new_index/_doc/1` -\> This one should fail as you only have read privileges, you cannot write any data with this user

---

<div class="post-metadata">

**Author:** ![husoelasticbe](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@husoelasticbe](https://discuss.elastic.co/u/husoelasticbe)\
**Post date:** [May 26, 2022, 1:31pm UTC](https://discuss.elastic.co/t/elasticsearch-engineer-official-course-module1-information-out-questions-21-22-23-there-are-no-answers-for-validation/304129/5 "2022-05-26T13:31:10Z")

</div>

Thank you for your answer. Actually in module, they didn't mention not many things around restriction of accesses, maybe in other modules.

Have lovely days

Ps: this topic might be closed.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 25, 2022, 1:31pm UTC](https://discuss.elastic.co/t/elasticsearch-engineer-official-course-module1-information-out-questions-21-22-23-there-are-no-answers-for-validation/304129/6 "2022-06-25T13:31:26Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
