Hello cheesiong.yee,
Thanks for asking the Apple Support Communities about your new iMac and the cinema display brightness controls. We're happy to check this out with you.
Please start with this help article. Make sure everything is hooked up properly and the controls in System Preferences are showing correctly per the article: Connect an external display to your iMac - Apple Support
"Adjust and arrange displays. After you connect an external display or projector, use Displays preferences in System Preferences to set how the displays are arranged, turn screen mirroring on or off, and make other adjustments to color, resolution, and more."
If this is not working as the article shows it should, test if the same thing occurs in safe mode: How to use safe mode on your Mac - Apple Support
If it still is not working as described in the article above, check if the same thing occurs in a newly created unmodified test user. This isolates the issue from your account to system wide: Set up users, guests, and groups on Mac - Apple Support
Let us know the results of the testing and if it works properly in System Preferences. Thanks.