無料提供中のTA-002-P試験問題集で(2024年最新のPDF問題集)信頼度の高いテストエンジン [Q50-Q69]

Share

無料提供中のTA-002-P試験問題集で(2024年最新のPDF問題集)信頼度の高いテストエンジン

TA-002-PのPDFで最近更新された問題です集試験点数を伸ばそう


この試験では、Terraformの基本、リソース管理、構成構文、リモート状態管理など、幅広いトピックをカバーしています。この試験は60の複数選択の質問で構成されており、申請者はそれを完了するのに90分かかります。試験はコンピューターベースであり、任意の承認されたテストセンターで撮影できます。

 

質問 # 50
From the code below, identify the implicit dependency:

  • A. The S3 bucket labeled company_data
  • B. The AMI used for the EC2 instance
  • C. The EC2 instance labeled web_server
  • D. The EIP with an id of ami-2757f631

正解:C


質問 # 51
Terraform init can indeed be run only a few times, because, every time terraform init will initialize the project , and download all plugins from the internet repository , regardless of whether they were present or not , and this increases the waiting time

  • A. True
  • B. False

正解:B

解説:
Re-running init with modules already installed will install the sources for any modules that were added to configuration since the last init, but will not change any already-installed modules. Use -upgrade to override this behavior, updating all modules to the latest available source code.
https://www.terraform.io/docs/commands/init.html


質問 # 52
resource "aws_s3_bucket" "example" { bucket = "my-test-s3-terraform-bucket" ...} resource "aws_iam_role"
"test_role" { name = "test_role" ...}
Due to the way that the application code is written , the s3 bucket must be created before the test role is
created , otherwise there will be a problem. How can you ensure that?

  • A. This is not possible to control in terraform . Terraform will take care of it in a native way , and create a
    dependency graph that is best suited for the parallel resource creation.
  • B. Create 2 separate terraform config scripts , and run them one by one , 1 for s3 bucket , and another for
    IAM role , run the S3 bucket script first.
  • C. Add explicit dependency using depends_on . This will ensure the correct order of resource creation.
  • D. This will already be taken care of by terraform native implicit dependency. Nothing else needs to be
    done from your end.

正解:C

解説:
Explanation
Use the depends_on meta-argument to handle hidden resource dependencies that Terraform can't automatically
infer.
Explicitly specifying a dependency is only necessary when a resource relies on some other resource's behavior
but doesn't access any of that resource's data in its arguments.


質問 # 53
When using constraint expressions to signify a version of a provider, which of the following are valid provider versions that satisfy the expression found in the following code snippet: (select two)
1. terraform
2. {
3. required_providers
4. {
5. aws = "~> 1.2.0"
6. }
7. }

  • A. 1.2.9
  • B. 1.2.3
  • C. 1.3.1
  • D. 1.3.0

正解:A、B

解説:
Explanation
As your Terraform usage becomes more advanced, there are some cases where you may need to modify the Terraform state. Rather than modify the state directly, the terraform state commands can be used in many cases instead. This command is a nested subcommand, meaning that it has further subcommands.
https://www.terraform.io/docs/commands/state/index.html


質問 # 54
What feature of Terraform Cloud and/or Terraform Enterprise can you publish and maintain a set of custom
modules which can be used within your organization?

  • A. remote runs
  • B. Terraform registry
  • C. private module registry
  • D. custom VCS integration

正解:C


質問 # 55
Environment variables can be used to set variables. The environment variables must be in the format
"____"_<variablename>. Select the correct prefix string from the following list.

  • A. TF_VAR
  • B. TF_VAR_ENV
  • C. TF_VAR_
  • D. TF_CLI_ARGS

正解:C

解説:
Explanation
Environment variables can be used to set variables. The environment variables must be in the format TF_VAR_name and this will be checked last for a value. For example:
export TF_VAR_region=us-west-1
export TF_VAR_ami=ami-049d8641
export TF_VAR_alist='[1,2,3]'
export TF_VAR_amap='{ foo = "bar", baz = "qux" }'
https://www.terraform.io/docs/commands/environment-variables.html


質問 # 56
A terraform apply can not _________ infrastructure.

  • A. import
  • B. destroy
  • C. change
  • D. provision

正解:C


質問 # 57
Ric wants to enable detail logging and he wants highest verbosity of logs. Which of the following environment variable settings is correct option for him to select.

  • A. Set VAR_TF = TRACE
  • B. Set VAR_TF_LOG = TRACE
  • C. Set TF_LOG = DEBUG
  • D. Set TF_LOG = TRACE

