Courseiva

AWS Certified Generative AI Developer - Professional (AIP-C01) (AIP-C01) (AIP-C01) — Questions 151181

181 questions total · 3pages · All types, answers revealed

Page 2

Page 3 of 3

151
MCQmedium

You are using a Bedrock Knowledge Base. You need to ensure that the search results are highly relevant to technical documentation. Which setting should you adjust?

A.Update the S3 bucket policy
B.Change the search type to HYBRID
C.Increase the temperature
D.Change the model ID
AnswerB

Hybrid search combines keyword and semantic search for better accuracy.

Why this answer

The SearchType (e.g., HYBRID or SEMANTIC) and the filter settings can refine the relevance of retrieved chunks.

152
Multi-Selectmedium

Which TWO features of Amazon Bedrock provide governance capabilities?

Select 2 answers
A.Amazon Bedrock API Gateway integration
B.Amazon Bedrock Model Pre-training
C.Amazon Bedrock Prompt Management
D.Amazon Bedrock Auto-scaling
E.Amazon Bedrock Guardrails
AnswersC, E

Governance for prompt versioning.

Why this answer

Prompt Management and Guardrails are core governance tools.

153
Multi-Selectmedium

Which TWO approaches help optimize the costs of using Amazon Bedrock?

Select 2 answers
A.Using the most expensive model for all tasks
B.Disabling all logging
C.Purchasing Provisioned Throughput for predictable workloads
D.Selecting a smaller, more efficient model for simple tasks
E.Running every request as a separate job
AnswersC, D

Provisioned Throughput can be more cost-effective for high, steady traffic.

Why this answer

Choosing the right model for the task and using Provisioned Throughput for consistent volume are effective cost strategies.

154
Multi-Selecthard

A developer is designing a RAG system and wants to ensure high-quality retrieval. Which THREE techniques should be implemented to improve semantic search relevance?

Select 3 answers
A.Using a reranking model to score retrieved documents
B.Applying semantic chunking based on document structure
C.Increasing the vector dimension size to maximum
D.Implementing hybrid search combining keyword and vector search
E.Using only fixed-size overlap chunking
AnswersA, B, D

Reranking improves the relevance of the retrieved document set before generation.

Why this answer

Hybrid search, reranking, and semantic chunking are standard best practices for enhancing RAG retrieval accuracy.

155
MCQeasy

What is the primary purpose of the 'max_tokens' parameter in text generation?

A.To increase response accuracy
B.To improve model reasoning
C.To set the maximum output length
D.To filter out offensive language
AnswerC

Controls output length.

Why this answer

It restricts the total number of tokens the model can produce, preventing infinite or overly long generation.

156
MCQmedium

You are deploying a model using SageMaker Multi-Model Endpoints (MME). What is the primary benefit of this strategy for operational efficiency?

A.Reducing the number of instances required
B.Increasing model accuracy
C.Lowering training time
D.Enabling faster model deployment
AnswerA

Sharing instances across models improves infrastructure utilization.

Why this answer

MME allows you to host multiple models on a single set of instances, reducing the total cost by sharing resources.

157
MCQmedium

When using the Bedrock Converse API, what is the best way to include dynamic variable values in a prompt?

A.Format the string in your application code
B.Use the 'dynamic' parameter in the API call
C.Use the 'template' field in the model config
D.Pass values as a separate JSON array
AnswerA

The API accepts static strings; formatting happens in your code.

Why this answer

Use string formatting within your code to insert variables into the message text before sending the payload.

158
Multi-Selecthard

You are building an agentic application. Which THREE of the following are valid ways for an agent to perform an action?

Select 3 answers
A.Directly modifying a database table without an API
B.Invoking a Lambda function
C.Querying a Knowledge Base
D.Running a local Docker container
E.Returning a direct response to the user
AnswersB, C, E

This is the core of action groups.

Why this answer

Agents can execute Lambda functions, interact with Knowledge Bases, and return direct responses to users.

159
MCQhard

A company requires that every AI-generated document must include a watermark for traceability. How can this be handled in Bedrock?

A.Use fine-tuning to force the model to watermark
B.Use a custom post-processing Lambda function to inject metadata
C.Enable watermarking in the Bedrock console settings
D.Use AWS KMS to sign the generated text
AnswerB

For strict compliance, post-processing ensures a consistent watermark/tag is appended to outputs.

Why this answer

Bedrock does not natively watermark text; however, it supports output formats and integration with third-party tools or custom post-processing to append metadata or tracking tokens.

160
MCQeasy

A team wants to track who accessed a model and when. Which service provides this audit log?

A.AWS Config
B.Amazon GuardDuty
C.AWS CloudTrail
D.Amazon CloudWatch
AnswerC

CloudTrail captures the user identity, IP address, and API action for audit purposes.

Why this answer

AWS CloudTrail records all API calls made to AWS services, including Bedrock, creating an audit trail of identity and time.

161
Multi-Selecthard

Which THREE of the following are components of a robust AI governance framework in an AWS environment?

