AIF-C01: AWS Certified AI Practitioner practice questions, page 18 of 22, with answer review and explanations.
Question 86
Which prompting attack directly exposes the configured behavior of a large language model (LLM)?
Prompted persona switches
Exploiting friendliness and trust
Ignoring the prompt template
Extracting the prompt template
Question 87
A company wants to use Amazon Bedrock. The company needs to review which security aspects the company is responsible for when using Amazon Bedrock. Which security aspect will the company be responsible for?
Patching and updating the versions of Amazon Bedrock
Protecting the infrastructure that hosts Amazon Bedrock
Securing the company's data in transit and at rest
Provisioning Amazon Bedrock within the company network
Question 88
A social media company wants to use a large language model (LLM) to summarize messages. The company has chosen a few LLMs that are available on Amazon SageMaker JumpStart. The company wants to compare the generated output toxicity of these models. Which strategy gives the company the ability to evaluate the LLMs with the LEAST operational overhead?
Crowd-sourced evaluation
Automatic model evaluation
Model evaluation with human workers
Reinforcement learning from human feedback (RLHF)
Question 89
A company is testing the security of a foundation model (FM). During testing, the company wants to get around the safety features and make harmful content. Which security technique is this an example of?
Fuzzing training data to find vulnerabilities
Denial of service (DoS)
Penetration testing with authorization
Jailbreak
Question 90
A company needs to use Amazon SageMaker for model training and inference. The company must comply with regulatory requirements to run SageMaker jobs in an isolated environment without internet access. Which solution will meet these requirements?
Run SageMaker training and inference by using SageMaker Experiments.
Run SageMaker training and Inference by using network Isolation.
Encrypt the data at rest by using encryption for SageMaker geospatial capabilities.
Associate appropriate AWS Identity and Access Management (IAM) roles with the SageMaker jobs.