正解:D

解説:
https://www.terraform.io/docs/internals/debugging.html


質問 # 58
Eric needs to make use of module within his terraform code. Should the module always be public and
open-source to be able to be used?

  • A. True
  • B. False

正解:B

解説:
Explanation
Terraform module need not be public and open-source. Module can be placed in -
* Local paths
* Terraform Registry
* GitHub
* Bitbucket
* Generic Git, Mercurial repositories
* HTTP URLs
* S3 buckets
* GCS buckets
https://www.terraform.io/docs/modules/sources.html


質問 # 59
Terraform works well in Windows but a Windows server is required.

  • A. True
  • B. False

正解:B

解説:
Explanation
You may see this question in actual exam. Please remember : Terraform does not require GO language to be installed as a prerequisite and it does not require a Windows Server as well.


質問 # 60
By default, where does Terraform store its state file?

  • A. remotely using Terraform Cloud
  • B. Amazon S3 bucket
  • C. shared directory
  • D. current working directory
    Explanation
    By default, the state file is stored in a local file named "terraform.tfstate", but it can also be stored remotely, which works better in a team environment.

正解:D


質問 # 61
When should you use the force-unlock command?

  • A. Your apply failed due to a state lock
  • B. You have a high priority change
  • C. Automatic unlocking failed
  • D. You see a status message that you cannot acquire the lock

正解:C

解説:
Manually unlock the state for the defined configuration.
Reference: https://www.terraform.io/docs/cli/commands/force-unlock.html


質問 # 62
Named workspaces are not a suitable isolation mechanism for strong separation between staging and
production?

  • A. True
  • B. False

正解:A

解説:
Explanation
Organizations commonly want to create a strong separation between multiple deployments of the same
infrastructure serving different development stages (e.g. staging vs. production) or different internal teams. In
this case, the backend used for each deployment often belongs to that deployment, with different credentials
and access controls. Named workspaces are not a suitable isolation mechanism for this scenario.
https://www.terraform.io/docs/state/workspaces.html#when-to-use-multiple-workspaces


質問 # 63
A "backend" in Terraform determines how state is loaded and how an operation such as apply is executed. Which of the following is not a supported backend type?

  • A. Artifactory
  • B. S3
  • C. Github
  • D. Consul
  • E. Terraform enterprise

正解:C

解説:
Github is not a supported backend type.
https://www.terraform.io/docs/backends/types/index.html


質問 # 64
You have created a main.tr Terraform configuration consisting of an application server, a database, and a load
balancer. You ran terraform apply and all resources were created successfully. Now you realize that you do not
actually need the load balancer so you run terraform destroy without any flags What will happen?

  • A. Terraform will prompt you to confirm that you want to destroy all the infrastructure
  • B. Terraform will immediately destroy all the infrastructure
  • C. Terraform will destroy the application server because it is listed first in the code
  • D. Terraform will destroy the main.tf file
  • E. Terraform will prompt you to pick which resource you want to destroy

正解:A


質問 # 65
Terraform can run on Windows or Linux, but it requires a Server version of the Windows operating system.

  • A. True
  • B. False

正解:B

解説:
Explanation
https://www.terraform.io/downloads


質問 # 66
A single terraform resource file that defines an aws_instance resource can simple be renamed to
azurerm_virtual_machine in order to switch cloud providers

  • A. True
  • B. False

正解:B

解説:
Explanation
Providers usually require some configuration of their own to specify endpoint URLs, regions, authentication
settings.
Providers Initialization can be done by either explicitly via a provider block or by adding a resource from that
provide
https://www.terraform.io/docs/configuration/providers.html


質問 # 67
What is one disadvantage of using dynamic blocks in Terraform?

  • A. Dynamic blocks can construct repeatable nested blocks
  • B. They make configuration harder to read and understand
  • C. Terraform will run more slowly
  • D. They cannot be used to loop through a list of values

正解:D


質問 # 68
Which of the following terraform subcommands could be used to remove the lock on the state for the current configuration?

  • A. Unlock
  • B. force-unlock
  • C. state-unlock
  • D. Removing the lock on a state file is not possible

正解:D

解説:
Explanation
https://www.terraform.io/docs/commands/force-unlock.html


質問 # 69
......

TA-002-P完全版問題集には無料PDF問題で合格させる:https://jp.fast2test.com/TA-002-P-premium-file.html


弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

我々の働いている時間: ( GMT 0:00-15:00 )
月曜日から土曜日まで

サポート: 現在連絡 

English Deutsch 繁体中文 한국어