Select 3 answers
A.Implement Amazon Bedrock Guardrails
B.Provide all users with AdministratorAccess
C.Publicly host the model endpoint
D.Enable Bedrock Model Invocation Logging
E.Use IAM roles with least privilege access
AnswersA, D, E

Essential for content safety.

Why this answer

Governance involves auditing (CloudTrail), safety configuration (Guardrails), and access control (IAM).

162
MCQmedium

When using Bedrock Converse API, how do you handle streaming responses?

A.InvokeModelStream
B.Poll the API until finished
C.Request a callback URL
D.ConverseStream
AnswerD

The dedicated streaming API.

Why this answer

The ConverseStream operation is designed for streaming responses, providing chunks of data as they are generated.

163
MCQeasy

A company is using Amazon Bedrock to build a customer support chatbot and needs to ensure that PII is masked before the request reaches the foundation model. Which feature should the developer implement?

A.AWS KMS with envelope encryption
B.Amazon Macie
C.AWS WAF with custom regex rules
D.Amazon Bedrock Guardrails
AnswerD

Guardrails allow for the definition of PII redaction policies directly within the Bedrock workflow.

Why this answer

Amazon Bedrock Guardrails provides built-in PII redaction capabilities to identify and mask sensitive information in both prompts and responses.

164
MCQeasy

Which Amazon Bedrock feature allows developers to restrict user queries based on specific topics or harmful content categories?

A.Knowledge Base Vector Index policies
B.Cross-region inference
C.Model Invocation Logs
D.Amazon Bedrock Guardrails
AnswerD

Guardrails are specifically designed to filter sensitive topics and content.

Why this answer

Amazon Bedrock Guardrails provide a structured way to define policies that filter input and output based on topics, PII, and harmful content.

165
MCQeasy

What is the primary benefit of using a 'System Prompt' in Bedrock?

A.To bypass authentication.
B.To provide instructions that guide the model's behavior.
C.To increase the model's speed.
D.To compress the input tokens.
AnswerB

This is the core purpose of system prompts.

Why this answer

The system prompt sets the behavior and constraints for the model, ensuring consistent and safe interactions.

166
MCQmedium

An organization is deploying a RAG architecture using Amazon Bedrock and Amazon OpenSearch Serverless. The security team requires that all data remain within the VPC. How should the developer configure the integration?

A.Configure the Knowledge Base to use an S3 Gateway Endpoint only.
B.Deploy the Bedrock Knowledge Base using a PrivateLink interface endpoint for Bedrock and a VPC endpoint for OpenSearch Serverless.
C.Use a NAT Gateway to route all traffic to the Bedrock service.
D.Use an API Gateway with a WAF to restrict access to the vector store.
AnswerB

PrivateLink ensures the traffic never traverses the public internet, satisfying security requirements for sensitive data.

Why this answer

To keep traffic within the VPC, developers must configure VPC Endpoints (PrivateLink) for both Amazon Bedrock and Amazon OpenSearch Serverless.

167
Multi-Selectmedium

Which TWO metrics are natively available in Amazon CloudWatch for monitoring Bedrock model invocation performance?

Select 2 answers
A.VectorEmbeddingAccuracy
B.InvocationLatency
C.GPUUtilization
D.InvocationClientErrors
E.ModelTrainingLoss
AnswersB, D

Tracks response time.

Why this answer

InvocationLatency and InvocationClientErrors are standard metrics provided for Bedrock in CloudWatch.

168
MCQmedium

A compliance team requires that all prompts containing sensitive data be encrypted. How does Amazon Bedrock handle this during the request?

A.Bedrock only supports encrypted prompts if a VPC endpoint is used.
B.Amazon Bedrock uses TLS 1.2+ for encryption in transit.
C.The prompt must be base64 encoded.
D.The developer must manually encrypt the prompt string before calling the API.
AnswerB

All communications with Bedrock are protected by industry-standard TLS encryption.

Why this answer

Amazon Bedrock encrypts data in transit using TLS 1.2 and supports encryption at rest with KMS keys for logs and custom models.

169
MCQmedium

Your organization wants to evaluate the quality and safety of model outputs using a formal testing framework. Which service is designed for this?

A.AWS CloudWatch Synthetics
B.Amazon SageMaker Pipelines
C.AWS CodePipeline
D.Amazon Bedrock Model Evaluation
AnswerD

Model Evaluation is the tool specifically for assessing model performance, accuracy, and safety.

Why this answer

Amazon Bedrock Model Evaluation allows you to run systematic evaluations of models based on custom or built-in datasets to measure quality and safety.

170
MCQhard

When migrating an on-premises RAG system to Amazon Bedrock, how should the team handle existing vector embeddings?

A.Map the old embeddings to new dimensions using a linear function.
B.Re-embed the documents using a model supported by Amazon Bedrock.
C.Use the Bedrock Import Vector API.
D.Import existing vectors directly into the OpenSearch index.
AnswerB

Consistency in embedding models is required for accurate similarity search.

Why this answer

Existing embeddings may not be compatible with Bedrock's supported models; they must be re-embedded using a supported model like Titan Embeddings to maintain consistent vector space.

171
Multi-Selecthard

