Free VA-002-P Exam Braindumps (page: 20)

Page 20 of 51

What does the following API request return?
1. $ curl \
2. --header "X-Vault-Token: ..." \
3. --request POST \
4. --data @payload.json \
5. http://127.0.0.1:8200/v1/sys/tools/random/164

  1. a random string of 164 characters
  2. a random token valid for 164 uses
  3. None
  4. a secured secret based on 164 bytes of data

Answer(s): A

Explanation:

This endpoint returns high-quality random bytes of the specified length.



Which of the following is not an activity associated with the Vault transit secrets engine?

  1. encrypt
  2. decrypt
  3. update
  4. rewrap

Answer(s): C

Explanation:

Since Vault does not store any data, hence Vault transit secrets engine does not support update activity.



Which TCP port does Vault replication use?

  1. 8200
  2. 8201
  3. 8300
  4. 8301

Answer(s): B

Explanation:

Check below link for details:- https://learn.hashicorp.com/vault/operations/ops-reference- architecture



In a Consul cluster, participating nodes can be only one of two types. Select the valid types. (select two)

  1. follower
  2. secondary
  3. active
  4. primary
  5. leader
  6. passive

Answer(s): A,E

Explanation:

Within each datacenter, we have a mixture of clients and servers. It is expected that there be between three to five servers. This strikes a balance between availability in the case of failure and performance, as consensus gets progressively slower as more machines are added. However, there is no limit to the number of clients, and they can easily scale into the thousands or tens of thousands. Server or Leader - It indicates whether the agent is running in server or client mode. Server nodes participate in the consensus quorum, storing cluster state, and handling queries. At any given time, the peer set elects a single node to be the leader. The leader is responsible for ingesting new log entries, replicating to followers, and managing when an entry is considered committed. Client or Follower - Client nodes make up the majority of the cluster, and they are very lightweight as they interface with the server nodes for most operations and maintain a very little state of their own.


Reference:

https://www.consul.io/docs/internals/architecture.html



Page 20 of 51



Post your Comments and Discuss HashiCorp VA-002-P exam with other Community members:

Bruno commented on October 10, 2023
PDF is Vault, EXM is Teraform.
UNITED STATES
upvote