0
0
Azurecloud~20 mins

Azure Artifacts for packages - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Azure Artifacts Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
service_behavior
intermediate
2:00remaining
How does Azure Artifacts handle package versioning?

Azure Artifacts allows teams to manage package versions. Which statement best describes how Azure Artifacts handles package versioning?

AAzure Artifacts enforces unique version numbers per package and prevents overwriting existing versions in a feed.
BAzure Artifacts allows multiple packages with the same version number to coexist in the same feed without restrictions.
CAzure Artifacts automatically overwrites existing package versions with the same version number when a new package is published.
DAzure Artifacts deletes older package versions automatically when a new version is published.
Attempts:
2 left
💡 Hint

Think about how package versioning helps avoid confusion and conflicts in software development.

Architecture
intermediate
2:00remaining
Choosing the right feed type in Azure Artifacts

You want to share packages internally within your organization but also allow public access to some packages. Which Azure Artifacts feed type setup supports this scenario?

ACreate a single public feed and share all packages there, including internal ones.
BCreate one private feed for internal packages and a separate public feed for packages meant for public access.
CUse only private feeds and share access tokens with external users for public packages.
DCreate multiple private feeds and manually copy packages to a public GitHub repository.
Attempts:
2 left
💡 Hint

Consider separation of access and security for internal vs public packages.

security
advanced
2:00remaining
Securing access to Azure Artifacts feeds

Which method provides the most secure way to restrict access to an Azure Artifacts feed to only specific users or groups?

ADisable authentication and rely on network firewall rules to restrict access to the feed.
BUse personal access tokens (PATs) shared via email to all users who need access.
CShare the feed URL publicly but require users to authenticate with any Microsoft account.
DUse feed-level permissions to grant read and contribute access only to selected Azure Active Directory groups.
Attempts:
2 left
💡 Hint

Think about managing permissions centrally and securely.

Configuration
advanced
2:00remaining
Configuring upstream sources in Azure Artifacts

You want your Azure Artifacts feed to automatically fetch packages from public registries like npmjs.org when they are not found in your feed. How do you configure this behavior?

AEnable upstream sources in the feed settings and add npmjs.org as an upstream source.
BManually download packages from npmjs.org and upload them to your feed.
CConfigure a build pipeline to proxy requests to npmjs.org on demand.
DUse a separate feed for public packages and merge it with your private feed.
Attempts:
2 left
💡 Hint

Look for a feature that allows automatic fetching from external registries.

Best Practice
expert
3:00remaining
Optimizing package retention policies in Azure Artifacts

Your organization wants to keep the feed size manageable by automatically deleting old package versions but must retain versions used in active releases. Which approach best achieves this?

ADisable retention policies and rely on storage quotas to limit feed size.
BManually delete old package versions weekly based on developer feedback.
CSet retention policies to delete unreferenced package versions older than a specified age, preserving those linked to active releases.
DConfigure retention policies to delete all package versions older than 30 days regardless of usage.
Attempts:
2 left
💡 Hint

Consider how to balance cleanup with preserving important versions.