A developer is evaluating model performance for a specific task. Which THREE metrics are commonly used in the Bedrock Model Evaluation console?

Select 3 answers
A.Inference latency (time to first token).
B.S3 bucket storage size.
C.Accuracy of answers against a ground truth dataset.
D.Toxicity/Harmful content detection.
E.Number of active IAM roles.
AnswersA, C, D

Critical for performance evaluation.

Why this answer

Accuracy, latency, and toxicity are standard metrics provided in model evaluation frameworks.

172
MCQmedium

A developer is configuring a RAG system and wants to ensure the model has access to the most recent data. How should they handle updates?

A.Wait for the Bedrock service to automatically detect changes.
B.Perform a 'Sync' operation on the Knowledge Base.
C.Use a cron job to restart the inference engine.
D.Delete and recreate the knowledge base daily.
AnswerB

Sync is the native way to update the index with changes.

Why this answer

The 'Sync' operation in Knowledge Bases should be triggered whenever the source data changes in S3 to update the index.

173
MCQeasy

A developer wants to prevent the Generative AI application from producing content related to hate speech or violence. What is the most efficient configuration in Amazon Bedrock?

A.Create a custom fine-tuned model
B.Implement Amazon Bedrock Guardrails with content filters
C.Use AWS Config rules to monitor the model
D.Add a system prompt to the application code
AnswerB

Guardrails are the purpose-built tool for defining safety thresholds for output content.

Why this answer

Bedrock Guardrails allows for configuring content filters with specific thresholds for hate, sexual, violence, and self-harm content.

174
MCQhard

You are optimizing a SageMaker inference endpoint for an LLM that requires high memory bandwidth. Which instance family should you choose to balance performance and cost?

A.g5 instances
B.m5 instances
C.p4d instances
D.inf2 instances
AnswerD

Inf2 instances provide high throughput and low latency for generative AI.

Why this answer

The inf2 instances are specifically optimized for cost-effective, high-performance generative AI inference.

175
MCQmedium

When preparing data for a Knowledge Base, why is it recommended to remove PII?

A.To improve model inference speed.
B.Because the models cannot process numbers.
C.To comply with data privacy policies and reduce risk.
D.To reduce the file size.
AnswerC

Risk reduction is the primary driver for PII redaction.

Why this answer

Removing PII ensures that the vector index does not store sensitive information, minimizing the risk of data leakage.

176
Multi-Selecthard

When designing an agentic solution, which THREE aspects of security must be considered?

Select 3 answers
A.Making all API endpoints public
B.IAM least privilege
C.Sharing API keys in the prompt
D.Applying Guardrails for input/output
E.Encryption of data at rest and in transit
AnswersB, D, E

Fundamental security principle.

Why this answer

Security requires IAM least privilege, data encryption, and input safety (Guardrails).

177
MCQeasy

Which AWS service is best used to store and version control your prompt templates for Bedrock?

A.Amazon Bedrock Prompt Management
B.AWS Systems Manager Parameter Store
C.AWS CodeCommit
D.Amazon S3
AnswerA

This service is purpose-built for prompt lifecycle management.

Why this answer

Amazon Bedrock Prompt Management allows you to store, version, and share prompt templates.

178
MCQeasy

When configuring an Amazon Bedrock Knowledge Base, which setting helps optimize the retrieval process for RAG applications?

A.Increasing the number of input tokens
B.Adjusting the chunk size and overlap
C.Deleting the data source
D.Disabling encryption
AnswerB

Proper chunking directly impacts the relevance and efficiency of retrieval.

Why this answer

Selecting the appropriate embedding model and defining chunks size are key to optimizing retrieval quality and performance.

179
MCQmedium

When using the Bedrock Converse API, how do you provide multiple documents to the model for consideration?

A.Upload them to S3 and include the URL in the system message
B.Include them in the 'document' field within the messages array
C.They must be indexed in a Knowledge Base first
D.Attach them as multi-part form data in the HTTP request
AnswerB

This is the direct way to send document content.

Why this answer

The Converse API supports a 'document' field within the content structure to pass context directly.

180
MCQmedium

You are using Amazon Bedrock and need to ensure your application respects regional service quotas. Which service allows you to request a quota increase?

A.AWS Service Quotas
B.AWS IAM
C.Amazon CloudWatch
D.AWS Support Center
AnswerA

Service Quotas provides a self-service way to request limits.

Why this answer

AWS Service Quotas is the centralized service for managing and requesting increases for AWS service limits.

181
MCQhard

A firm needs to ensure that all Generative AI model training data, if used for fine-tuning, is compliant with GDPR. Where should the training data reside?

A.Region-compliant S3 buckets with restricted IAM access and encryption
B.Publicly accessible S3 buckets
C.Temporary local storage on the training instance
D.DynamoDB tables
AnswerA

Ensuring data residency (Region), access control (IAM), and encryption (KMS) is mandatory for GDPR compliance.

Why this answer

The data should be stored in S3 buckets located within the region that complies with GDPR, with appropriate encryption and access controls.

Page 2

Page 3 of 3

All pages